Uses of Class
org.aspectj.apache.bcel.classfile.ConstantPool

Packages that use ConstantPool
org.aspectj.apache.bcel.classfile   
org.aspectj.apache.bcel.classfile.annotation   
org.aspectj.apache.bcel.generic   
org.aspectj.weaver.bcel   
 

Uses of ConstantPool in org.aspectj.apache.bcel.classfile
 

Methods in org.aspectj.apache.bcel.classfile that return ConstantPool
 ConstantPool ConstantPool.copy()
           
 ConstantPool FieldOrMethod.getConstantPool()
           
 ConstantPool LocalVariable.getConstantPool()
           
 ConstantPool JavaClass.getConstantPool()
           
 ConstantPool StackMapEntry.getConstantPool()
           
 ConstantPool StackMapType.getConstantPool()
           
 ConstantPool Attribute.getConstantPool()
           
 ConstantPool ConstantPool.getFinalConstantPool()
           
 

Methods in org.aspectj.apache.bcel.classfile with parameters of type ConstantPool
 int ConstantPool.addConstant(Constant c, ConstantPool cp)
           
static java.lang.String Utility.codeToString(byte[] code, ConstantPool constant_pool, int index, int length)
          Disassemble a stream of byte codes and return the string representation.
static java.lang.String Utility.codeToString(byte[] code, ConstantPool constant_pool, int index, int length, boolean verbose)
          Disassemble a byte array of JVM byte codes starting from code line 'index' and return the disassembled string representation.
static java.lang.String Utility.codeToString(ByteSequence bytes, ConstantPool constant_pool)
           
static java.lang.String Utility.codeToString(ByteSequence bytes, ConstantPool constant_pool, boolean verbose)
          Disassemble a stream of byte codes and return the string representation.
 Attribute AnnotationDefault.copy(ConstantPool constant_pool)
           
 Attribute EnclosingMethod.copy(ConstantPool constant_pool)
           
static java.util.Collection<RuntimeAnnos> Utility.getAnnotationAttributes(ConstantPool cp, java.util.List<AnnotationGen> annotations)
          Converts a list of AnnotationGen objects into a set of attributes that can be attached to the class file.
 java.lang.String ConstantCP.getClass(ConstantPool cp)
           
 java.lang.String ConstantClass.getClassname(ConstantPool cpool)
           
 java.lang.Object ConstantObject.getConstantValue(ConstantPool cp)
           
 java.lang.String ConstantNameAndType.getName(ConstantPool cp)
           
static Attribute[] Utility.getParameterAnnotationAttributes(ConstantPool cp, java.util.List<AnnotationGen>[] vec)
          Annotations against a class are stored in one of four attribute kinds: - RuntimeVisibleParameterAnnotations - RuntimeInvisibleParameterAnnotations
 java.lang.String ConstantNameAndType.getSignature(ConstantPool cp)
           
 java.lang.String ConstantString.getString(ConstantPool cpool)
           
static Attribute Attribute.readAttribute(java.io.DataInputStream file, ConstantPool cpool)
           
static Attribute[] AttributeUtils.readAttributes(java.io.DataInputStream dataInputstream, ConstantPool cpool)
           
 void LocalVariable.setConstantPool(ConstantPool constant_pool)
           
 void JavaClass.setConstantPool(ConstantPool constant_pool)
           
 void StackMapEntry.setConstantPool(ConstantPool constant_pool)
           
 void StackMapType.setConstantPool(ConstantPool constant_pool)
           
 java.lang.String CodeException.toString(ConstantPool cp)
           
 java.lang.String InnerClass.toString(ConstantPool constant_pool)
           
 java.lang.String CodeException.toString(ConstantPool cp, boolean verbose)
           
 void ClassVisitor.visitConstantPool(ConstantPool obj)
           
 

Constructors in org.aspectj.apache.bcel.classfile with parameters of type ConstantPool
AnnotationDefault(int nameIndex, int len, java.io.DataInputStream dis, ConstantPool cpool)
           
Code(int name_index, int length, int max_stack, int max_locals, byte[] code, CodeException[] exception_table, Attribute[] attributes, ConstantPool constant_pool)
           
ConstantValue(int name_index, int length, int constantvalue_index, ConstantPool constant_pool)
           
Deprecated(int name_index, int length, byte[] bytes, ConstantPool constant_pool)
           
EnclosingMethod(int nameIndex, int len, java.io.DataInputStream dis, ConstantPool cpool)
           
ExceptionTable(int name_index, int length, int[] exception_index_table, ConstantPool constant_pool)
           
Field(int modifiers, int nameIndex, int signatureIndex, Attribute[] attributes, ConstantPool cpool)
           
