org.apache.bcel.generic
Class JsrInstruction
- java.lang.Object
-
- org.apache.bcel.generic.Instruction
-
- org.apache.bcel.generic.BranchInstruction
-
- org.apache.bcel.generic.JsrInstruction
-
- All Implemented Interfaces:
- java.lang.Cloneable, InstructionTargeter, StackProducer, TypedInstruction, UnconditionalBranch
public abstract class JsrInstruction extends BranchInstruction implements UnconditionalBranch, TypedInstruction, StackProducer
Super class for JSR - Jump to subroutine
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description TypegetType(ConstantPoolGen cp)InstructionHandlephysicalSuccessor()Returns an InstructionHandle to the physical successor of this JsrInstruction.-
Methods inherited from class org.apache.bcel.generic.BranchInstruction
containsTarget, dump, getIndex, getTarget, setTarget, toString, updateTarget
-
Methods inherited from class org.apache.bcel.generic.Instruction
accept, consumeStack, copy, equals, getComparator, getLength, getName, getOpcode, hashCode, isValidByte, isValidShort, produceStack, readInstruction, setComparator, toString, toString
-
Methods inherited from interface org.apache.bcel.generic.StackProducer
produceStack
-
-
-
-
Method Detail
-
getType
public Type getType(ConstantPoolGen cp)
- Specified by:
getTypein interfaceTypedInstruction- Returns:
- return address type
-
physicalSuccessor
public InstructionHandle physicalSuccessor()
Returns an InstructionHandle to the physical successor of this JsrInstruction. For this method to work, this JsrInstruction object must not be shared between multiple InstructionHandle objects! Formally, there must not be InstructionHandle objects i, j where i != j and i.getInstruction() == this == j.getInstruction().- Returns:
- an InstructionHandle to the "next" instruction that will be executed when RETurned from a subroutine.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG