Class ACONST_NULL

java.lang.Object
org.apache.bcel.generic.Instruction
org.apache.bcel.generic.ACONST_NULL
All Implemented Interfaces:
Cloneable, PushInstruction, StackProducer, TypedInstruction

public class ACONST_NULL extends Instruction implements PushInstruction, TypedInstruction
ACONST_NULL - Push null reference
 Stack: ... -> ..., null
 
  • Constructor Details

    • ACONST_NULL

      public ACONST_NULL()
      Push null reference
  • Method Details

    • accept

      public void accept(Visitor v)
      Call corresponding visitor method(s). The order is: Call visitor methods of implemented interfaces first, then call methods according to the class hierarchy in descending order, i.e., the most specific visitXXX() call comes last.
      Specified by:
      accept in class Instruction
      Parameters:
      v - Visitor object
    • getType

      Specified by:
      getType in interface TypedInstruction
      Returns:
      Type.NULL