aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--api/OneConfig.api6
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/config/migration/VigilanceMigrator.java2
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/config/migration/VigilanceName.java (renamed from src/main/java/cc/polyfrost/oneconfig/internal/config/compatibility/vigilance/VigilanceName.java)2
3 files changed, 7 insertions, 3 deletions
diff --git a/api/OneConfig.api b/api/OneConfig.api
index c2a4b33..24a9286 100644
--- a/api/OneConfig.api
+++ b/api/OneConfig.api
@@ -343,6 +343,12 @@ public class cc/polyfrost/oneconfig/config/migration/VigilanceMigrator : cc/poly
protected fun parse (Ljava/lang/String;)Ljava/lang/String;
}
+public abstract interface annotation class cc/polyfrost/oneconfig/config/migration/VigilanceName : java/lang/annotation/Annotation {
+ public abstract fun category ()Ljava/lang/String;
+ public abstract fun name ()Ljava/lang/String;
+ public abstract fun subcategory ()Ljava/lang/String;
+}
+
public class cc/polyfrost/oneconfig/config/profiles/Profiles {
public static final field nonProfileSpecificDir Ljava/io/File;
public static final field profileDir Ljava/io/File;
diff --git a/src/main/java/cc/polyfrost/oneconfig/config/migration/VigilanceMigrator.java b/src/main/java/cc/polyfrost/oneconfig/config/migration/VigilanceMigrator.java
index aed1919..1397ef9 100644
--- a/src/main/java/cc/polyfrost/oneconfig/config/migration/VigilanceMigrator.java
+++ b/src/main/java/cc/polyfrost/oneconfig/config/migration/VigilanceMigrator.java
@@ -1,7 +1,5 @@
package cc.polyfrost.oneconfig.config.migration;
-import cc.polyfrost.oneconfig.internal.config.compatibility.vigilance.VigilanceName;
-
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
diff --git a/src/main/java/cc/polyfrost/oneconfig/internal/config/compatibility/vigilance/VigilanceName.java b/src/main/java/cc/polyfrost/oneconfig/config/migration/VigilanceName.java
index ff84d3c..d9db17e 100644
--- a/src/main/java/cc/polyfrost/oneconfig/internal/config/compatibility/vigilance/VigilanceName.java
+++ b/src/main/java/cc/polyfrost/oneconfig/config/migration/VigilanceName.java
@@ -1,4 +1,4 @@
-package cc.polyfrost.oneconfig.internal.config.compatibility.vigilance;
+package cc.polyfrost.oneconfig.config.migration;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;