|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectserp.bytecode.Instruction
serp.bytecode.JumpInstruction
serp.bytecode.IfInstruction
public class IfInstruction
An if instruction such as ifnull, ifeq, etc.
| Method Summary | |
|---|---|
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. |
java.lang.String |
getTypeName()
|
| Methods inherited from class serp.bytecode.JumpInstruction |
|---|
equalsInstruction, getOffset, getTarget, replaceTarget, setOffset, setTarget, updateTargets |
| Methods inherited from class serp.bytecode.Instruction |
|---|
getByteIndex, getClassLoader, getCode, getLineNumber, getLogicalStackChange, getName, getOpcode, getPool, getProject, isValid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface serp.bytecode.InstructionPtr |
|---|
getCode |
| Method Detail |
|---|
public int getStackChange()
Instruction
getStackChange in class Instructionpublic java.lang.String getTypeName()
public void acceptVisit(BCVisitor visit)
VisitAcceptorBCVisitor, 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 VisitAcceptoracceptVisit in class JumpInstruction
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||