@Retention(value=CLASS) @Repeatable(value=Target.List.class) @Target(value=METHOD) public @interface Target
Patch
and at least another method within the class is annotated with Injector
.Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
of
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
bridge
When set to true, tells the processor to try to match the synthetic "bridge" method
generated by the compiler to handle type erasure.
|
boolean |
lookForParent
Deprecated.
This is meant as a temporary workaround and will be removed in an upcoming
patch as better logic for parent-lookup in mappings is introduced. When that
happens, setting this to false will be rendered moot, so you can just remove
this from your annotations.
|
java.lang.String |
methodName
Provides a name to be used instead of the stub's.
|
boolean |
strict
When set to false, tells the processor to first try to match a single method by name,
and to only check parameters if further clarification is needed.
|
public abstract java.lang.String of
public abstract java.lang.String methodName
public abstract boolean strict
public abstract boolean bridge
@Deprecated public abstract boolean lookForParent
Overridden
or, if your mappings
are specific enough, to merely disable this.