| Package | Description | 
|---|---|
| net.sf.jiapi.reflect | 
 Jiapi reflection package. 
 | 
| net.sf.jiapi.reflect.instruction | 
 This package contains classes and interfaces which are directly involved 
 with Instructions. 
 | 
| net.sf.jiapi.reflect.util | 
 Utilities to be used with Jiapi. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
BranchInstruction
BranchInstruction is represents an Instruction, that has a jump target to
 another Instruction. 
 | 
class  | 
SwitchInstruction
SwitchInstruction represents switch-case construct in Java language jargon. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Instruction | 
InstructionFactory.aload(int idx)  | 
Instruction | 
InstructionFactory.astore(int idx)  | 
Instruction | 
InstructionFactory.cast(String type)
Creates a cast. 
 | 
Instruction | 
InstructionFactory.dload(int idx)  | 
Instruction | 
InstructionFactory.dstore(int idx)  | 
Instruction | 
InstructionFactory.fload(int idx)  | 
Instruction | 
InstructionFactory.fstore(int idx)  | 
Instruction | 
InstructionList.get(int i)
Gets an Instruction at given index. 
 | 
Instruction | 
Instruction.getBranchParent()
Gets the branch instruction, that references this instruction as a target. 
 | 
Instruction | 
SwitchInstruction.getDefault()
Get the default Instruction of this SwitchInstruction. 
 | 
Instruction | 
InstructionFactory.getField(int modifiers,
        String className,
        String fieldName,
        String fieldType)  | 
Instruction | 
InstructionFactory.getField(JiapiField field)  | 
Instruction | 
BasicBlock.getFirstInstruction()
Gets the first Instruction of this BasicBlock. 
 | 
Instruction | 
TryBlock.ExceptionHandler.getHandlerStart()
Get the instructions of this ExceptionHandler. 
 | 
Instruction | 
BasicBlock.getLastInstruction()
Gets the last Instruction of this BasicBlock. 
 | 
Instruction | 
BasicBlock.getNextInstruction()
Gets the next Instruction after this BasicBlock. 
 | 
Instruction | 
BranchInstruction.getTarget()
Get the target of this branch. 
 | 
Instruction | 
SwitchInstruction.Target.getTarget()
Gets the target Instruction of this Target. 
 | 
Instruction | 
InstructionFactory.iload(int idx)  | 
Instruction | 
InstructionFactory.invoke(int mods,
      String className,
      String methodName,
      Signature s)  | 
Instruction | 
InstructionFactory.invoke(JiapiMethod jm)  | 
Instruction | 
InstructionFactory.istore(int idx)  | 
Instruction | 
InstructionFactory.lload(int idx)  | 
Instruction | 
InstructionFactory.lstore(int idx)  | 
Instruction | 
InstructionFactory.newClass(String className)  | 
Instruction | 
InstructionFactory.pushConstant(float constant)  | 
Instruction | 
InstructionFactory.pushConstant(int constant)  | 
Instruction | 
InstructionFactory.pushConstant(String constant)  | 
Instruction | 
InstructionFactory.pushNull()  | 
Instruction | 
InstructionFactory.pushThis()  | 
Instruction | 
InstructionFactory.returnMethod(JiapiMethod jm)  | 
Instruction | 
InstructionFactory.setField(JiapiField field)
Sets a field reference to stack. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
InstructionList.add(Instruction i)
Adds an Instruction to this InstructionList 
 | 
List<BranchInstruction> | 
InstructionList.findBranchesForTarget(Instruction target)  | 
int | 
InstructionList.indexOf(Instruction ins)
Scans this InstructionList for a opcode. 
 | 
boolean | 
InstructionList.insert(int idx,
      Instruction i)
Insert an Instruction to this InstructionList 
 | 
void | 
InstructionList.replace(int idx,
       Instruction i)
Replace an Instruction at given index 
 | 
void | 
BranchInstruction.setTarget(Instruction target)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AALoad
Load a reference from an array. 
 | 
class  | 
AAStore
Store a reference to an array. 
 | 
class  | 
AConstNull
Push a null reference into stack. 
 | 
class  | 
ALoad
Load a reference from local variable at given index. 
 | 
class  | 
ALoad0
Load a reference from local variable 0. 
 | 
class  | 
ALoad1
Load a reference from local variable 1. 
 | 
class  | 
ALoad2
Load a reference from local variable 2. 
 | 
class  | 
ALoad3
Load a reference from local variable 3. 
 | 
class  | 
ANewArray  | 
class  | 
AReturn  | 
class  | 
ArrayLength  | 
class  | 
AStore
Stores a reference into Local variable at given index. 
 | 
class  | 
AStore0
Stores a reference into Local variable 0. 
 | 
class  | 
AStore1
Stores a reference into Local variable 1. 
 | 
class  | 
AStore2
Stores a reference into Local variable 2. 
 | 
class  | 
AStore3
Stores a reference into Local variable 3. 
 | 
