aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/processor/annotations/Patch.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/ftbsc/lll/processor/annotations/Patch.java')
-rw-r--r--src/main/java/ftbsc/lll/processor/annotations/Patch.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/ftbsc/lll/processor/annotations/Patch.java b/src/main/java/ftbsc/lll/processor/annotations/Patch.java
index e0472da..f5d2698 100644
--- a/src/main/java/ftbsc/lll/processor/annotations/Patch.java
+++ b/src/main/java/ftbsc/lll/processor/annotations/Patch.java
@@ -17,15 +17,15 @@ public @interface Patch {
/**
* @return the {@link Class} to target for patching
*/
- Class<?> value() default Object.class;
+ Class<?> value();
/**
- * This can be either the fully-qualified name to be used in place of {@link #value()}
- * or an inner class name to append after a $ symbol to the already acquired
- * fully-qualified name.
+ * 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)
* @since 0.5.0
*/
- String className() default "";
+ String innerClass() default "";
}