aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/processor/annotations/Patch.java
diff options
context:
space:
mode:
author zaaarf <me@zaaarf.foo>2024-06-04 20:03:51 +0200
committer zaaarf <me@zaaarf.foo>2024-06-04 20:03:51 +0200
commit4d330a731bf44bcca291a23407c06ed063193921 (patch)
treedad468e37c33fcc264a49ce0c73a0d3b763ab034 /src/main/java/ftbsc/lll/processor/annotations/Patch.java
parentf8bf9996c92d15ee8499bda25f0a23070a6f7752 (diff)
feat: better inner classes api, removed deprecation warnings since that stuff is there to stayHEAD0.7.0dev
Diffstat (limited to 'src/main/java/ftbsc/lll/processor/annotations/Patch.java')
-rw-r--r--src/main/java/ftbsc/lll/processor/annotations/Patch.java13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/main/java/ftbsc/lll/processor/annotations/Patch.java b/src/main/java/ftbsc/lll/processor/annotations/Patch.java
index 1254663..55715ef 100644
--- a/src/main/java/ftbsc/lll/processor/annotations/Patch.java
+++ b/src/main/java/ftbsc/lll/processor/annotations/Patch.java
@@ -20,12 +20,13 @@ public @interface Patch {
Class<?> value();
/**
- * This is the inner class name to append after a $ symbol to the already acquired
- * fully-qualified name. If it's a number instead of a valid name, the class will be
- * treated as an anonymous class, and will therefore be automatically unverified.
- * @return the name of the inner class that contains the target, defaults to empty
- * string (not an inner class)
+ * This contains the inner class name(s) to append, separated by a $ symbol, to the already
+ * acquired fully-qualified name.
+ * If a number is provided instead of a valid name, the class will be treated as an
+ * anonymous class, and will therefore be skipped in verification.
+ * @return the name or path of the inner class that contain the target, defaults to array containing
+ * a single empty string (not an inner class)
* @since 0.5.0
*/
- String innerName() default "";
+ String[] inner() default {};
}