InnerClasses(int name_index, int length, InnerClass[] inner_classes, ConstantPool constant_pool)
           
JavaClass(int classnameIndex, int superclassnameIndex, java.lang.String filename, int major, int minor, int access_flags, ConstantPool cpool, int[] interfaces, Field[] fields, Method[] methods, Attribute[] attributes)
           
LineNumberTable(int nameIndex, int length, LineNumber[] lineNumberTable, ConstantPool constantPool)
           
LocalVariable(int start_pc, int length, int name_index, int signature_index, int index, ConstantPool constant_pool)
           
LocalVariableTable(int name_index, int length, LocalVariable[] local_variable_table, ConstantPool constant_pool)
           
LocalVariableTypeTable(int name_index, int length, LocalVariable[] local_variable_table, ConstantPool constant_pool)
           
Method(int access_flags, int name_index, int signature_index, Attribute[] attributes, ConstantPool constant_pool)
           
Signature(int name_index, int length, int signature_index, ConstantPool constant_pool)
           
SourceFile(int name_index, int length, int sourcefile_index, ConstantPool constant_pool)
           
StackMap(int name_index, int length, StackMapEntry[] map, ConstantPool constant_pool)
           
StackMapEntry(int byte_code_offset, int number_of_locals, StackMapType[] types_of_locals, int number_of_stack_items, StackMapType[] types_of_stack_items, ConstantPool constant_pool)
           
StackMapType(byte type, int index, ConstantPool constant_pool)
           
Synthetic(int name_index, int length, byte[] bytes, ConstantPool constant_pool)
           
Unknown(int name_index, int length, byte[] bytes, ConstantPool constant_pool)
          Create a non-standard attribute.
 

Uses of ConstantPool in org.aspectj.apache.bcel.classfile.annotation
 

Methods in org.aspectj.apache.bcel.classfile.annotation with parameters of type ConstantPool
 Attribute RuntimeVisParamAnnos.copy(ConstantPool constant_pool)
           
 Attribute RuntimeVisAnnos.copy(ConstantPool constant_pool)
           
 Attribute RuntimeParamAnnos.copy(ConstantPool constant_pool)
           
 Attribute RuntimeInvisParamAnnos.copy(ConstantPool constant_pool)
           
 Attribute RuntimeInvisAnnos.copy(ConstantPool constant_pool)
           
static ElementValue ElementValue.copy(ElementValue value, ConstantPool cpool, boolean copyPoolEntries)
          Creates an (modifiable) ElementValueGen copy of an (immutable) ElementValue - constant pool is assumed correct.
static AnnotationGen AnnotationGen.read(java.io.DataInputStream dis, ConstantPool cpool, boolean b)
           
static ElementValue ElementValue.readElementValue(java.io.DataInputStream dis, ConstantPool cpGen)
           
 

Constructors in org.aspectj.apache.bcel.classfile.annotation with parameters of type ConstantPool
AnnotationElementValue(AnnotationElementValue value, ConstantPool cpool, boolean copyPoolEntries)
           
AnnotationElementValue(AnnotationGen a, ConstantPool cpool)
           
AnnotationElementValue(int type, AnnotationGen annotation, ConstantPool cpool)
           
AnnotationGen(AnnotationGen a, ConstantPool cpool, boolean copyPoolEntries)
           
AnnotationGen(ObjectType type, java.util.List<NameValuePair> pairs, boolean runtimeVisible, ConstantPool cpool)
          Retrieve an immutable version of this AnnotationGen
ArrayElementValue(ArrayElementValue value, ConstantPool cpool, boolean copyPoolEntries)
           
ArrayElementValue(ConstantPool cp)
           
ArrayElementValue(int type, ElementValue[] datums, ConstantPool cpool)
           
ClassElementValue(ClassElementValue value, ConstantPool cpool, boolean copyPoolEntries)
          Return immutable variant of this ClassElementValueGen
ClassElementValue(ObjectType t, ConstantPool cpool)
           
EnumElementValue(EnumElementValue value, ConstantPool cpool, boolean copyPoolEntries)
           
EnumElementValue(ObjectType t, java.lang.String value, ConstantPool cpool)
           
NameValuePair(NameValuePair pair, ConstantPool cpool, boolean copyPoolEntries)
           
NameValuePair(java.lang.String name, ElementValue value, ConstantPool cpool)
           
RuntimeAnnos(byte attrid, boolean visible, int nameIdx, int len, byte[] data, ConstantPool cpool)
           
RuntimeAnnos(byte attrid, boolean visible, int nameIdx, int len, ConstantPool cpool)
           
