public class IfInstruction extends JumpInstruction
ifnull, ifeq
, etc.Modifier and Type | Method and Description |
---|---|
void |
acceptVisit(BCVisitor visit)
Accept a visit from a
BCVisitor , calling the appropriate methods
to notify the visitor that it has entered this entity, and
to provide it with the proper callbacks for each sub-entity owned
by this one. |
int |
getStackChange()
Return the number of stack positions this instruction pushes
or pops during its execution.
|
String |
getTypeName() |
equalsInstruction, getOffset, getTarget, replaceTarget, setOffset, setTarget, updateTargets
getByteIndex, getClassLoader, getCode, getLineNumber, getLogicalStackChange, getName, getOpcode, getPool, getProject, isValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCode
public int getStackChange()
Instruction
getStackChange
in class Instruction
public String getTypeName()
public void acceptVisit(BCVisitor visit)
VisitAcceptor
BCVisitor
, calling the appropriate methods
to notify the visitor that it has entered this entity, and
to provide it with the proper callbacks for each sub-entity owned
by this one.acceptVisit
in interface VisitAcceptor
acceptVisit
in class JumpInstruction
Copyright © 2002–2019. All rights reserved.