class  | 
AThrow  | 
class  | 
BALoad  | 
class  | 
BAStore  | 
class  | 
BIPush  | 
class  | 
BreakPoint  | 
class  | 
CALoad  | 
class  | 
CAStore  | 
class  | 
CheckCast  | 
class  | 
CPInstruction
This class represents an Instruction, that has a reference to Constant pool 
 | 
class  | 
D2F  | 
class  | 
D2I  | 
class  | 
D2L  | 
class  | 
DAdd  | 
class  | 
DALoad
Load a double from an array. 
 | 
class  | 
DAStore
Store a double to an array. 
 | 
class  | 
DCmpG  | 
class  | 
DCmpL  | 
class  | 
DConst0
Push a constant 0.0 double into stack. 
 | 
class  | 
DConst1
Push a constant 1.0 double into stack. 
 | 
class  | 
DDiv  | 
class  | 
DLoad
Load a double from local variable at given index. 
 | 
class  | 
DLoad0
Load a double from local variable 0. 
 | 
class  | 
DLoad1
Load a double from local variable 1. 
 | 
class  | 
DLoad2
Load a double from local variable 2. 
 | 
class  | 
DLoad3
Load a double from local variable 3. 
 | 
class  | 
DMul  | 
class  | 
DNeg  | 
class  | 
DRem  | 
class  | 
DReturn  | 
class  | 
DStore
Stores a double into Local variable at given index. 
 | 
class  | 
DStore0
Stores a double into Local variable 0. 
 | 
class  | 
DStore1
Stores a double into Local variable 1. 
 | 
class  | 
DStore2
Stores a double into Local variable 2. 
 | 
class  | 
DStore3
Stores a double into Local variable 3. 
 | 
class  | 
DSub  | 
class  | 
Dup  | 
class  | 
Dup2  | 
class  | 
Dup2X1  | 
class  | 
Dup2X2  | 
class  | 
DupX1  | 
class  | 
DupX2  | 
class  | 
F2D  | 
class  | 
F2I  | 
class  | 
F2L  | 
class  | 
FAdd  | 
class  | 
FALoad
Load a float from an array. 
 | 
class  | 
FAStore
Store a float to an array. 
 | 
class  | 
FCmpG  | 
class  | 
FCmpL  | 
class  | 
FConst0
Push a constant 0.0 float into stack. 
 | 
class  | 
FConst1
Push a constant 1.0 float into stack. 
 | 
class  | 
FConst2
Push a constant 2.0 float into stack. 
 | 
class  | 
FDiv  | 
class  | 
FieldAccess
This class represents a field access instruction. 
 | 
class  | 
FLoad
Load a float from local variable at given index. 
 | 
class  | 
FLoad0
Load a float from local variable 0. 
 | 
class  | 
FLoad1
Load a float from local variable 1. 
 | 
class  | 
FLoad2
Load a float from local variable 2. 
 | 
class  | 
FLoad3
Load a float from local variable 3. 
 | 
class  | 
FMul  | 
class  | 
FNeg  | 
class  | 
FRem  | 
class  | 
FReturn  | 
class  | 
FStore
Stores a float into Local variable at given index. 
 | 
class  | 
FStore0
Stores a float into Local variable 0. 
 | 
class  | 
FStore1
Stores a float into Local variable 1. 
 | 
class  | 
FStore2
Stores a float into Local variable 2. 
 | 
class  | 
FStore3
Stores a float into Local variable 3. 
 | 
class  | 
FSub  | 
class  | 
GetField  | 
class  | 
GetStatic  | 
class  | 
Goto  | 
class  | 
GotoW  | 
class  | 
I2B  | 
class  | 
I2C  | 
class  | 
I2D  | 
class  | 
I2F  | 
class  | 
I2L  | 
class  | 
I2S  | 
class  | 
IAdd  | 
class  | 
IALoad
Load an int from an array. 
 | 
class  | 
IAnd  | 
class  | 
IAStore
Store an int to an array. 
 | 
class  | 
IConst0
Push a constant 0 int into stack. 
 | 
class  | 
IConst1
Push a constant 1 int into stack. 
 | 
class  | 
IConst2
Push a constant 2 int into stack. 
 | 
class  | 
IConst3
Push a constant 3 int into stack. 
 | 
class  | 
IConst4
Push a constant 4 int into stack. 
 | 
class  | 
IConst5
Push a constant 5 int into stack. 
 | 
class  | 
IConstM1
Push a constant -1 int into stack. 
 | 
class  | 
IDiv  | 
class  | 
IfACmpEq  | 
class  | 
IfACmpNe  | 
class  | 
IfEq  | 
class  | 
IfGe  | 
class  | 
IfGt  | 
class  | 
IfICmpEq  | 
class  | 
IfICmpGe  | 
class  | 
IfICmpGt  | 
class  | 
IfICmpLe  | 
class  | 
IfICmpLt  | 
class  | 
IfICmpNe  | 
class  | 
IfLe  | 
class  | 
IfLt  | 
class  | 
IfNe  | 
class  | 
IfNonNull  | 
class  | 
IfNull  | 
class  | 
IInc
This instruction increments a local variable by constant. 
 | 
