| Modifier and Type | Field and Description |
|---|---|
List<Attribute> |
attributes
List of Attributes
|
List<ExceptionInfo> |
exceptions |
List<Instruction> |
instructions |
int |
locals |
static Logger |
LOGGER |
AE_CNST, AE_CNST_W, AE_CNST2_W, AE_FIELDREF, AE_I_D0, AE_I_D1, AE_I_F0, AE_I_F1, AE_I_F2, AE_I_I0, AE_I_I1, AE_I_I2, AE_I_I3, AE_I_I4, AE_I_I5, AE_I_IML, AE_I_L0, AE_I_L1, AE_I_LAST, AE_I_NULL, AE_IFMETHOD, AE_METHODREF, AE_REFTYPEREF, AE_S1, AE_S2, AE_U1, AE_U2, AE_U4, BRANCH, BYTE, CNST, CONSTANT_CLASS, CONSTANT_DOUBLE, CONSTANT_FIELDREF, CONSTANT_FLOAT, CONSTANT_INTEGER, CONSTANT_INTERFACEMETHODREF, CONSTANT_LONG, CONSTANT_METHODREF, CONSTANT_NAMEANDTYPE, CONSTANT_STRING, CONSTANT_UTF8, ERROR_STACK, FIELDREF, GETFIELD_STACK, GETSTATIC_STACK, IFMETHOD, IMPLICIT, INC, INVOKEINTERFACE_STACK, INVOKESPECIAL_STACK, INVOKESTATIC_STACK, INVOKEVIRTUAL_STACK, LDC_STACK, LS, LV, MAGIC, METHODREF, MULTIARRAY_STACK, PUTFIELD_STACK, PUTSTATIC_STACK, REFTYPEREF, RT, SIMPLE, SUCC_BRANCH, SUCC_GOTO, SUCC_JSR, SUCC_LOOKUPSWITCH, SUCC_NEXT, SUCC_NONE, SUCC_RET, SUCC_TABLESWITCH, T_BOOLEAN, T_BYTE, T_CHAR, T_DOUBLE, T_FLOAT, T_INT, T_LONG, T_REFERENCE, T_SHORT, T_VOID, TS, TYPE_BYTE, VBRANCH| Modifier and Type | Method and Description |
|---|---|
int |
allocate(ClassRef cl) |
int |
currentLabel() |
int |
declareFixup() |
int |
declareLabel() |
void |
defineLabel(int label) |
void |
emit(int opcode) |
void |
emit(int opcode,
ClassRef arg) |
void |
emit(int opcode,
FieldRef arg) |
void |
emit(int opcode,
int arg) |
void |
emit(int opcode,
int arg0,
int arg1) |
void |
emit(int opcode,
int a,
net.oneandone.sushi.util.IntArrayList b,
net.oneandone.sushi.util.IntArrayList c) |
void |
emit(int opcode,
int a,
int b,
int c,
net.oneandone.sushi.util.IntArrayList d) |
void |
emit(int opcode,
MethodRef arg) |
void |
emit(int opcode,
String arg) |
void |
emitGeneric(int opcode,
Object[] args)
pc is increased by 1.
|
int |
findEndIdxOrLast(int startIdx,
int len) |
int |
findEndOfsOrLast(int startIdx,
int idx) |
int |
findIdx(int ofs) |
int |
findIdxOrLast(int ofs) |
int |
findOfs(int idx) |
int |
findOfsOrLast(int idx) |
void |
fixup(int fixup,
int opcode) |
void |
fixup(int fixup,
int opcode,
ClassRef arg) |
void |
fixup(int fixup,
int opcode,
FieldRef arg) |
void |
fixup(int fixup,
int opcode,
int arg) |
void |
fixup(int fixup,
int opcode,
int arg0,
int arg1) |
void |
fixup(int fixup,
int opcode,
int a,
net.oneandone.sushi.util.IntArrayList b,
net.oneandone.sushi.util.IntArrayList c) |
void |
fixup(int fixup,
int opcode,
int a,
int b,
int c,
net.oneandone.sushi.util.IntArrayList d) |
void |
fixup(int fixup,
int opcode,
MethodRef arg) |
void |
fixup(int fixup,
int opcode,
String arg) |
void |
fixupGeneric(int fixup,
int opcode,
Object[] args) |
int |
getSize() |
void |
references(Collection<Reference> result) |
int |
resolveLabel(int idx) |
String |
toString() |
void |
write(Output dest) |
public static final Logger LOGGER
public int locals
public List<Instruction> instructions
public List<ExceptionInfo> exceptions
public Code()
public Code(Input src) throws IOException
IOExceptionpublic void references(Collection<Reference> result)
public int getSize()
public void write(Output dest) throws IOException
write in class AttributeIOExceptionpublic int findEndIdxOrLast(int startIdx,
int len)
public int findIdxOrLast(int ofs)
public int findIdx(int ofs)
public int findEndOfsOrLast(int startIdx,
int idx)
public int findOfsOrLast(int idx)
public int findOfs(int idx)
public int resolveLabel(int idx)
public int declareLabel()
public void defineLabel(int label)
public int currentLabel()
public void emitGeneric(int opcode,
Object[] args)
public void emit(int opcode)
public void emit(int opcode,
int arg)
public void emit(int opcode,
int arg0,
int arg1)
public void emit(int opcode,
String arg)
public void emit(int opcode,
MethodRef arg)
public void emit(int opcode,
ClassRef arg)
public void emit(int opcode,
FieldRef arg)
public void emit(int opcode,
int a,
int b,
int c,
net.oneandone.sushi.util.IntArrayList d)
public void emit(int opcode,
int a,
net.oneandone.sushi.util.IntArrayList b,
net.oneandone.sushi.util.IntArrayList c)
public int declareFixup()
public void fixupGeneric(int fixup,
int opcode,
Object[] args)
public void fixup(int fixup,
int opcode)
public void fixup(int fixup,
int opcode,
int arg)
public void fixup(int fixup,
int opcode,
int arg0,
int arg1)
public void fixup(int fixup,
int opcode,
String arg)
public void fixup(int fixup,
int opcode,
MethodRef arg)
public void fixup(int fixup,
int opcode,
ClassRef arg)
public void fixup(int fixup,
int opcode,
FieldRef arg)
public void fixup(int fixup,
int opcode,
int a,
int b,
int c,
net.oneandone.sushi.util.IntArrayList d)
public void fixup(int fixup,
int opcode,
int a,
net.oneandone.sushi.util.IntArrayList b,
net.oneandone.sushi.util.IntArrayList c)
public int allocate(ClassRef cl)
Copyright © 1998–2017 1&1. All rights reserved.