RuntimeInvisAnnos(int nameIndex, int len, byte[] rvaData, ConstantPool cpool)
           
RuntimeInvisAnnos(int nameIdx, int len, ConstantPool cpool)
           
RuntimeInvisAnnos(int nameIdx, int len, java.io.DataInputStream dis, ConstantPool cpool)
           
RuntimeInvisParamAnnos(int nameIndex, int len, byte[] rvaData, ConstantPool cpool)
           
RuntimeInvisParamAnnos(int nameIdx, int len, ConstantPool cpool)
           
RuntimeInvisParamAnnos(int nameIdx, int len, java.io.DataInputStream dis, ConstantPool cpool)
           
RuntimeParamAnnos(byte attrid, boolean visible, int nameIdx, int len, byte[] data, ConstantPool cpool)
           
RuntimeParamAnnos(byte attrid, boolean visible, int nameIdx, int len, ConstantPool cpool)
           
RuntimeVisAnnos(int nameIndex, int len, byte[] rvaData, ConstantPool cpool)
           
RuntimeVisAnnos(int nameIdx, int len, ConstantPool cpool)
           
RuntimeVisAnnos(int nameIdx, int len, java.io.DataInputStream dis, ConstantPool cpool)
           
RuntimeVisParamAnnos(int nameIndex, int len, byte[] rvaData, ConstantPool cpool)
           
RuntimeVisParamAnnos(int nameIdx, int len, ConstantPool cpool)
           
RuntimeVisParamAnnos(int nameIdx, int len, java.io.DataInputStream dis, ConstantPool cpool)
           
SimpleElementValue(int type, ConstantPool cpGen, boolean value)
           
SimpleElementValue(int type, ConstantPool cpGen, byte value)
           
SimpleElementValue(int type, ConstantPool cpGen, char value)
           
SimpleElementValue(int type, ConstantPool cpGen, double value)
           
SimpleElementValue(int type, ConstantPool cpGen, float value)
           
SimpleElementValue(int type, ConstantPool cpGen, int value)
           
SimpleElementValue(int type, ConstantPool cpGen, long value)
           
SimpleElementValue(int type, ConstantPool cpGen, short value)
           
SimpleElementValue(int type, ConstantPool cpGen, java.lang.String value)
           
SimpleElementValue(SimpleElementValue value, ConstantPool cpool, boolean copyPoolEntries)
          The boolean controls whether we copy info from the 'old' constant pool to the 'new'.
 

Uses of ConstantPool in org.aspectj.apache.bcel.generic
 

Methods in org.aspectj.apache.bcel.generic that return ConstantPool
 ConstantPool InstructionFactory.getConstantPool()
           
 ConstantPool FieldGenOrMethodGen.getConstantPool()
           
 ConstantPool ClassGen.getConstantPool()
           
 

Methods in org.aspectj.apache.bcel.generic with parameters of type ConstantPool
 void MethodGen.addParameterAnnotationsAsAttribute(ConstantPool cp)
           
 int MULTIANEWARRAY.consumeStack(ConstantPool cpg)
          Also works for instructions whose stack effect depends on the constant pool entry they reference.
 int InvokeInstruction.consumeStack(ConstantPool cpg)
          Also works for instructions whose stack effect depends on the constant pool entry they reference.
 int Instruction.consumeStack(ConstantPool cpg)
           
 int INVOKEINTERFACE.consumeStack(ConstantPool cpg)
           
 int FieldInstruction.consumeStack(ConstantPool cpg)
           
 Type[] InvokeInstruction.getArgumentTypes(ConstantPool cpg)
           
 java.lang.String FieldOrMethod.getClassName(ConstantPool cp)
           
 ObjectType FieldOrMethod.getClassType(ConstantPool cpg)
           
 CodeException CodeExceptionGen.getCodeException(ConstantPool cp)
          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.
 java.lang.String FieldInstruction.getFieldName(ConstantPool cpg)
           
 Type FieldInstruction.getFieldType(ConstantPool cpg)
           
 LineNumberTable MethodGen.getLineNumberTable(ConstantPool cp)
           
 ObjectType MULTIANEWARRAY.getLoadClassType(ConstantPool cpg)
           
 ObjectType Instruction.getLoadClassType(ConstantPool cpg)
           
 ObjectType FieldOrMethod.getLoadClassType(ConstantPool cpg)
           
 LocalVariable LocalVariableGen.getLocalVariable(ConstantPool cp)
          Get LocalVariable object.
 LocalVariableTable MethodGen.getLocalVariableTable(ConstantPool cp)
           
