public static enum MethodDelegation.ImplementationDelegate.ForStaticMethod extends Enum<MethodDelegation.ImplementationDelegate.ForStaticMethod> implements MethodDelegation.ImplementationDelegate
MethodDelegation.ImplementationDelegate.ForConstruction, MethodDelegation.ImplementationDelegate.ForInstanceField, MethodDelegation.ImplementationDelegate.ForStaticField, MethodDelegation.ImplementationDelegate.ForStaticMethod| Enum Constant and Description | 
|---|
INSTANCE
The singleton instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
MethodDelegationBinder.MethodInvoker | 
getMethodInvoker(TypeDescription instrumentedType)
Returns the method invoker responsible for invoking the delegation method. 
 | 
StackManipulation | 
getPreparingStackAssignment(TypeDescription instrumentedType)
Returns the stack manipulation responsible for preparing the instance representing the implementation. 
 | 
InstrumentedType | 
prepare(InstrumentedType instrumentedType)
Prepares the instrumented type. 
 | 
String | 
toString()  | 
static MethodDelegation.ImplementationDelegate.ForStaticMethod | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static MethodDelegation.ImplementationDelegate.ForStaticMethod[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final MethodDelegation.ImplementationDelegate.ForStaticMethod INSTANCE
public static MethodDelegation.ImplementationDelegate.ForStaticMethod[] values()
for (MethodDelegation.ImplementationDelegate.ForStaticMethod c : MethodDelegation.ImplementationDelegate.ForStaticMethod.values()) System.out.println(c);
public static MethodDelegation.ImplementationDelegate.ForStaticMethod 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 InstrumentedType prepare(InstrumentedType instrumentedType)
MethodDelegation.ImplementationDelegateprepare in interface MethodDelegation.ImplementationDelegateinstrumentedType - The instrumented type to be prepared.public StackManipulation getPreparingStackAssignment(TypeDescription instrumentedType)
MethodDelegation.ImplementationDelegategetPreparingStackAssignment in interface MethodDelegation.ImplementationDelegateinstrumentedType - A description of the instrumented type to which the implementation is applied.public MethodDelegationBinder.MethodInvoker getMethodInvoker(TypeDescription instrumentedType)
MethodDelegation.ImplementationDelegategetMethodInvoker in interface MethodDelegation.ImplementationDelegateinstrumentedType - The instrumented type to which the implementation is applied.public String toString()
toString in class Enum<MethodDelegation.ImplementationDelegate.ForStaticMethod>Copyright © 2014–2016. All rights reserved.