Package org.vesalainen.bcc
Class ReferenceASM
- java.lang.Object
-
- org.vesalainen.bcc.Assembler
-
- org.vesalainen.bcc.ReferenceASM
-
-
Field Summary
-
Fields inherited from class org.vesalainen.bcc.Assembler
asm, asmStack, labelMap, labels, out, T_BOOLEAN, T_BYTE, T_CHAR, T_DOUBLE, T_FLOAT, T_INT, T_LONG, T_SHORT, types, WIDEFIXOFFSET, wideIndex
-
Fields inherited from interface org.vesalainen.bcc.OpCode
AALOAD, AASTORE, ACONST_NULL, ALOAD, ALOAD_0, ALOAD_1, ALOAD_2, ALOAD_3, ANEWARRAY, ARETURN, ARRAYLENGTH, ASTORE, ASTORE_0, ASTORE_1, ASTORE_2, ASTORE_3, ATHROW, BALOAD, BASTORE, BIPUSH, BREAKPOINT, CALOAD, CASTORE, CHECKCAST, D2F, D2I, D2L, DADD, DALOAD, DASTORE, DCMPG, DCMPL, DCONST_0, DCONST_1, DDIV, DLOAD, DLOAD_0, DLOAD_1, DLOAD_2, DLOAD_3, DMUL, DNEG, DRETURN, DSTORE, DSTORE_0, DSTORE_1, DSTORE_2, DSTORE_3, DSUB, DUP, DUP_X1, DUP_X2, DUP2, DUP2_X1, DUP2_X2, F2D, F2I, F2L, FADD, FALOAD, FASTORE, FCMPG, FCMPL, FCONST_0, FCONST_1, FCONST_2, FDIV, FLOAD, FLOAD_0, FLOAD_1, FLOAD_2, FLOAD_3, FMUL, FNEG, FREM, FRETURN, FSTORE, FSTORE_0, FSTORE_1, FSTORE_2, FSTORE_3, FSUB, GETFIELD, GETSTATIC, GOTO, GOTO_W, I2B, I2C, I2D, I2F, I2L, I2S, IADD, IALOAD, IAND, IASTORE, ICONST_0, ICONST_1, ICONST_2, ICONST_3, ICONST_4, ICONST_5, ICONST_M1, IDIV, IF_ACMPEQ, IF_ACMPNE, IF_ICMPEQ, IF_ICMPGE, IF_ICMPGT, IF_ICMPLE, IF_ICMPLT, IF_ICMPNE, IFEQ, IFGE, IFGT, IFLE, IFLT, IFNE, IFNONNULL, IFNULL, IINC, ILOAD, ILOAD_0, ILOAD_1, ILOAD_2, ILOAD_3, IMPDEP1, IMPDEP2, IMUL, INEG, INSTANCEOF, INVOKEINTERFACE, INVOKESPECIAL, INVOKESTATIC, INVOKEVIRTUAL, IOR, IREM, IRETURN, ISHL, ISHR, ISTORE, ISTORE_0, ISTORE_1, ISTORE_2, ISTORE_3, ISUB, IUSHR, IXOR, JSR, JSR_W, L2D, L2F, L2I, LADD, LALOAD, LAND, LASTORE, LCMP, LCONST_0, LCONST_1, LDC, LDC_W, LDC2_W, LDIV, LLOAD, LLOAD_0, LLOAD_1, LLOAD_2, LLOAD_3, LMUL, LNEG, LOOKUPSWITCH, LOR, LREM, LRETURN, LSHL, LSHR, LSTORE, LSTORE_0, LSTORE_1, LSTORE_2, LSTORE_3, LSUB, LUSHR, LXOR, MONITORENTER, MONITOREXIT, MULTIANEWARRAY, NEW, NEWARRAY, NOP, NOT_IF_ACMPEQ, NOT_IF_ACMPNE, NOT_IF_ICMPEQ, NOT_IF_ICMPGE, NOT_IF_ICMPGT, NOT_IF_ICMPLE, NOT_IF_ICMPLT, NOT_IF_ICMPNE, NOT_IFEQ, NOT_IFGE, NOT_IFGT, NOT_IFLE, NOT_IFLT, NOT_IFNE, NOT_IFNONNULL, NOT_IFNULL, POP, POP2, PUTFIELD, PUTSTATIC, RET, RETURN, SALOAD, SASTORE, SIPUSH, SWAP, TABLESWITCH, WIDE
-
-
Constructor Summary
Constructors Constructor Description ReferenceASM(CodeDataOutput out, java.util.Map<java.lang.String,Label> labels)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidd2t()voidf2t()voidi2t()voidif_tcmpeq(java.lang.String target)voidif_tcmpge(java.lang.String target)voidif_tcmpgt(java.lang.String target)voidif_tcmple(java.lang.String target)voidif_tcmplt(java.lang.String target)voidif_tcmpne(java.lang.String target)voidl2t()voidtadd()voidtaload()voidtand()voidtastore()voidtcmp()voidtcmpg()voidtcmpl()voidtconst(int i)voidtconst_null()voidtdiv()voidtinc(int index, int con)voidtipush(int b)voidtload(int index)voidtmul()voidtneg()voidtor()voidtrem()voidtreturn()voidtshl()voidtshr()voidtstore(int index)voidtsub()voidtushr()voidtxor()-
Methods inherited from class org.vesalainen.bcc.Assembler
aaload, aastore, aconst_null, aload, anew, anewarray, arraylength, astore, athrow, baload, bastore, bipush, caload, castore, checkcast, convert, createBranch, createBranch, d2f, d2i, d2l, dadd, daload, dastore, dconst, ddiv, dload, dmul, dneg, dstore, dsub, dup, dup_x1, dup_x2, dup2, dup2_x1, dup2_x2, endBlock, f2d, f2i, f2l, fadd, faload, fastore, fconst, fdiv, fixAddress, fixLabels, fload, fmul, fneg, frem, fstore, fsub, getCode, getfield, getLabel, getstatic, goto_n, goto_w, i2b, i2c, i2d, i2f, i2l, i2s, iadd, iaload, iand, iastore, iconst, idiv, if_icmpeq, if_icmpge, if_icmpgt, if_icmple, if_icmplt, if_icmpne, if_tcmpeq, if_tcmpge, if_tcmpgt, if_tcmple, if_tcmplt, if_tcmpne, ifeq, ifge, ifgt, ifle, iflt, ifne, ifnonnull, ifnull, iinc, iload, imul, instanceo, invokeinterface, invokespecial, invokestatic, invokevirtual, ior, irem, ireturn, ishl, ishr, isReferenced, istore, isub, iushr, ixor, jsr, jsr_w, l2d, l2f, l2i, labelForAddress, ladd, laload, land, lastore, lconst, ldc, ldc_w, ldc2_w, ldiv, lload, lmul, lneg, lookupswitch, lor, lrem, lshl, lshr, lstore, lsub, lushr, lxor, monitorenter, monitorexit, multianewarray, newarray, nop, pop, pop2, position, putfield, putstatic, ret, saload, sastore, setWideIndex, sipush, startBlock, swap, tableswitch, tadd, taload, tand, tastore, tcmp, tcmpg, tcmpl, tconst, tdiv, tinc, tipush, tload, tmul, tneg, tor, trem, treturn, tshl, tshr, tstore, tsub, tushr, txor
-
-
-
-
Constructor Detail
-
ReferenceASM
ReferenceASM(CodeDataOutput out, java.util.Map<java.lang.String,Label> labels)
-
-
Method Detail
-
taload
public void taload() throws java.io.IOException
-
tastore
public void tastore() throws java.io.IOException
-
tconst_null
public void tconst_null() throws java.io.IOException- Specified by:
tconst_nullin interfaceTypeASM- Throws:
java.io.IOException
-
tload
public void tload(int index) throws java.io.IOException
-
treturn
public void treturn() throws java.io.IOException
-
tstore
public void tstore(int index) throws java.io.IOException
-
if_tcmpeq
public void if_tcmpeq(java.lang.String target) throws java.io.IOException
-
if_tcmpne
public void if_tcmpne(java.lang.String target) throws java.io.IOException
-
tipush
public void tipush(int b) throws java.io.IOException
-
tconst
public void tconst(int i) throws java.io.IOException
-
tinc
public void tinc(int index, int con) throws java.io.IOException
-
tadd
public void tadd() throws java.io.IOException
-
tsub
public void tsub() throws java.io.IOException
-
tmul
public void tmul() throws java.io.IOException
-
tdiv
public void tdiv() throws java.io.IOException
-
trem
public void trem() throws java.io.IOException
-
tneg
public void tneg() throws java.io.IOException
-
tshl
public void tshl() throws java.io.IOException
-
tshr
public void tshr() throws java.io.IOException
-
tushr
public void tushr() throws java.io.IOException
-
tand
public void tand() throws java.io.IOException
-
tor
public void tor() throws java.io.IOException
-
txor
public void txor() throws java.io.IOException
-
i2t
public void i2t() throws java.io.IOException
-
l2t
public void l2t() throws java.io.IOException
-
f2t
public void f2t() throws java.io.IOException
-
d2t
public void d2t() throws java.io.IOException
-
tcmp
public void tcmp() throws java.io.IOException
-
tcmpl
public void tcmpl() throws java.io.IOException
-
tcmpg
public void tcmpg() throws java.io.IOException
-
if_tcmplt
public void if_tcmplt(java.lang.String target) throws java.io.IOException
-
if_tcmpge
public void if_tcmpge(java.lang.String target) throws java.io.IOException
-
if_tcmpgt
public void if_tcmpgt(java.lang.String target) throws java.io.IOException
-
-