Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Compil3r.BytecodeAnalysis
Class Bytecodes.JsrInstruction  view Bytecodes.JsrInstruction download Bytecodes.JsrInstruction.java

java.lang.Object
  extended byCompil3r.BytecodeAnalysis.Bytecodes.Instruction
      extended byCompil3r.BytecodeAnalysis.Bytecodes.BranchInstruction
          extended byCompil3r.BytecodeAnalysis.Bytecodes.JsrInstruction
All Implemented Interfaces:
Bytecodes.InstructionTargeter, Bytecodes.StackProducer, Bytecodes.TypedInstruction, Bytecodes.UnconditionalBranch, java.lang.Cloneable, java.io.Serializable
Direct Known Subclasses:
Bytecodes.JSR, Bytecodes.JSR_W
Enclosing class:
Bytecodes

public abstract static class Bytecodes.JsrInstruction
extends Bytecodes.BranchInstruction
implements Bytecodes.UnconditionalBranch, Bytecodes.TypedInstruction, Bytecodes.StackProducer


Field Summary
 
Fields inherited from class Compil3r.BytecodeAnalysis.Bytecodes.BranchInstruction
index, position, target
 
Fields inherited from class Compil3r.BytecodeAnalysis.Bytecodes.Instruction
length, opcode
 
Constructor Summary
(package private) Bytecodes.JsrInstruction()
          Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction().
(package private) Bytecodes.JsrInstruction(short opcode, Bytecodes.InstructionHandle target)
           
 
Method Summary
 Clazz.jq_Type getType()
           
 Bytecodes.InstructionHandle physicalSuccessor()
          Returns an InstructionHandle to the physical successor of this JsrInstruction.
 
Methods inherited from class Compil3r.BytecodeAnalysis.Bytecodes.BranchInstruction
containsTarget, dispose, dump, getIndex, getTarget, getTargetOffset, getTargetOffset, initFromFile, notifyTarget, setTarget, toString, updatePosition, updateTarget
 
Methods inherited from class Compil3r.BytecodeAnalysis.Bytecodes.Instruction
accept, consumeStack, copy, getLength, getOpcode, produceStack, readInstruction, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface Compil3r.BytecodeAnalysis.Bytecodes.StackProducer
produceStack
 

Constructor Detail

Bytecodes.JsrInstruction

Bytecodes.JsrInstruction(short opcode,
                         Bytecodes.InstructionHandle target)

Bytecodes.JsrInstruction

Bytecodes.JsrInstruction()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). Not to be used otherwise.

Method Detail

getType

public Clazz.jq_Type getType()
Specified by:
getType in interface Bytecodes.TypedInstruction

physicalSuccessor

public Bytecodes.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().