/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/ |
H A D | StackMapType.java | 76 private ConstantPool constant_pool; field in class:StackMapType 83 StackMapType(DataInputStream file, ConstantPool constant_pool) throws IOException argument 85 this(file.readByte(), -1, constant_pool); 90 setConstantPool(constant_pool); 97 public StackMapType(byte type, int index, ConstantPool constant_pool) { argument 100 setConstantPool(constant_pool); 139 return ", class=" + constant_pool.constantToString(index, Constants.CONSTANT_Class); 167 public final ConstantPool getConstantPool() { return constant_pool; } 170 * @param constant_pool Constant pool to be used for this object. 172 public final void setConstantPool(ConstantPool constant_pool) { argument [all...] |
H A D | Attribute.java | 90 protected ConstantPool constant_pool; field in class:Attribute 93 ConstantPool constant_pool) { 97 this.constant_pool = constant_pool; 149 * @param constant_pool Array of constants 155 ConstantPool constant_pool) 166 c = (ConstantUtf8)constant_pool.getConstant(name_index, 187 return r.createAttribute(name_index, length, file, constant_pool); 189 return new Unknown(name_index, length, file, constant_pool); 192 return new ConstantValue(name_index, length, file, constant_pool); 92 Attribute(byte tag, int name_index, int length, ConstantPool constant_pool) argument 154 readAttribute(DataInputStream file, ConstantPool constant_pool) argument 275 setConstantPool(ConstantPool constant_pool) argument 300 copy(ConstantPool constant_pool) argument [all...] |
H A D | FieldOrMethod.java | 73 protected ConstantPool constant_pool; field in class:FieldOrMethod 92 protected FieldOrMethod(DataInputStream file, ConstantPool constant_pool) argument 96 file.readUnsignedShort(), null, constant_pool); 101 attributes[i] = Attribute.readAttribute(file, constant_pool); 109 * @param constant_pool Array of constants 112 Attribute[] attributes, ConstantPool constant_pool) 117 this.constant_pool = constant_pool; 155 public final ConstantPool getConstantPool() { return constant_pool; } 158 * @param constant_pool Constan 111 FieldOrMethod(int access_flags, int name_index, int signature_index, Attribute[] attributes, ConstantPool constant_pool) argument 160 setConstantPool(ConstantPool constant_pool) argument 211 copy_(ConstantPool constant_pool) argument [all...] |
H A D | Deprecated.java | 87 * @param constant_pool Array of constants 90 ConstantPool constant_pool) 92 super(Constants.ATTR_DEPRECATED, name_index, length, constant_pool); 101 * @param constant_pool Array of constants 105 ConstantPool constant_pool) throws IOException 107 this(name_index, length, (byte [])null, constant_pool); 163 public Attribute copy(ConstantPool constant_pool) { argument 169 c.constant_pool = constant_pool; 89 Deprecated(int name_index, int length, byte[] bytes, ConstantPool constant_pool) argument 104 Deprecated(int name_index, int length, DataInputStream file, ConstantPool constant_pool) argument
|
H A D | PMGClass.java | 89 * @param constant_pool Array of constants 93 ConstantPool constant_pool) throws IOException 96 constant_pool); 102 * @param constant_pool Array of constants 106 ConstantPool constant_pool) 108 super(Constants.ATTR_PMG, name_index, length, constant_pool); 165 ConstantUtf8 c = (ConstantUtf8)constant_pool.getConstant(pmg_index, 174 ConstantUtf8 c = (ConstantUtf8)constant_pool.getConstant(pmg_class_index, 189 public Attribute copy(ConstantPool constant_pool) { argument 92 PMGClass(int name_index, int length, DataInputStream file, ConstantPool constant_pool) argument 105 PMGClass(int name_index, int length, int pmg_index, int pmg_class_index, ConstantPool constant_pool) argument
|
H A D | Synthetic.java | 92 * @param constant_pool The constant pool this attribute is associated 96 ConstantPool constant_pool) 98 super(Constants.ATTR_SYNTHETIC, name_index, length, constant_pool); 107 * @param constant_pool Array of constants 111 ConstantPool constant_pool) throws IOException 113 this(name_index, length, (byte [])null, constant_pool); 170 public Attribute copy(ConstantPool constant_pool) { argument 176 c.constant_pool = constant_pool; 95 Synthetic(int name_index, int length, byte[] bytes, ConstantPool constant_pool) argument 110 Synthetic(int name_index, int length, DataInputStream file, ConstantPool constant_pool) argument
|
H A D | ConstantValue.java | 89 * @param constant_pool Array of constants 93 ConstantPool constant_pool) throws IOException 95 this(name_index, length, (int)file.readUnsignedShort(), constant_pool); 102 * @param constant_pool Array of constants 106 ConstantPool constant_pool) 108 super(Constants.ATTR_CONSTANT_VALUE, name_index, length, constant_pool); 149 Constant c = constant_pool.getConstant(constantvalue_index); 162 c = constant_pool.getConstant(i, Constants.CONSTANT_Utf8); 176 public Attribute copy(ConstantPool constant_pool) { argument 178 c.constant_pool 92 ConstantValue(int name_index, int length, DataInputStream file, ConstantPool constant_pool) argument 104 ConstantValue(int name_index, int length, int constantvalue_index, ConstantPool constant_pool) argument [all...] |
H A D | LocalVariable.java | 82 private ConstantPool constant_pool; field in class:LocalVariable 98 LocalVariable(DataInputStream file, ConstantPool constant_pool) argument 103 file.readUnsignedShort(), constant_pool); 112 * @param constant_pool Array of constants 116 ConstantPool constant_pool) 123 this.constant_pool = constant_pool; 155 public final ConstantPool getConstantPool() { return constant_pool; } 168 c = (ConstantUtf8)constant_pool.getConstant(name_index, CONSTANT_Utf8); 182 c = (ConstantUtf8)constant_pool 114 LocalVariable(int start_pc, int length, int name_index, int signature_index, int index, ConstantPool constant_pool) argument 205 setConstantPool(ConstantPool constant_pool) argument [all...] |
H A D | StackMapEntry.java | 79 private ConstantPool constant_pool; field in class:StackMapEntry 86 StackMapEntry(DataInputStream file, ConstantPool constant_pool) throws IOException argument 88 this(file.readShort(), file.readShort(), null, -1, null, constant_pool); 92 types_of_locals[i] = new StackMapType(file, constant_pool); 97 types_of_stack_items[i] = new StackMapType(file, constant_pool); 104 ConstantPool constant_pool) { 110 this.constant_pool = constant_pool; 204 public final ConstantPool getConstantPool() { return constant_pool; } 207 * @param constant_pool Constan 100 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) argument 209 setConstantPool(ConstantPool constant_pool) argument [all...] |
H A D | AttributeReader.java | 87 @param constant_pool This is the constant pool associated with the 99 ConstantPool constant_pool); 96 createAttribute(int name_index, int length, java.io.DataInputStream file, ConstantPool constant_pool) argument
|
H A D | InnerClasses.java | 90 * @param constant_pool Array of constants 95 ConstantPool constant_pool) 97 super(Constants.ATTR_INNER_CLASSES, name_index, length, constant_pool); 107 * @param constant_pool Array of constants 111 ConstantPool constant_pool) throws IOException 113 this(name_index, length, (InnerClass[])null, constant_pool); 166 buf.append(inner_classes[i].toString(constant_pool) + "\n"); 174 public Attribute copy(ConstantPool constant_pool) { argument 181 c.constant_pool = constant_pool; 93 InnerClasses(int name_index, int length, InnerClass[] inner_classes, ConstantPool constant_pool) argument 110 InnerClasses(int name_index, int length, DataInputStream file, ConstantPool constant_pool) argument [all...] |
H A D | StackMap.java | 86 * @param constant_pool Array of constants 89 ConstantPool constant_pool) 91 super(Constants.ATTR_STACK_MAP, name_index, length, constant_pool); 102 * @param constant_pool Array of constants 105 ConstantPool constant_pool) throws IOException 107 this(name_index, length, (StackMapEntry[])null, constant_pool); 113 map[i] = new StackMapEntry(file, constant_pool); 165 public Attribute copy(ConstantPool constant_pool) { argument 172 c.constant_pool = constant_pool; 88 StackMap(int name_index, int length, StackMapEntry[] map, ConstantPool constant_pool) argument 104 StackMap(int name_index, int length, DataInputStream file, ConstantPool constant_pool) argument [all...] |
H A D | SourceFile.java | 90 * @param constant_pool Array of constants 94 ConstantPool constant_pool) throws IOException 96 this(name_index, length, file.readUnsignedShort(), constant_pool); 103 * @param constant_pool The constant pool that this attribute is 113 ConstantPool constant_pool) 115 super(Constants.ATTR_SOURCE_FILE, name_index, length, constant_pool); 158 ConstantUtf8 c = (ConstantUtf8)constant_pool.getConstant(sourcefile_index, 173 public Attribute copy(ConstantPool constant_pool) { argument 93 SourceFile(int name_index, int length, DataInputStream file, ConstantPool constant_pool) argument 112 SourceFile(int name_index, int length, int sourcefile_index, ConstantPool constant_pool) argument
|
H A D | ConstantPool.java | 78 private Constant[] constant_pool; field in class:ConstantPool 81 * @param constant_pool Array of constants 83 public ConstantPool(Constant[] constant_pool) argument 85 setConstantPool(constant_pool); 100 constant_pool = new Constant[constant_pool_count]; 102 /* constant_pool[0] is unused by the compiler and may be used freely 106 constant_pool[i] = Constant.readConstant(file); 115 tag = constant_pool[i].getTag(); 232 if(constant_pool[i] != null) 233 constant_pool[ 340 setConstantPool(Constant[] constant_pool) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/ |
H A D | EnclosingMethod_attribute.java | 46 public EnclosingMethod_attribute(ConstantPool constant_pool, int class_index, int method_index) argument 48 this(constant_pool.getUTF8Index(Attribute.EnclosingMethod), class_index, method_index); 57 public String getClassName(ConstantPool constant_pool) throws ConstantPoolException { argument 58 return constant_pool.getClassInfo(class_index).getName(); 61 public String getMethodName(ConstantPool constant_pool) throws ConstantPoolException { argument 64 return constant_pool.getNameAndTypeInfo(method_index).getName();
|
H A D | CompilationID_attribute.java | 42 public CompilationID_attribute(ConstantPool constant_pool, int compilationID_index) argument 44 this(constant_pool.getUTF8Index(Attribute.CompilationID), compilationID_index); 52 String getCompilationID(ConstantPool constant_pool) argument 54 return constant_pool.getUTF8Value(compilationID_index);
|
H A D | Exceptions_attribute.java | 47 public Exceptions_attribute(ConstantPool constant_pool, int[] exception_index_table) argument 49 this(constant_pool.getUTF8Index(Attribute.Exceptions), exception_index_table); 58 public String getException(int index, ConstantPool constant_pool) throws ConstantPoolException { argument 60 return constant_pool.getClassInfo(exception_index).getName();
|
H A D | Signature_attribute.java | 44 public Signature_attribute(ConstantPool constant_pool, int signature_index) argument 46 this(constant_pool.getUTF8Index(Attribute.Signature), signature_index); 54 public String getSignature(ConstantPool constant_pool) throws ConstantPoolException { argument 55 return constant_pool.getUTF8Value(signature_index);
|
H A D | SourceFile_attribute.java | 44 public SourceFile_attribute(ConstantPool constant_pool, int sourcefile_index) argument 46 this(constant_pool.getUTF8Index(Attribute.SourceFile), sourcefile_index); 54 public String getSourceFile(ConstantPool constant_pool) throws ConstantPoolException { argument 55 return constant_pool.getUTF8Value(sourcefile_index);
|
H A D | SourceID_attribute.java | 42 public SourceID_attribute(ConstantPool constant_pool, int sourceID_index) argument 44 this(constant_pool.getUTF8Index(Attribute.SourceID), sourceID_index); 52 String getSourceID(ConstantPool constant_pool) throws ConstantPoolException { argument 53 return constant_pool.getUTF8Value(sourceID_index);
|
H A D | Deprecated_attribute.java | 43 public Deprecated_attribute(ConstantPool constant_pool) argument 45 this(constant_pool.getUTF8Index(Attribute.Deprecated));
|
H A D | InnerClasses_attribute.java | 49 public InnerClasses_attribute(ConstantPool constant_pool, Info[] classes) argument 51 this(constant_pool.getUTF8Index(Attribute.InnerClasses), classes); 75 public CONSTANT_Class_info getInnerClassInfo(ConstantPool constant_pool) throws ConstantPoolException { argument 78 return constant_pool.getClassInfo(inner_class_info_index); 81 public CONSTANT_Class_info getOuterClassInfo(ConstantPool constant_pool) throws ConstantPoolException { argument 84 return constant_pool.getClassInfo(outer_class_info_index); 87 public String getInnerName(ConstantPool constant_pool) throws ConstantPoolException { argument 90 return constant_pool.getUTF8Value(inner_name_index);
|
H A D | Synthetic_attribute.java | 43 public Synthetic_attribute(ConstantPool constant_pool) argument 45 this(constant_pool.getUTF8Index(Attribute.Synthetic));
|
H A D | Descriptor.java | 75 public String getValue(ConstantPool constant_pool) throws ConstantPoolException { argument 76 return constant_pool.getUTF8Value(index); 79 public int getParameterCount(ConstantPool constant_pool) argument 81 String desc = getValue(constant_pool); 90 public String getParameterTypes(ConstantPool constant_pool) argument 92 String desc = getValue(constant_pool); 99 public String getReturnType(ConstantPool constant_pool) argument 101 String desc = getValue(constant_pool); 108 public String getFieldType(ConstantPool constant_pool) argument 110 String desc = getValue(constant_pool); [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/ |
H A D | ConstantHTML.java | 74 private ConstantPool constant_pool; // reference to constant pool field in class:ConstantHTML 81 ConstantPool constant_pool) throws IOException 85 this.constant_pool = constant_pool; 87 constants = constant_pool.getConstantPool(); 130 ConstantMethodref c = (ConstantMethodref)constant_pool.getConstant(index, CONSTANT_Methodref); 135 ConstantInterfaceMethodref c1 = (ConstantInterfaceMethodref)constant_pool.getConstant(index, CONSTANT_InterfaceMethodref); 141 String method_name = constant_pool.constantToString(name_index, CONSTANT_NameAndType); 145 String method_class = constant_pool.constantToString(class_index, CONSTANT_Class); 151 ConstantNameAndType c2 = (ConstantNameAndType)constant_pool 80 ConstantHTML(String dir, String class_name, String class_package, Method[] methods, ConstantPool constant_pool) argument [all...] |