| 
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use ConstantPoolGen | |
| org.apache.bcel.generic | This package contains the "generic" part of the Byte Code Engineering Library, i.e., classes to dynamically modify class objects and byte code instructions. | 
| org.apache.bcel.verifier.structurals | Provides a PassVerifier class mostly used internally by JustIce, yielding a control flow graph for public use as a nice side effect. | 
| Uses of ConstantPoolGen in org.apache.bcel.generic | 
| Fields in org.apache.bcel.generic declared as ConstantPoolGen | |
protected  ConstantPoolGen | 
InstructionFactory.cp
 | 
protected  ConstantPoolGen | 
FieldGenOrMethodGen.cp
 | 
| Methods in org.apache.bcel.generic that return ConstantPoolGen | |
 ConstantPoolGen | 
InstructionFactory.getConstantPool()
 | 
 ConstantPoolGen | 
FieldGenOrMethodGen.getConstantPool()
 | 
 ConstantPoolGen | 
ClassGen.getConstantPool()
 | 
| Methods in org.apache.bcel.generic with parameters of type ConstantPoolGen | |
 Type | 
TypedInstruction.getType(ConstantPoolGen cpg)
 | 
 int | 
StackProducer.produceStack(ConstantPoolGen cpg)
 | 
 Type | 
StackInstruction.getType(ConstantPoolGen cp)
 | 
 int | 
StackConsumer.consumeStack(ConstantPoolGen cpg)
 | 
 Type | 
SIPUSH.getType(ConstantPoolGen cp)
 | 
 Type | 
ReturnInstruction.getType(ConstantPoolGen cp)
 | 
 Type | 
RET.getType(ConstantPoolGen cp)
 | 
 int | 
PUTSTATIC.consumeStack(ConstantPoolGen cpg)
 | 
 int | 
PUTFIELD.consumeStack(ConstantPoolGen cpg)
 | 
 ObjectType | 
NEW.getLoadClassType(ConstantPoolGen cpg)
 | 
 int | 
MULTIANEWARRAY.consumeStack(ConstantPoolGen cpg)
Also works for instructions whose stack effect depends on the constant pool entry they reference.  | 
 ObjectType | 
MULTIANEWARRAY.getLoadClassType(ConstantPoolGen cpg)
 | 
 LocalVariableTable | 
MethodGen.getLocalVariableTable(ConstantPoolGen cp)
 | 
 LineNumberTable | 
MethodGen.getLineNumberTable(ConstantPoolGen cp)
 | 
static int | 
MethodGen.getMaxStack(ConstantPoolGen cp,
            InstructionList il,
            CodeExceptionGen[] et)
Computes stack usage of an instruction list by performing control flow analysis.  | 
 MethodGen | 
MethodGen.copy(java.lang.String class_name,
     ConstantPoolGen cp)
 | 
 Type | 
LocalVariableInstruction.getType(ConstantPoolGen cp)
Returns the type associated with the instruction - in case of ALOAD or ASTORE Type.OBJECT is returned.  | 
 LocalVariable | 
LocalVariableGen.getLocalVariable(ConstantPoolGen cp)
Get LocalVariable object.  | 
 ObjectType | 
LoadClass.getLoadClassType(ConstantPoolGen cpg)
Returns the ObjectType of the referenced class or interface that may be loaded and resolved.  | 
 Type | 
LoadClass.getType(ConstantPoolGen cpg)
Returns the type associated with this instruction.  | 
 Type | 
LDC2_W.getType(ConstantPoolGen cpg)
 | 
 java.lang.Number | 
LDC2_W.getValue(ConstantPoolGen cpg)
 | 
 java.lang.Object | 
LDC.getValue(ConstantPoolGen cpg)
 | 
 Type | 
LDC.getType(ConstantPoolGen cpg)
 | 
 Type | 
LCONST.getType(ConstantPoolGen cp)
 | 
 Type | 
LCMP.getType(ConstantPoolGen cp)
 | 
 Type | 
JsrInstruction.getType(ConstantPoolGen cp)
 | 
 int | 
INVOKEINTERFACE.consumeStack(ConstantPoolGen cpg)
 | 
 int | 
InvokeInstruction.consumeStack(ConstantPoolGen cpg)
Also works for instructions whose stack effect depends on the constant pool entry they reference.  | 
 int | 
InvokeInstruction.produceStack(ConstantPoolGen cpg)
Also works for instructions whose stack effect depends on the constant pool entry they reference.  | 
 Type | 
InvokeInstruction.getType(ConstantPoolGen cpg)
 | 
 java.lang.String | 
InvokeInstruction.getMethodName(ConstantPoolGen cpg)
 | 
 Type | 
InvokeInstruction.getReturnType(ConstantPoolGen cpg)
 | 
 Type[] | 
InvokeInstruction.getArgumentTypes(ConstantPoolGen cpg)
 | 
 void | 
InstructionList.replaceConstantPool(ConstantPoolGen old_cp,
                    ConstantPoolGen new_cp)
Replace all references to the old constant pool with references to the new constant pool  | 
 void | 
InstructionList.replaceConstantPool(ConstantPoolGen old_cp,
                    ConstantPoolGen new_cp)
Replace all references to the old constant pool with references to the new constant pool  | 
 void | 
InstructionFactory.setConstantPool(ConstantPoolGen c)
 | 
 int | 
Instruction.consumeStack(ConstantPoolGen cpg)
This method also gives right results for instructions whose effect on the stack depends on the constant pool entry they reference.  | 
 int | 
Instruction.produceStack(ConstantPoolGen cpg)
This method also gives right results for instructions whose effect on the stack depends on the constant pool entry they reference.  | 
 ObjectType | 
