public class InstructionFactory
extends java.lang.Object
Constructor and Description |
---|
InstructionFactory() |
Modifier and Type | Method and Description |
---|---|
Instruction |
aastore() |
Instruction |
aload(int idx) |
Instruction |
astore(int idx) |
Instruction |
cast(java.lang.String type)
Creates a cast.
|
Instruction |
dload(int idx) |
Instruction |
dstore(int idx) |
Instruction |
dup() |
Instruction |
dup2() |
Instruction |
fload(int idx) |
Instruction |
fstore(int idx) |
Instruction |
getField(int modifiers,
java.lang.String className,
java.lang.String fieldName,
java.lang.String fieldType) |
Instruction |
getField(JiapiField field) |
Instruction |
iload(int idx) |
Instruction |
invoke(int mods,
java.lang.String className,
java.lang.String methodName,
Signature s) |
Instruction |
invoke(JiapiMethod jm) |
Instruction |
istore(int idx) |
Instruction |
lload(int idx) |
Instruction |
lstore(int idx) |
InstructionList |
newArray(java.lang.String type,
int size) |
Instruction |
newClass(java.lang.String className) |
Instruction |
pushConstant(float constant) |
Instruction |
pushConstant(int constant) |
Instruction |
pushConstant(java.lang.String constant) |
Instruction |
pushNull() |
Instruction |
pushThis() |
Instruction |
returnMethod(JiapiMethod jm) |
Instruction |
setField(JiapiField field)
Sets a field reference to stack.
|
public Instruction aastore()
public Instruction aload(int idx)
public Instruction astore(int idx)
public Instruction cast(java.lang.String type)
checkcast #ref
type
- type of the castpublic Instruction dload(int idx)
public Instruction dstore(int idx)
public Instruction dup()
public Instruction dup2()
public Instruction fload(int idx)
public Instruction fstore(int idx)
public Instruction getField(int modifiers, java.lang.String className, java.lang.String fieldName, java.lang.String fieldType)
public Instruction getField(JiapiField field)
public Instruction iload(int idx)
public Instruction invoke(int mods, java.lang.String className, java.lang.String methodName, Signature s)
public Instruction invoke(JiapiMethod jm)
public Instruction istore(int idx)
public Instruction lload(int idx)
public Instruction lstore(int idx)
public InstructionList newArray(java.lang.String type, int size)
public Instruction newClass(java.lang.String className)
public Instruction pushConstant(float constant)
public Instruction pushConstant(int constant)
public Instruction pushConstant(java.lang.String constant)
public Instruction pushNull()
public Instruction pushThis()
public Instruction returnMethod(JiapiMethod jm)
public Instruction setField(JiapiField field)
putstatic #refif the field is static field or:
putfield #refif the field is an instance field.
field
- a JiapiField which will be setCopyright © 2001. Documenation generated October 18 2013.