Uses of Class org.apache.bcel.generic.ConstantPoolGen

Uses in package org.apache.bcel.generic

Constructors with parameter type org.apache.bcel.generic.ConstantPoolGen

ClassGen.ClassGen(String class_name, String super_class_name, String file_name, int access_flags, String[] interfaces, ConstantPoolGen cp)
Convenience constructor to set up some important values initially.
FieldGen.FieldGen(int access_flags, Type type, String name, ConstantPoolGen cp)
Declare a field.
Instantiate from existing field.
Initialize just with ConstantPoolGen object
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.
MethodGen.MethodGen(Method m, String class_name, ConstantPoolGen cp)
Instantiate from existing method.
PUSH.PUSH(ConstantPoolGen cp, Boolean value)
PUSH.PUSH(ConstantPoolGen cp, Character value)
PUSH.PUSH(ConstantPoolGen cp, Number value)
PUSH.PUSH(ConstantPoolGen cp, String value)
PUSH.PUSH(ConstantPoolGen cp, boolean value)
PUSH.PUSH(ConstantPoolGen cp, double value)
PUSH.PUSH(ConstantPoolGen cp, float value)
PUSH.PUSH(ConstantPoolGen cp, int value)
This constructor also applies for values of type short, char, byte
PUSH.PUSH(ConstantPoolGen cp, long value)

Fields of type org.apache.bcel.generic.ConstantPoolGen

ConstantPoolGen
ConstantPoolGen

Methods with parameter type org.apache.bcel.generic.ConstantPoolGen

int
Import constant from another ConstantPool and return new index.
int
This method also gives right results for instructions whose effect on the stack depends on the constant pool entry they reference.
int
Also works for instructions whose stack effect depends on the constant pool entry they reference.
int
Also works for instructions whose stack effect depends on the constant pool entry they reference.
int
Also works for instructions whose stack effect depends on the constant pool entry they reference.
int
int
int
MethodGen
MethodGen.copy(String class_name, ConstantPoolGen cp)
FieldGen
Type[]
String
ObjectType
CodeException
Get CodeException object.
This relies on that the instruction list has already been dumped to byte code or or that the `setPositions' methods has been called for the instruction list.
String
int
Type
LineNumberTable
ObjectType
Returns the ObjectType of the referenced class or interface that may be loaded and resolved.
ObjectType
ObjectType
ObjectType
Returns the ObjectType of the referenced class or interface that may be loaded and resolved.
ObjectType
Returns the ObjectType of the referenced class or interface that may be loaded and resolved.
ObjectType
ObjectType
Returns the ObjectType of the referenced class or interface that may be loaded and resolved.
LocalVariable
Get LocalVariable object.
LocalVariableTable
int
Computes stack usage of an instruction list by performing control flow analysis.
String
String
Type
String
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
Object
Number
int
int
int
This method also gives right results for instructions whose effect on the stack depends on the constant pool entry they reference.
int
Also works for instructions whose stack effect depends on the constant pool entry they reference.
int
void
Replace all references to the old constant pool with references to the new constant pool
void
void
void

Methods with return type org.apache.bcel.generic.ConstantPoolGen

ConstantPoolGen
ConstantPoolGen
ConstantPoolGen

Uses in package org.apache.bcel.verifier.structurals

Methods with parameter type org.apache.bcel.generic.ConstantPoolGen

void
Sets the ConstantPoolGen needed for symbolic execution.
void
Sets the ConstantPoolGen instance needed for constraint checking prior to execution.