public static enum MethodCall.MethodLocator.ForInterceptedMethod extends Enum<MethodCall.MethodLocator.ForInterceptedMethod> implements MethodCall.MethodLocator
MethodCall.MethodLocator.ForExplicitMethod, MethodCall.MethodLocator.ForInterceptedMethod| 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.ForInterceptedMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodCall.MethodLocator.ForInterceptedMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodCall.MethodLocator.ForInterceptedMethod INSTANCE
public static MethodCall.MethodLocator.ForInterceptedMethod[] values()
for (MethodCall.MethodLocator.ForInterceptedMethod c : MethodCall.MethodLocator.ForInterceptedMethod.values()) System.out.println(c);
public static MethodCall.MethodLocator.ForInterceptedMethod 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.ForInterceptedMethod>Copyright © 2014–2015. All rights reserved.