org.apache.bcel.generic

Class ACONST_NULL

public class ACONST_NULL extends Instruction implements PushInstruction, TypedInstruction

ACONST_NULL - Push null reference
Stack: ... -> ..., null
Constructor Summary
ACONST_NULL()
Push null reference
Method Summary
voidaccept(Visitor v)
Call corresponding visitor method(s).
TypegetType(ConstantPoolGen cp)

Constructor Detail

ACONST_NULL

public ACONST_NULL()
Push null reference

Method Detail

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.

Parameters: v Visitor object

getType

public Type getType(ConstantPoolGen cp)

Returns: Type.NULL