Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE | NEXT PACKAGE FRAMES  | NO FRAMES

Package DE.fub.inf.JVM.ClassGen

Interface Summary
CodeConstraint Code patterns found with the FindPattern class may receive an additional CodeConstraint argument that checks the found piece of code for user-defined constraints.
CompoundInstruction Wrapper class for `compound' operations, virtual instructions that don't exist as byte code, but give a useful meaning.
ConstantPushInstruction Denotes a push instruction that produces a literal on the stack such as SIPUSH, BIPUSH, ICONST, etc.
LoadClass Denotes that an instruction may start the process of loading and resolving the referenced class in the Virtual Machine.
PushInstruction Denotes an unparameterized instruction to produce a value on top of the stack, such as ILOAD, LDC, SIPUSH, DUP, ICONST, etc.
UnconditionalBranch Denotes an instruction to perform an unconditional branch, i.e.
VariableLengthInstruction Denotes an instruction to be a variable length instruction, such as GOTO, JSR, LOOKUPSWITCH and TABLESWITCH.
 

Class Summary
AALOAD AALOAD - Load reference from array Stack ...
AASTORE AASTORE - Store into reference array Stack: ...
ACONST_NULL ACONST_NULL - Push null Stack: ...
ALOAD ALOAD - Load reference from local variable Stack ...
ANEWARRAY ANEWARRAY - Create new array of references Stack: ...
ARETURN ARETURN - Return reference from method Stack: ...
ARRAYLENGTH ARRAYLENGTH - Get length of array Stack: ...
ArrayType Denotes array type, such as int[][]
ASTORE ASTORE - Store reference into local variable Stack ...
ATHROW ATHROW - Throw exception Stack: ...
BALOAD BALOAD - Load byte or boolean from array Stack: ...
BasicType Denotes basic type such as int.
BASTORE BASTORE - Store into byte or boolean array Stack: ...
BIPUSH BIPUSH - Push byte Stack: ...
BranchHandle BranchHandle is returned by specialized InstructionList.append() whenever a BranchInstruction is appended.
BranchInstruction Abstract super class for branching instructions like GOTO, IFEQ, etc..
CALOAD CALOAD - Load char from array Stack: ...
CASTORE CASTORE - Store into char array Stack: ...
CHECKCAST CHECKCAST - Check whether object is of given type Stack: ...
ClassGen Template class for building up a java class.
CodeExceptionGen This class represents an exception handler, i.e. specifies the region where a handler is active and an instruction where the actual handling is done. pool as parameters.
ConstantPoolGen This class is used to consequently build up a constant pool.
CPInstruction Abstract super class for instructions that use an index into the constant pool such as LDC, INVOKEVIRTUAL, etc.
D2F D2F - Convert double to float Stack: ...
D2I D2I - Convert double to int Stack: ...
D2L D2L - Convert double to long Stack: ...
DADD DADD - Add doubles Stack: ...
DALOAD DALOAD - Load double from array Stack: ...
DASTORE DASTORE - Store into double array Stack: ...
DCMPG DCMPG - Compare doubles: value1 > value2 Stack: ...
DCMPL DCMPL - Compare doubles: value1 < value2 Stack: ...
DCONST DCONST - Push 0.0 or 1.0, other values cause an exception Stack: ...
DDIV DDIV - Divide doubles Stack: ...
DLOAD DLOAD - Load double from local variable Stack ...
DMUL DMUL - Multiply doubles Stack: ...
DNEG DNEG - Negate double Stack: ...
DREM DREM - Remainder of doubles Stack: ...
DRETURN DRETURN - Return double from method Stack: ...
DSTORE DSTORE - Store double into local variable Stack ...
DSUB DSUB - Substract doubles Stack: ...
DUP_X1 DUP_X1 - Duplicate top operand stack word and put two down Stack: ...
DUP_X2 DUP_X2 - Duplicate top operand stack word and put three down Stack: ...
DUP2_X1 DUP2_X1 - Duplicate two top operand stack words and put three down Stack: ...
DUP2_X2 DUP2_X2 - Duplicate two top operand stack words and put four down Stack: ...
DUP2 DUP2 - Duplicate two top operand stack words Stack: ...
DUP DUP - Duplicate top operand stack word Stack: ...
F2D F2D - Convert float to double Stack: ...
F2I F2I - Convert float to int Stack: ...
F2L F2L - Convert float to long Stack: ...
FADD FADD - Add floats Stack: ...
FALOAD FALOAD - Load float from array Stack: ...
FASTORE FASTORE - Store into float array Stack: ...
FCMPG FCMPG - Compare floats: value1 > value2 Stack: ...
FCMPL FCMPL - Compare floats: value1 < value2 Stack: ...
FCONST FCONST - Push 0.0, 1.0 or 2.0, other values cause an exception Stack: ...
FDIV FDIV - Divide floats Stack: ...
FieldGen Template class for building up a field.
FieldInstruction Super class for the GET/PUTxxx family of instructions.
FindPattern This class is an utility to search for given patterns, i.e. regular expressions in an instruction list.
FLOAD FLOAD - Load float from local variable Stack ...
FMUL FMUL - Multiply floats Stack: ...
FNEG FNEG - Negate float Stack: ...
FREM FREM - Remainder of floats Stack: ...
FRETURN FRETURN - Return float from method Stack: ...
FSTORE FSTORE - Store float into local variable Stack ...
FSUB FSUB - Substract floats Stack: ...
GETFIELD GETFIELD - Fetch field from object Stack: ...
GETSTATIC GETSTATIC - Fetch static field from class Stack: ...
GOTO_W GOTO_W - Branch always (offset, not address)
GOTO GOTO - Branch always (offset, not address)
I2B I2B - Convert int to byte Stack: ...
I2C I2C - Convert int to char Stack: ...
I2D I2D - Convert int to double Stack: ...
I2F I2F - Convert int to float Stack: ...
I2L I2L - Convert int to long Stack: ...
I2S I2S - Convert int to short Stack: ...
IADD IADD - Add ints Stack: ...
IALOAD IALOAD - Load int from array Stack: ...
IAND IAND - Bitwise AND int Stack: ...
IASTORE IASTORE - Store into int array Stack: ...
ICONST ICONST - Push value between -1, ...
IDIV IDIV - Divide ints Stack: ...
IF_ACMPEQ IF_ACMPEQ - Branch if reference comparison succeeds Stack: ...
IF_ACMPNE IF_ACMPNE - Branch if reference comparison doesn't succeed Stack: ...
IF_ICMPEQ IF_ICMPEQ - Branch if int comparison succeeds Stack: ...
IF_ICMPGE IF_ICMPGE - Branch if int comparison succeeds Stack: ...
IF_ICMPGT IF_ICMPGT - Branch if int comparison succeeds Stack: ...
IF_ICMPLE IF_ICMPLE - Branch if int comparison succeeds Stack: ...
IF_ICMPLT IF_ICMPLT - Branch if int comparison succeeds Stack: ...
IF_ICMPNE IF_ICMPNE - Branch if int comparison doesn't succeed Stack: ...
IFEQ IFEQ - Branch if int comparison with zero succeeds Stack: ...
IFGE IFGE - Branch if int comparison with zero succeeds Stack: ...
IFGT IFGT - Branch if int comparison with zero succeeds Stack: ...
IfInstruction Super class for the IFxxx family of instructions.
IFLE IFLE - Branch if int comparison with zero succeeds Stack: ...
IFLT IFLT - Branch if int comparison with zero succeeds Stack: ...
IFNE IFNE - Branch if int comparison with zero succeeds Stack: ...
IFNONNULL IFNONNULL - Branch if reference is not null Stack: ...
IFNULL IFNULL - Branch if reference is not null Stack: ...
IINC IINC - Increment local variable by constant
ILOAD ILOAD - Load int from local variable Stack ...
IMPDEP1 IMPDEP1 - Implementation dependent
IMPDEP2 IMPDEP2 - Implementation dependent
IMUL IMUL - Multiply ints Stack: ...
INEG INEG - Negate int Stack: ...
INSTANCEOF INSTANCEOF - Determine if object is of given type Stack: ...
Instruction This abstract class is the super class for all java byte codes.
InstructionHandle Instances of this class give users a handle to the instructions contained in an InstructionList.
InstructionList This class is a container for a list of `Instruction's, instructions can be appended, inserted, deleted, etc..
InvokeInstruction Super class for the INVOKExxx family of instructions.
INVOKEINTERFACE INVOKEINTERFACE - Invoke interface method Stack: ...
INVOKESPECIAL INVOKESPECIAL - Invoke instance method; special handling for superclass, private and instance initialization method invocations Stack: ...
INVOKESTATIC INVOKESTATIC - Invoke a class (static) method Stack: ...
INVOKEVIRTUAL INVOKEVIRTUAL - Invoke instance method; dispatch based on class Stack: ...
IOR IOR - Bitwise OR int Stack: ...
IREM IREM - Remainder of int Stack: ...
IRETURN IRETURN - Return int from method Stack: ...
ISHL ISHL - Arithmetic shift left int Stack: ...
ISHR ISHR - Arithmetic shift right int Stack: ...
ISTORE ISTORE - Store int into local variable Stack ...
ISUB ISUB - Substract ints Stack: ...
IUSHR IUSHR - Logical shift right int Stack: ...
IXOR IXOR - Bitwise XOR int Stack: ...
JSR_W JSR_W - Jump to subroutine
JSR JSR - Jump to subroutine
L2D L2D - Convert long to double Stack: ...
L2F L2F - Convert long to float Stack: ...
L2I L2I - Convert long to int Stack: ...
LADD LADD - Add longs Stack: ...
LALOAD LALOAD - Load long from array Stack: ...
LAND LAND - Bitwise AND longs Stack: ...
LASTORE LASTORE - Store into long array Stack: ...
LCMP LCMP - Compare longs: Stack: ...
LCONST LCONST - Push 0 or 1, other values cause an exception Stack: ...
LDC_W LDC_W - Push item from constant pool (wide index) Stack: ...
LDC2_W LDC2_W - Push long or double from constant pool Stack: ...
LDC LDC - Push item from constant pool Stack: ...
LDIV LDIV - Divide longs Stack: ...
LineNumberGen This class represents a line number within a method, i.e. give an instruction a line number corresponding to the source code line.
LLOAD LLOAD - Load long from local variable Stack ...
LMUL LMUL - Multiply longs Stack: ...
LNEG LNEG - Negate long Stack: ...
LocalVariableGen This class represents a local variable within a method.
LocalVariableInstruction Abstract super class for instructions dealing with local variables.
LOOKUPSWITCH LOOKUPSWITCH - Switch with unordered set of values
LOR LOR - Bitwise OR long Stack: ...
LREM LREM - Remainder of long Stack: ...
LRETURN LRETURN - Return long from method Stack: ...
LSHL LSHL - Arithmetic shift left long Stack: ...
LSHR LSHR - Arithmetic shift right long Stack: ...
LSTORE LSTORE - Store long into local variable Stack ...
LSUB LSUB - Substract longs Stack: ...
LUSHR LUSHR - Logical shift right long Stack: ...
LXOR LXOR - Bitwise XOR long Stack: ...
MethodGen Template class for building up a method.
MONITORENTER MONITORENTER - Enter monitor for object Stack: ...
MONITOREXIT MONITOREXIT - Exit monitor for object Stack: ...
MULTIANEWARRAY MULTIANEWARRAY - Create new mutidimensional array of references Stack: ...
NEWARRAY NEWARRAY - Create new array of basic type (int, short, ...)
NEW NEW - Create new object Stack: ...
NOP NOP - Do nothing
ObjectType Denotes reference such as java.lang.
POP2 POP2 - Pop two top operand stack words Stack: ...
POP POP - Pop top operand stack word Stack: ...
PopInstruction Denotes an unparameterized instruction that pops a value from the top of the stack, namely POP and POP2.
PUSH Wrapper class for push operations, which are implemented either as BIPUSH, LDC or xCONST_n instructions.
PUTFIELD PUTFIELD - Put field in object Stack: ...
PUTSTATIC PUTSTATIC - Put static field in class Stack: ...
ReferenceType Super class for objects and arrays.
RET RET - Return from subroutine Stack: ...
RETURN RETURN - Return from void method Stack: ...
ReturnInstruction Super class for the xRETURN family of instructions.
SALOAD SALOAD - Load short from array Stack: ...
SASTORE SASTORE - Store into short array Stack: ...
Select Select - Abstract super class for LOOKUPSWITCH and TABLESWITCH instructions.
SIPUSH SIPUSH - Push short Stack: ...
SWAP SWAP - Swa top operand stack word Stack: ...
SWITCH SWITCH - Branch depending on int value, generates either LOOKUPSWITCH or TABLESWITCH instruction, depending on whether the match values (int[]) can be sorted with no gaps between the numbers.
TABLESWITCH TABLESWITCH - Switch within given range of values, i.e. low..high
Type Abstract super class for all possible java types, namely basic types such as int, object types like String and array types, e.g. int[]
 

Exception Summary
ClassGenException Thrown on internal errors.
 


Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE | NEXT PACKAGE FRAMES  | NO FRAMES