diff options
Diffstat (limited to 'src/main/java/ftbsc/lll/processor/annotations/FindField.java')
-rw-r--r-- | src/main/java/ftbsc/lll/processor/annotations/FindField.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/ftbsc/lll/processor/annotations/FindField.java b/src/main/java/ftbsc/lll/processor/annotations/FindField.java index 40de173..4063c17 100644 --- a/src/main/java/ftbsc/lll/processor/annotations/FindField.java +++ b/src/main/java/ftbsc/lll/processor/annotations/FindField.java @@ -9,8 +9,6 @@ import java.lang.annotation.RetentionPolicy; /** * Overrides the marked method in the Injector, having the * implementation return a built {@link FieldProxy}. - * @implNote if name is omitted, name of the annotated method - * is used. * @since 0.2.0 */ @Retention(RetentionPolicy.CLASS) @@ -24,8 +22,9 @@ public @interface FindField { Class<?> parent() default Object.class; /** + * The name of the field to find. If omitted, the name of the annotated + * method will be used. * @return the name of the field, will default to the empty string - * (the name of the annotated method will instead be used) */ String name() default ""; } |