FileDocCategorySizeDatePackage
IFNULL.javaAPI DocJava SE 6 API3869Tue Jun 10 00:22:20 BST 2008com.sun.org.apache.bcel.internal.generic

IFNULL

public class IFNULL extends IfInstruction
IFNULL - Branch if reference is not null
Stack: ..., reference -> ...
version
$Id: IFNULL.java,v 1.1.2.1 2005/07/31 23:45:09 jeffsuttor Exp $
author
M. Dahm

Fields Summary
Constructors Summary
IFNULL()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). Not to be used otherwise.

public IFNULL(InstructionHandle target)

    super(com.sun.org.apache.bcel.internal.Constants.IFNULL, target);
  
Methods Summary
public voidaccept(com.sun.org.apache.bcel.internal.generic.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.

param
v Visitor object

    v.visitStackConsumer(this);
    v.visitBranchInstruction(this);
    v.visitIfInstruction(this);
    v.visitIFNULL(this);
  
public com.sun.org.apache.bcel.internal.generic.IfInstructionnegate()

return
negation of instruction

    return new IFNONNULL(target);