public static enum MethodVariableAccess.TypeCastingHandler.NoOp extends Enum<MethodVariableAccess.TypeCastingHandler.NoOp> implements MethodVariableAccess.TypeCastingHandler
MethodVariableAccess.TypeCastingHandler
that merely returns the given stack manipulation.MethodVariableAccess.TypeCastingHandler.ForBridgeTarget, MethodVariableAccess.TypeCastingHandler.NoOp| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static MethodVariableAccess.TypeCastingHandler.NoOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodVariableAccess.TypeCastingHandler.NoOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
StackManipulation |
wrapNext(StackManipulation variableAccess,
TypeDescription parameterType)
Returns the given stack manipulation while possibly wrapping the operation by a type casting
if this is required.
|
public static final MethodVariableAccess.TypeCastingHandler.NoOp INSTANCE
public static MethodVariableAccess.TypeCastingHandler.NoOp[] values()
for (MethodVariableAccess.TypeCastingHandler.NoOp c : MethodVariableAccess.TypeCastingHandler.NoOp.values()) System.out.println(c);
public static MethodVariableAccess.TypeCastingHandler.NoOp 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 wrapNext(StackManipulation variableAccess, TypeDescription parameterType)
MethodVariableAccess.TypeCastingHandlerwrapNext in interface MethodVariableAccess.TypeCastingHandlervariableAccess - The stack manipulation that represents the variable access.parameterType - The type of the loaded variable that is represented by the stack manipulation.public String toString()
toString in class Enum<MethodVariableAccess.TypeCastingHandler.NoOp>Copyright © 2014–2015. All rights reserved.