INSTANCEOF.getLoadClassType(ConstantPoolGen cpg)
 | 
 Type | 
IINC.getType(ConstantPoolGen cp)
 | 
 Type | 
ICONST.getType(ConstantPoolGen cp)
 | 
 int | 
GETSTATIC.produceStack(ConstantPoolGen cpg)
 | 
 int | 
GETFIELD.produceStack(ConstantPoolGen cpg)
 | 
 java.lang.String | 
FieldOrMethod.getSignature(ConstantPoolGen cpg)
 | 
 java.lang.String | 
FieldOrMethod.getName(ConstantPoolGen cpg)
 | 
 java.lang.String | 
FieldOrMethod.getClassName(ConstantPoolGen cpg)
 | 
 ObjectType | 
FieldOrMethod.getClassType(ConstantPoolGen cpg)
 | 
 ObjectType | 
FieldOrMethod.getLoadClassType(ConstantPoolGen cpg)
 | 
protected  int | 
FieldInstruction.getFieldSize(ConstantPoolGen cpg)
 | 
 Type | 
FieldInstruction.getType(ConstantPoolGen cpg)
 | 
 Type | 
FieldInstruction.getFieldType(ConstantPoolGen cpg)
 | 
 java.lang.String | 
FieldInstruction.getFieldName(ConstantPoolGen cpg)
 | 
 void | 
FieldGenOrMethodGen.setConstantPool(ConstantPoolGen cp)
 | 
 FieldGen | 
FieldGen.copy(ConstantPoolGen cp)
 | 
 Type | 
FCONST.getType(ConstantPoolGen cp)
 | 
 Type | 
FCMPL.getType(ConstantPoolGen cp)
 | 
 Type | 
FCMPG.getType(ConstantPoolGen cp)
 | 
 Type | 
DCONST.getType(ConstantPoolGen cp)
 | 
 Type | 
DCMPL.getType(ConstantPoolGen cp)
 | 
 Type | 
DCMPG.getType(ConstantPoolGen cp)
 | 
 Type | 
CPInstruction.getType(ConstantPoolGen cpg)
 | 
 Type | 
ConversionInstruction.getType(ConstantPoolGen cp)
 | 
 int | 
ConstantPoolGen.addConstant(Constant c,
            ConstantPoolGen cp)
Import constant from another ConstantPool and return new index.  | 
 CodeException | 
CodeExceptionGen.getCodeException(ConstantPoolGen cp)
Get CodeException object.  | 
 void | 
ClassGen.setConstantPool(ConstantPoolGen constant_pool)
 | 
 ObjectType | 
CHECKCAST.getLoadClassType(ConstantPoolGen cpg)
 | 
 Type | 
BIPUSH.getType(ConstantPoolGen cp)
 | 
 Type | 
ArrayInstruction.getType(ConstantPoolGen cp)
 | 
 Type | 
ArithmeticInstruction.getType(ConstantPoolGen cp)
 | 
 ObjectType | 
ANEWARRAY.getLoadClassType(ConstantPoolGen cpg)
 | 
 Type | 
ACONST_NULL.getType(ConstantPoolGen cp)
 | 
| Constructors in org.apache.bcel.generic with parameters of type ConstantPoolGen | |
PUSH(ConstantPoolGen cp,
     int value)
This constructor also applies for values of type short, char, byte  | 
|
PUSH(ConstantPoolGen cp,
     boolean value)
 | 
|
PUSH(ConstantPoolGen cp,
     float value)
 | 
|
PUSH(ConstantPoolGen cp,
     long value)
 | 
|
PUSH(ConstantPoolGen cp,
     double value)
 | 
|
PUSH(ConstantPoolGen cp,
     java.lang.String value)
 | 
|
PUSH(ConstantPoolGen cp,
     java.lang.Number value)
 | 
|
PUSH(ConstantPoolGen cp,
     java.lang.Character value)
 | 
|
PUSH(ConstantPoolGen cp,
     java.lang.Boolean value)
 | 
|
MethodGen(int access_flags,
          Type return_type,
          Type[] arg_types,
          java.lang.String[] arg_names,
          java.lang.String method_name,
          java.lang.String class_name,
          InstructionList il,
          ConstantPoolGen cp)
Declare method.  | 
|
MethodGen(Method m,
          java.lang.String class_name,
          ConstantPoolGen cp)
Instantiate from existing method.  | 
|
InstructionFactory(ClassGen cg,
                   ConstantPoolGen cp)
 | 
|
InstructionFactory(ConstantPoolGen cp)
Initialize just with ConstantPoolGen object  | 
|
FieldGen(int access_flags,
         Type type,
         java.lang.String name,
         ConstantPoolGen cp)
Declare a field.  | 
|
FieldGen(Field field,
         ConstantPoolGen cp)
Instantiate from existing field.  | 
|
ClassGen(java.lang.String class_name,
         java.lang.String super_class_name,
         java.lang.String file_name,
         int access_flags,
         java.lang.String[] interfaces,
         ConstantPoolGen cp)
Convenience constructor to set up some important values initially.  | 
|
| Uses of ConstantPoolGen in org.apache.bcel.verifier.structurals | 
| Methods in org.apache.bcel.verifier.structurals with parameters of type ConstantPoolGen | |
 void | 
InstConstraintVisitor.setConstantPoolGen(ConstantPoolGen cpg)
Sets the ConstantPoolGen instance needed for constraint checking prior to execution.  | 
 void | 
ExecutionVisitor.setConstantPoolGen(ConstantPoolGen cpg)
Sets the ConstantPoolGen needed for symbolic execution.  | 
  | 
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||