@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.
|
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.
|
boolean |
unchecked
When set to true, tells the processor to avoid any attempts at verifying the existence of the
given method.
|
public abstract java.lang.String of
public abstract java.lang.String methodName
public abstract boolean unchecked
methodName(), but ignore all other modifiers
(like strict()).public abstract boolean strict