public @interface MethodSpec
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
className
The fully qualified class name of the method.
|
java.lang.String |
methodName
The name of the method.
|
java.lang.String[] |
parameterTypes
The array of all parameter types that the method declares.
|
java.lang.String |
returnType
The return type that the method declares.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
subtypes
If
false , only the method contained in className() will be instrumented. |
public abstract java.lang.String className
public abstract java.lang.String methodName
<init>
.public abstract java.lang.String[] parameterTypes
public abstract java.lang.String returnType
public abstract boolean subtypes
false
, only the method contained in className()
will be instrumented.
If true
, the matching methods in className()
and all its subtypes will be instrumented.