public static enum InvokeDynamic.TerminationHandler.ForMethodReturn extends Enum<InvokeDynamic.TerminationHandler.ForMethodReturn> implements InvokeDynamic.TerminationHandler
InvokeDynamic.TerminationHandler.ForChainedInvocation, InvokeDynamic.TerminationHandler.ForMethodReturn| Enum Constant and Description | 
|---|
| INSTANCEThe singleton instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| StackManipulation | resolve(MethodDescription interceptedMethod,
       TypeDescription returnType,
       Assigner assigner,
       boolean dynamicallyTyped)Returns a stack manipulation that handles the method return. | 
| String | toString() | 
| static InvokeDynamic.TerminationHandler.ForMethodReturn | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static InvokeDynamic.TerminationHandler.ForMethodReturn[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final InvokeDynamic.TerminationHandler.ForMethodReturn INSTANCE
public static InvokeDynamic.TerminationHandler.ForMethodReturn[] values()
for (InvokeDynamic.TerminationHandler.ForMethodReturn c : InvokeDynamic.TerminationHandler.ForMethodReturn.values()) System.out.println(c);
public static InvokeDynamic.TerminationHandler.ForMethodReturn 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 StackManipulation resolve(MethodDescription interceptedMethod, TypeDescription returnType, Assigner assigner, boolean dynamicallyTyped)
InvokeDynamic.TerminationHandlerresolve in interface InvokeDynamic.TerminationHandlerinterceptedMethod - The method being intercepted.returnType - The return type of the instrumented method.assigner - The assigner to use.dynamicallyTyped - true if the assigner should attempt to apply dynamic type conversion.public String toString()
toString in class Enum<InvokeDynamic.TerminationHandler.ForMethodReturn>Copyright © 2014–2015. All rights reserved.