mirror of
https://github.com/zaaarf/lillero-processor.git
synced 2024-11-14 05:39:19 +01:00
chore: forgot to delete FindField
This commit is contained in:
parent
a96417ece9
commit
c446cca43e
1 changed files with 0 additions and 30 deletions
|
@ -1,30 +0,0 @@
|
||||||
package ftbsc.lll.processor.annotations;
|
|
||||||
|
|
||||||
import ftbsc.lll.proxies.FieldProxy;
|
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
|
||||||
import java.lang.annotation.Retention;
|
|
||||||
import java.lang.annotation.RetentionPolicy;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Overrides the marked method in the Injector, having the
|
|
||||||
* implementation return a built {@link FieldProxy}.
|
|
||||||
* @since 0.2.0
|
|
||||||
*/
|
|
||||||
@Retention(RetentionPolicy.CLASS)
|
|
||||||
@java.lang.annotation.Target(ElementType.METHOD)
|
|
||||||
public @interface FindField {
|
|
||||||
/**
|
|
||||||
* @return the {@link Class} object containing the desired field,
|
|
||||||
* or the {@link Object} class if not specified (the {@link Class}
|
|
||||||
* from {@link Patch#value()} is instead used)
|
|
||||||
*/
|
|
||||||
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
|
|
||||||
*/
|
|
||||||
String name() default "";
|
|
||||||
}
|
|
Loading…
Reference in a new issue