class  | 
ILoad
Load an int from local variable at given index. 
 | 
class  | 
ILoad0
Load an int from local variable 0. 
 | 
class  | 
ILoad1
Load an int from local variable 1. 
 | 
class  | 
ILoad2
Load an int from local variable 2. 
 | 
class  | 
ILoad3
Load an int from local variable 3. 
 | 
class  | 
ImpDep1  | 
class  | 
ImpDep2  | 
class  | 
IMul  | 
class  | 
INeg  | 
class  | 
InstanceOf  | 
class  | 
Invocation
This class represents a method invocation instruction. 
 | 
class  | 
InvokeDynamic  | 
class  | 
InvokeInterface  | 
class  | 
InvokeSpecial  | 
class  | 
InvokeStatic  | 
class  | 
InvokeVirtual  | 
class  | 
IOr  | 
class  | 
IRem  | 
class  | 
IReturn  | 
class  | 
IShl  | 
class  | 
IShr  | 
class  | 
IStore
Stores an int into local variable at given index. 
 | 
class  | 
IStore0
Stores an int into local variable 0. 
 | 
class  | 
IStore1
Stores an int into local variable 1. 
 | 
class  | 
IStore2
Stores an int into local variable 2. 
 | 
class  | 
IStore3
Stores an int into local variable 3. 
 | 
class  | 
ISub  | 
class  | 
IUShr  | 
class  | 
IXor  | 
class  | 
Jsr  | 
class  | 
JsrW  | 
class  | 
L2D  | 
class  | 
L2F  | 
class  | 
L2I  | 
class  | 
LAdd  | 
class  | 
LALoad
Load a long from an array. 
 | 
class  | 
LAnd  | 
class  | 
LAStore
Store a long to an array. 
 | 
class  | 
LCmp  | 
class  | 
LConst0
Push a constant long 0 into stack. 
 | 
class  | 
LConst1
Push a constant long 1 into stack. 
 | 
class  | 
Ldc
Push an entry from ConstantPool. 
 | 
class  | 
Ldc2W
Push a long or double entry from ConstantPool. 
 | 
class  | 
LdcW
Push an entry from ConstantPool. 
 | 
class  | 
LDiv  | 
class  | 
LLoad
Load a long from local variable at given index. 
 | 
class  | 
LLoad0
Load a long from local variable 0. 
 | 
class  | 
LLoad1
Load a long from local variable 1. 
 | 
class  | 
LLoad2
Load a long from local variable 2. 
 | 
class  | 
LLoad3
Load a long from local variable 3. 
 | 
class  | 
LMul  | 
class  | 
LNeg  | 
class  | 
LOr  | 
class  | 
LRem  | 
class  | 
LReturn  | 
class  | 
LShl  | 
class  | 
LShr  | 
class  | 
LStore
Stores a long into Local variable at given index. 
 | 
class  | 
LStore0
Stores a long into Local variable 0. 
 | 
class  | 
LStore1
Stores a long into Local variable 1. 
 | 
class  | 
LStore2
Stores a long into Local variable 2. 
 | 
class  | 
LStore3
Stores a long into Local variable 3. 
 | 
class  | 
LSub  | 
class  | 
LUShr  | 
class  | 
LVInstruction
This class represents an Instruction, that references a local variable. 
 | 
class  | 
LXor  | 
class  | 
MonitorEnter  | 
class  | 
MonitorExit  | 
class  | 
MultiNewArray  | 
class  | 
New  | 
class  | 
NewArray  | 
class  | 
Nop  | 
class  | 
Pop  | 
class  | 
Pop2  | 
class  | 
PutField  | 
class  | 
PutStatic  | 
class  | 
ReferencingInstruction
This class represents an Instruction, that uses Object references. 
 | 
class  | 
Ret  | 
class  | 
Return  | 
class  | 
SALoad  | 
class  | 
SAStore  | 
class  | 
SIPush  | 
class  | 
Swap  | 
class  | 
Wide
Extends a local variable instructions index with additional byte. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Instruction | 
HotSpot.getHotSpotInstruction()
Get the Instruction, that was used to trigger creation of this HotSpot. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
HotSpotAdvisor.checkForBranchTarget(Instruction firstHotSpotInstruction,
                    InstructionList methodList,
                    Instruction firstBeforeInstruction)  | 
| Constructor and Description | 
|---|
HotSpot(InstructionList il,
       Instruction ins)
Create new hotspot for a single Instruction. 
 | 
HotSpot(InstructionList il,
       Instruction start,
       Instruction end)
Create new hotspot. 
 | 
Copyright © 2017. All rights reserved.