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

Quick Search    Search Deep

Uses of Class
com.techtrader.modules.tools.bytecode.Instruction

Uses of Instruction in com.techtrader.modules.tools.bytecode
 

Subclasses of Instruction in com.techtrader.modules.tools.bytecode
 class ArrayInstruction
          Represents any array load or store instruction.
 class ArrayLoadInstruction
          Represents any array load instruction.
 class ArrayStoreInstruction
          Represents any array store instruction.
 class ClassInstruction
          Represents an instruction that takes as an argument a Class to operate on.
 class CmpInstruction
          An instruction comparing two stack values that varies depending on the value type.
 class ConstantInstruction
          Represents an instruction that that loads a constant onto the stack.
 class ConvertInstruction
          Represents one of the conversion opcodes defined in the Constants interface for converting between primitive types.
 class FieldInstruction
          Represents an instruction that takes as an argument a field to operate on.
 class GetFieldInstruction
          Represents the GETFIELD or GETSTATIC instruction.
 class IIncInstruction
          Represents the IINC instruction.
 class JumpInstruction
          Represents an IF, GOTO, JSR, or similar instruction that specifies as its argument a position in the code block to jump to.
 class LoadInstruction
          Represents an instruction to load a value from a local variable onto the stack; can be any of aload_*, iload_*, etc.
 class LocalVariableInstruction
          Represents an instruction that has an argument of an index into the local variable array of the current frame.
 class LookupSwitchInstruction
          The LOOKUPSWITCH instruction.
 class MathInstruction
          Represents one of the math operations defined in the Constants interface.
 class MethodInstruction
          Represents an instruction that takes as an argument a method to operate on.
 class MonitorEnterInstruction
          MONITORENTER
 class MonitorExitInstruction
          MONITOREXIT
 class MonitorInstruction
          A MONITORENTER or MONITOREXIT instruction.
 class MultiANewArrayInstruction
          Represents the MULTIANEWARRAY opcode instruction, which creates a new multi-dimensional array.
 class NewArrayInstruction
          Represents a NEWARRAY instruction, which is used to create new arrays of primitive types.
 class PutFieldInstruction
          Represents the PUTFIELD or PUTSTATIC instruction.
 class RetInstruction
          Represents the RET instruction used in the implementation of finally.
 class ReturnInstruction
          Represents a return instruction.
 class StackInstruction
          Represents an instruction that manipulates the stack of the current frame.
 class StoreInstruction
          Represents an instruction to store a value in a local variable from the stack; can be any of astore*, istore*, etc.
 class TableSwitchInstruction
          A TABLESWITCH instruction.
 class TypedLocalVariableInstruction
          An instruction manipulating a local variable that varies with the variable type.
 class WideInstruction
          Representation of the WIDE instruction, which is used to allow other instructions to index values beyond what they can normally index baed on the length of their arguments.
 

Fields in com.techtrader.modules.tools.bytecode declared as Instruction
protected  Instruction JumpInstruction._target
           
private  Instruction ExceptionHandler._start
           
private  Instruction ExceptionHandler._end
           
private  Instruction ExceptionHandler._handler
           
private  Instruction ClassConstantInstruction._ins
           
 

Methods in com.techtrader.modules.tools.bytecode that return Instruction
 Instruction TableSwitchInstruction.getDefaultTarget()
          Synonymous with getTarget().
 Instruction[] TableSwitchInstruction.getTargets()
           
private  Instruction TableSwitchInstruction.findTarget(int jumpByteIndex, java.util.List inss)
           
 Instruction LookupSwitchInstruction.getDefaultTarget()
          Synonymous with getTarget().
 Instruction[] LookupSwitchInstruction.getTargets()
           
private  Instruction LookupSwitchInstruction.findJumpPoint(int jumpByteIndex, java.util.List inss)
           
 Instruction JumpInstruction.getTarget()
          Get the current target instruction to jump to, if it has been set.
 Instruction ExceptionHandler.getTryStart()
          Get the instruction marking the beginning of the try {} block.
 Instruction ExceptionHandler.getTryEnd()
          Get the instruction at the end of the try {} block.
 Instruction ExceptionHandler.getHandlerStart()
          Get the instruction marking the beginning of the catch {} block.
 Instruction Code.next()
          Return the next instruction.
 Instruction Code.previous()
          Return the previous instruction.
 Instruction Code.replaceNext(Instruction with)
          Replaces the next Instruction with the given one.
 Instruction Code.replacePrevious(Instruction with)
          Replaces the previous Instruction with the given one.
 Instruction Code.nop()
           
 Instruction Code.arraylength()
           
 Instruction Code.athrow()
           
 Instruction[] Code.getInstructions()
          Get all the Instructions of this method.