static int MethodGen.getMaxStack(ConstantPool cp, InstructionList il, CodeExceptionGen[] et)
          Computes stack usage of an instruction list by performing control flow analysis.
 java.lang.String InvokeInstruction.getMethodName(ConstantPool cpg)
           
 java.lang.String FieldOrMethod.getName(ConstantPool cp)
           
 Type InvokeInstruction.getReturnType(ConstantPool cpg)
           
 java.lang.String FieldOrMethod.getSignature(ConstantPool cp)
           
 Type RET.getType(ConstantPool cp)
           
 Type InvokeInstruction.getType(ConstantPool cpg)
           
 Type InstructionCP.getType(ConstantPool cpg)
           
 Type InstructionBranch.getType(ConstantPool cp)
           
 Type Instruction.getType(ConstantPool cp)
           
 Type FieldInstruction.getType(ConstantPool cpg)
           
 java.lang.Object InstructionCP.getValue(ConstantPool constantPool)
           
 java.lang.Object Instruction.getValue(ConstantPool cpg)
           
 int InvokeInstruction.produceStack(ConstantPool cpg)
          Also works for instructions whose stack effect depends on the constant pool entry they reference.
 int Instruction.produceStack(ConstantPool cpg)
           
 int FieldInstruction.produceStack(ConstantPool cpg)
           
static Instruction InstructionFactory.PUSH(ConstantPool cp, boolean value)
           
static Instruction InstructionFactory.PUSH(ConstantPool cp, java.lang.Boolean value)
           
static Instruction InstructionFactory.PUSH(ConstantPool cp, java.lang.Character value)
           
static Instruction InstructionFactory.PUSH(ConstantPool cp, double value)
           
static Instruction InstructionFactory.PUSH(ConstantPool cp, float value)
           
static Instruction InstructionFactory.PUSH(ConstantPool cp, int value)
          Returns the right instruction for putting whatever you want onto the stack
static Instruction InstructionFactory.PUSH(ConstantPool cp, long value)
           
static Instruction InstructionFactory.PUSH(ConstantPool cp, java.lang.Number value)
           
static Instruction InstructionFactory.PUSH(ConstantPool cp, ObjectType t)
           
static Instruction InstructionFactory.PUSH(ConstantPool cp, java.lang.String value)
           
 InstructionList InstructionFactory.PUSHCLASS(ConstantPool cp, java.lang.String className)
          Return a list that will load the Class object - on 1.5 or later use the class variant of ldc, whilst on earlier JVMs use the regular Class.forName.
 void InstructionList.replaceConstantPool(ConstantPool old_cp, ConstantPool new_cp)
          Replace all references to the old constant pool with references to the new constant pool
 void InstructionFactory.setConstantPool(ConstantPool c)
           
 void FieldGenOrMethodGen.setConstantPool(ConstantPool cp)
           
 void ClassGen.setConstantPool(ConstantPool constant_pool)
           
 java.lang.String MULTIANEWARRAY.toString(ConstantPool cp)
           
 java.lang.String InvokeInstruction.toString(ConstantPool cp)
           
 java.lang.String InstructionCP.toString(ConstantPool cp)
           
 java.lang.String INVOKEINTERFACE.toString(ConstantPool cp)
           
 java.lang.String FieldInstruction.toString(ConstantPool cp)
           
 

Constructors in org.aspectj.apache.bcel.generic with parameters of type ConstantPool
ClassGen(java.lang.String classname, java.lang.String superclassname, java.lang.String filename, int modifiers, java.lang.String[] interfacenames, ConstantPool cpool)
           
FieldGen(Field field, ConstantPool cp)
          Instantiate from existing field.
FieldGen(int modifiers, Type type, java.lang.String name, ConstantPool cpool)
          Declare a field.
InstructionFactory(ClassGen cg, ConstantPool cp)
           
InstructionFactory(ConstantPool cp)
           
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, ConstantPool cp)
          Declare method.
MethodGen(Method m, java.lang.String class_name, ConstantPool cp)
          Instantiate from existing method.
MethodGen(Method m, java.lang.String class_name, ConstantPool cp, boolean useTags)
           
 

Uses of ConstantPool in org.aspectj.weaver.bcel
 

Methods in org.aspectj.weaver.bcel that return ConstantPool
 ConstantPool LazyMethodGen.getConstantPool()
           
 ConstantPool LazyClassGen.getConstantPool()
           
 

Methods in org.aspectj.weaver.bcel with parameters of type ConstantPool
static Attribute Utility.bcelAttribute(AjAttribute a, ConstantPool pool)
           
 

Constructors in org.aspectj.weaver.bcel with parameters of type ConstantPool
BcelConstantPoolReader(ConstantPool constantPool)