public enum NullConstant extends Enum<NullConstant> implements StackManipulation
null pointer onto the operand stack.StackManipulation.Compound, StackManipulation.Illegal, StackManipulation.LegalTrivial, StackManipulation.Size| Enum Constant and Description | 
|---|
| INSTANCEThe singleton instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| StackManipulation.Size | apply(org.objectweb.asm.MethodVisitor methodVisitor,
     Implementation.Context implementationContext)Applies the stack manipulation that is described by this instance. | 
| boolean | isValid()Determines if this stack manipulation is valid. | 
| String | toString() | 
| static NullConstant | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static NullConstant[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final NullConstant INSTANCE
public static NullConstant[] values()
for (NullConstant c : NullConstant.values()) System.out.println(c);
public static NullConstant 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 boolean isValid()
StackManipulationisValid in interface StackManipulationfalse, this manipulation cannot be applied and should throw an exception.public StackManipulation.Size apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext)
StackManipulationapply in interface StackManipulationmethodVisitor - The method visitor used to write the method implementation to.implementationContext - The context of the current implementation.public String toString()
toString in class Enum<NullConstant>Copyright © 2014–2015. All rights reserved.