private  Instruction Code.addInstruction(Instruction ins)
           
private  Instruction Code.addInstruction(int opcode)
           
private  Instruction Code.getInstruction(int opcode)
           
 Instruction ClassInstruction.setClassType(java.lang.Class type)
          Set the Class of the type to operate on.
 Instruction ClassConstantInstruction.setClassType(java.lang.Class type)
          Set the type of class being loaded.
 Instruction ClassConstantInstruction.setClassName(java.lang.String name)
          Set the type of class being loaded.
 

Methods in com.techtrader.modules.tools.bytecode with parameters of type Instruction
protected  void WideInstruction.copy(Instruction orig)
           
protected  void TypedLocalVariableInstruction.copy(Instruction orig)
           
 void TableSwitchInstruction.setDefaultTarget(Instruction jpt)
          Synonymous with setTarget().
 void TableSwitchInstruction.setTargets(Instruction[] targets)
          Set the jumppts for this switch.
 void TableSwitchInstruction.addTarget(Instruction target)
           
protected  void ReturnInstruction.copy(Instruction orig)
           
protected  void NewArrayInstruction.copy(Instruction orig)
           
protected  void MultiANewArrayInstruction.copy(Instruction orig)
           
protected  void MethodInstruction.copy(Instruction orig)
           
protected  void MathInstruction.copy(Instruction orig)
           
 void LookupSwitchInstruction.setDefaultTarget(Instruction ins)
          Synonymous with setTarget().
 void LookupSwitchInstruction.setCases(int[] matches, Instruction[] targets)
          Set the match-jumppt pairs for this switch.
 void LookupSwitchInstruction.addCase(int match, Instruction target)
           
protected  void LocalVariableInstruction.copy(Instruction orig)
           
 JumpInstruction JumpInstruction.setTarget(Instruction instruction)
          Set the instruction to jump to; the instruction must already be added to the code block.
protected  void JumpInstruction.copy(Instruction orig)
           
protected  void Instruction.copy(Instruction orig)
           
protected  void IIncInstruction.copy(Instruction other)
           
protected  void FieldInstruction.copy(Instruction orig)
           
 void ExceptionHandler.setTryStart(Instruction instruction)
          Set the Instruction marking the beginning of the try block.
 void ExceptionHandler.setTryEnd(Instruction instruction)
          Set the Instruction at the end of the try block.
 void ExceptionHandler.setHandlerStart(Instruction instruction)
          Set the Instruction marking the beginning of the catch block.
protected  void ConvertInstruction.copy(Instruction orig)
           
protected  void ConstantInstruction.copy(Instruction orig)
           
 ExceptionHandler Code.addExceptionHandler(Instruction tryStart, Instruction tryEnd, Instruction handlerStart, java.lang.Class catchType)
          Add an exception handler to this code block.
 ExceptionHandler Code.addExceptionHandler(Instruction tryStart, Instruction tryEnd, Instruction handlerStart, java.lang.String catchType)
          Add an exception handler to this code block.
 void Code.before(Instruction ins)
          Position the iterator just before the given instruction.
 void Code.after(Instruction ins)
          Position the iterator just after the given instruction.
 boolean Code.searchForward(Instruction template)
          Find the next Instruction from the current iterator position that matches the given one, according to the equals() methods of the Instruction types.
 boolean Code.searchBackward(Instruction template)
          Find the closest previous Instruction from the current iterator position that matches the given one, according to the equals() methods of the Instruction types.
 Instruction Code.replaceNext(Instruction with)
          Replaces the next Instruction with the given one.
 Instruction Code.replacePrevious(Instruction with)
          Replaces the previous Instruction with the given one.
 int Code.replaceAll(Instruction template, Instruction with)
          Replaces all the Instructions in this code block that match the given template with the given Instruction.
 int Code.replaceAll(Instruction[] templates, Instruction[] with)
          Equivalent to looping over each given template/replacement pair and calling replaceAll(Instruction, Instruction) for each.
private  void Code.updateJumpPoints(Instruction orig, Instruction ins)
          Update all jump points that reference the original opcode to reference the new one.
private  void Code.updateJumpPoints(Instruction orig, Instruction ins, TableSwitchInstruction update)
           
private  void Code.updateJumpPoints(Instruction orig, Instruction ins, LookupSwitchInstruction update)
           
private  Instruction Code.addInstruction(Instruction ins)
           
protected  void CmpInstruction.copy(Instruction orig)
           
protected  void ClassInstruction.copy(Instruction orig)
           
protected  void ArrayInstruction.copy(Instruction orig)
           
 

Constructors in com.techtrader.modules.tools.bytecode with parameters of type Instruction
ClassConstantInstruction(BCClass bc, Code code, Instruction nop)
          Protected constructor.