Alias, Delete,
Substitute, AnnotateOriginal, or KeepOriginal.
See TargetClass for an overview of the annotation system.
| Modifier and Type | Field and Description |
|---|---|
| public static final String |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Class | onlyWith()
Substitute only if all provided predicates are true (default: unconditional substitution that is always included). |
| CONSTRUCTOR_NAME | back to summary |
|---|---|
public static final String CONSTRUCTOR_NAME
| |
| name | back to summary |
|---|---|
| public String name() The name of the field or method in the original class. If the default value is specified for this element, then the name of the annotated field or method is used.
To make a reference to a constructor, use the name
| |
| onlyWith | back to summary |
|---|---|
| public Class Substitute only if all provided predicates are true (default: unconditional substitution that
is always included).
The classes must either implement
| |