@Retention(value=RUNTIME) @Target(value=METHOD) public @interface MethodSubstitution
Modifier and Type | Optional Element and Description |
---|---|
Class<? extends SubstitutionGuard> |
guard
Determines if the substitution is globally enabled.
|
boolean |
isStatic
Determines if the original method is static.
|
boolean |
optional
Determines if the substitution is for a method that may not be part of the runtime.
|
String |
signature
Gets the signature of the original method.
|
String |
value
Gets the name of the original method.
|
public abstract boolean isStatic
public abstract boolean optional
public abstract Class<? extends SubstitutionGuard> guard