| Frames | No Frames |
Classes derived from org.apache.bcel.generic.Type | |
| class | This class represents an uninitialized object type; see The Java
Virtual Machine Specification, Second Edition, page 147: 4.9.4 for
more details. |
Methods with parameter type org.apache.bcel.generic.Type | |
| void | Pushes a Type object onto the stack. |
| void | Sets a new Type for the given local variable slot. |
Methods with return type org.apache.bcel.generic.Type | |
| Type | LocalVariables.get(int i) Returns the type of the local variable slot i. |
| Type | Returns the element on top of the stack. |
| Type | OperandStack.peek(int i) Returns the element that's i elements below the top element; that means,
iff i==0 the top element is returned. |
| Type | Returns the element on top of the stack. |
| Type | OperandStack.pop(int i) Pops i elements off the stack. |
Methods with return type org.apache.bcel.generic.Type | |
| Type[] | |
| Type | |
| Type | |
Classes derived from org.apache.bcel.generic.Type | |
| class | Denotes array type, such as int[][]
|
| class | Denotes basic type such as int. |
| class | Denotes reference such as java.lang.String. |
| class | Super class for object and array types. |
| class | Returnaddress, the type JSR or JSR_W instructions push upon the stack. |
Constructors with parameter type org.apache.bcel.generic.Type | |
Constructor for array of given type
| |
Declare a field. | |
LocalVariableGen.LocalVariableGen(int index, String name, Type type, InstructionHandle start, InstructionHandle end) Generate a local variable that with index `index'. | |
MethodGen.MethodGen(int access_flags, Type return_type, Type[] arg_types, String[] arg_names, String method_name, String class_name, InstructionList il, ConstantPoolGen cp) Declare method. | |
Fields of type org.apache.bcel.generic.Type | |
| Type[] | |
| Type | |
| Type | |
Methods with parameter type org.apache.bcel.generic.Type | |
| LocalVariableGen | MethodGen.addLocalVariable(String name, Type type, int slot, InstructionHandle start, InstructionHandle end) Adds a local variable to this method. |
| LocalVariableGen | Adds a local variable to this method and assigns an index automatically. |
| Instruction | |
| ArrayInstruction | |
| ArrayInstruction | |
| ArithmeticInstruction | Create binary operation for simple basic types, such as int and float. |
| Instruction | Create conversion operation for two stack operands, this may be an I2C, instruction, e.g.,
if the operands are basic types and CHECKCAST if they are reference types. |
| FieldInstruction | Create a field instruction. |
| GETFIELD | |
| GETSTATIC | |
| InvokeInstruction | InstructionFactory.createInvoke(String class_name, String name, Type ret_type, Type[] arg_types, short kind) Create an invoke instruction. |
| LocalVariableInstruction | |
| Instruction | Create new array of given size and type. |
| Instruction | Create "null" value for reference types, 0 for basic types like int
|
| PUTFIELD | |
| PUTSTATIC | |
| ReturnInstruction | Create typed return
|
| LocalVariableInstruction | |
| String | Convert type to Java method signature, e.g. |
| boolean | Return true iff this is assignment compatible with another type t
as defined in the JVM specification; see the AASTORE definition
there. |
| boolean | Return true iff this type is castable to another type t as defined in
the JVM specification. |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
Methods with return type org.apache.bcel.generic.Type | |
| Type | MethodGen.getArgumentType(int i) |
| Type[] | |
| Type[] | Type.getArgumentTypes(String signature) Convert arguments of a method (signature) to an array of Type objects. |
| Type[] | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | Type.getReturnType(String signature) Convert return value of a method (signature) to a Type object. |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | Convert signature to a Type object. |
| Type | Convert runtime java.lang.Class to BCEL Type object. |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | Returns the type associated with this instruction. |
| Type | Returns the type associated with the instruction -
in case of ALOAD or ASTORE Type.OBJECT is returned. |
| Type | |
| Type | |
| Type | |
| Type | |
| Type | |
Classes derived from org.apache.bcel.generic.Type | |
| class | This class represents the upper half of a DOUBLE variable. |
| class | This class represents the upper half of a LONG variable. |
Methods with parameter type org.apache.bcel.generic.Type | |
| void | Adds some information about this local variable (slot). |
| void | Adds information about the local variable in slot 'slot'. |
Methods with return type org.apache.bcel.generic.Type | |
| Type | LocalVariableInfo.getType(int offset) Returns the type of the local variable that uses this local
variable slot at the given bytecode offset. |