Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.chaoswg.xtc4y.classdesc.code.instructions: Javadoc index of package com.chaoswg.xtc4y.classdesc.code.instructions.


Package Samples:

com.chaoswg.xtc4y.classdesc.code.instructions

Classes:

LookupSwitchInstruction: A Lookup switch instruction is used to represent switch statements. It consists of the command, an int giving the number of entries, an int defining the default jump address and a set of entries where each entry consists of two ints, the case number and the jump address. The end of a LookupSwitch Instruction is aligned to 4 byte and therefore gaps are filled up with nop's. !The empty instructions are filled up before the default jump adress and the numberOfEntries That means: (1byte+4bytes+4bytes+(4bytes+4bytes)*+((index+length)%4))
TableSwitchInstruction: A Lookup switch instruction is used to represent switch statements. It consists of the command, an int giving the start number, an int defining the last number of table entires, an int defining the default jump address and a set of entries where each entry consists of one int, a jump address. The end of a TableSwitch Instruction is aligned to 4 byte and therefore gaps are filled up with nop's. That means: (1byte+4bytes+4bytes+4bytes+(4bytes)*+((index+length)%4)) TBD: add methods to instanciate a tableswitch without a stream
InvokeInterface: A invoke interface instruction is used by calling a interface method. It consists of the command, the number of arguments passed, a index to a MethodsInterfacerefCPEntry and the byte value 0. The number of used bytes is therefore 5 (4 byte operands and the command) TBD: add constructor for an instruction creation withou stream
Instruction: An instruction is a operation executed in java and consists either of no operand or one operand. The size of the operand my vary between a byte and a short. These specific instructions are implemented in the subclasses
CPRefInstruction: a constant pool refernece instruction is an instruction composite of the command and a short refering into the cp table.
UnaryInstruction: An unaryinstruction consists only of a command with no operands. the size of such an instruction is 1 byte
MethodrefInstruction: Just a constructor for the creation of a methodreference instructions. Mainly used for invoke instructions
ShortCPRefInstruction: This cpreference instruction has as an operand just a byte representing a valid index into the cp table
WideBinaryInstruction: A binary instruction consists of a command and one two bytes operand, therefore its size is 3 bytes
TrinaryInstruction: A binary instruction consists of a command and two one byte operands, therefore its size is 3 bytes
BinaryInstruction: A binary instruction consists of a command and one one byte operand, therefore its size is 2 bytes
JumpInstruction: a jump instruction refers to another instruction if expression evaluates to true
LDC: a LDC_W instruction, loads an int, byte, short, char or string from the cp
LDC_W: a LDC_W instruction, loads an int, byte, short, char or string from the cp
GetStatic: The GetStatic instruction, retrieves data from a static instance variable
PutStatic: The PutStatic instruction, stores data in a static instance variable
FieldrefInstruction: Just a constructor for the creation of a fieldreference instructions
GetField: The GetField instruction, retrieves data from an instance variable
PutField: The PutField instruction, stores data in an instance variable
ClassInstruction: Used for object creational and object checking instructions
LDC2_W: a LDC2_W instruction, loads a double or float from the cp
InstructionDisassembler: This class just disassembles opcodes to instructions
NewArray: A newarray instruction instanciate a array
MultiANewArray: Creates a multidimensional array
InvokeSpecial: Invoke a initialisation method

Home | Contact Us | Privacy Policy | Terms of Service