com.jeffpalm.ajp.impl.instr
Class Instruction

java.lang.Object
  extended by com.jeffpalm.ajp.impl.instr.Instruction
All Implemented Interfaces:
Dumpable
Direct Known Subclasses:
Aaconst_null, 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, 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, Drem, 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, 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, Pop, Pop2, Putfield, Putstatic, Ret, Return, Saload, Sastore, Sipush, Swap, Tableswitch, Wide

public abstract class Instruction
extends java.lang.Object
implements Dumpable


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.jeffpalm.decompiler.Dumpable
Dumpable.Helper
 
Field Summary
 
Fields inherited from interface com.jeffpalm.decompiler.Dumpable
HELPER
 
Constructor Summary
Instruction()
           
 
Method Summary
 void dumpTo(java.lang.StringBuffer sb, ClassFile cf)
           
abstract  byte[] getBytes()
           
abstract  java.lang.String getName()
           
protected  int index(byte b)
           
protected  int index(byte b1, byte b2)
           
static java.lang.String toHex(byte b)
           
 java.lang.String toString(ClassFile cf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Instruction

public Instruction()
Method Detail

getName

public abstract java.lang.String getName()

getBytes

public abstract byte[] getBytes()

toHex

public static java.lang.String toHex(byte b)

index

protected final int index(byte b)

index

protected final int index(byte b1,
                          byte b2)

toString

public final java.lang.String toString(ClassFile cf)

dumpTo

public final void dumpTo(java.lang.StringBuffer sb,
                         ClassFile cf)
Specified by:
dumpTo in interface Dumpable