public static enum MethodCall.MethodLocator.ForInstrumentedMethod extends Enum<MethodCall.MethodLocator.ForInstrumentedMethod> implements MethodCall.MethodLocator
MethodCall.MethodLocator.ForExplicitMethod, MethodCall.MethodLocator.ForInstrumentedMethod| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
MethodDescription |
resolve(MethodDescription instrumentedMethod)
Resolves the method to be invoked.
|
String |
toString() |
static MethodCall.MethodLocator.ForInstrumentedMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodCall.MethodLocator.ForInstrumentedMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodCall.MethodLocator.ForInstrumentedMethod INSTANCE
public static MethodCall.MethodLocator.ForInstrumentedMethod[] values()
for (MethodCall.MethodLocator.ForInstrumentedMethod c : MethodCall.MethodLocator.ForInstrumentedMethod.values()) System.out.println(c);
public static MethodCall.MethodLocator.ForInstrumentedMethod valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic MethodDescription resolve(MethodDescription instrumentedMethod)
MethodCall.MethodLocatorresolve in interface MethodCall.MethodLocatorinstrumentedMethod - The method being instrumented.public String toString()
toString in class Enum<MethodCall.MethodLocator.ForInstrumentedMethod>Copyright © 2014–2016. All rights reserved.