Searched defs:constant_pool (Results 1 - 25 of 70) sorted by relevance

123

/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DAttributeReader.java87 @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 DConstantValue.java89 * @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 DDeprecated.java87 * @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 DExceptionTable.java92 * @param constant_pool Array of constants
96 ConstantPool constant_pool)
98 super(Constants.ATTR_EXCEPTIONS, name_index, length, constant_pool);
107 * @param constant_pool Array of constants
111 ConstantPool constant_pool) throws IOException
113 this(name_index, length, (int[])null, constant_pool);
162 names[i] = constant_pool.getConstantString(exception_index_table[i],
185 str = constant_pool.getConstantString(exception_index_table[i],
199 public Attribute copy(ConstantPool constant_pool) { argument
202 c.constant_pool
94 ExceptionTable(int name_index, int length, int[] exception_index_table, ConstantPool constant_pool) argument
110 ExceptionTable(int name_index, int length, DataInputStream file, ConstantPool constant_pool) argument
[all...]
H A DField.java83 Field(DataInputStream file, ConstantPool constant_pool) argument
86 super(file, constant_pool);
94 * @param constant_pool Array of constants
97 Attribute[] attributes, ConstantPool constant_pool)
99 super(access_flags, name_index, signature_index, attributes, constant_pool);
158 public final Field copy(ConstantPool constant_pool) { argument
159 return (Field)copy_(constant_pool);
96 Field(int access_flags, int name_index, int signature_index, Attribute[] attributes, ConstantPool constant_pool) argument
H A DFieldOrMethod.java73 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...]
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/
H A DAnnotationDefault_attribute.java45 public AnnotationDefault_attribute(ConstantPool constant_pool, Annotation.element_value default_value) argument
47 this(constant_pool.getUTF8Index(Attribute.AnnotationDefault), default_value);
H A DAttributes.java56 public Attributes(ConstantPool constant_pool, Attribute[] attrs) { argument
62 map.put(attr.getName(constant_pool), attr);
81 public int getIndex(ConstantPool constant_pool, String name) { argument
85 if (attr != null && attr.getName(constant_pool).equals(name))
H A DCompilationID_attribute.java42 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 DConstantValue_attribute.java44 public ConstantValue_attribute(ConstantPool constant_pool, int constantvalue_index) argument
46 this(constant_pool.getUTF8Index(Attribute.ConstantValue), constantvalue_index);
H A DDefaultAttribute.java40 public DefaultAttribute(ConstantPool constant_pool, int name_index, byte[] info) { argument
H A DDeprecated_attribute.java43 public Deprecated_attribute(ConstantPool constant_pool) argument
45 this(constant_pool.getUTF8Index(Attribute.Deprecated));
H A DEnclosingMethod_attribute.java46 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 DExceptions_attribute.java47 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 DField.java57 public String getName(ConstantPool constant_pool) throws ConstantPoolException { argument
58 return constant_pool.getUTF8Value(name_index);
H A DMethod.java57 public String getName(ConstantPool constant_pool) throws ConstantPoolException { argument
58 return constant_pool.getUTF8Value(name_index);
H A DSignature_attribute.java44 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 DSourceDebugExtension_attribute.java47 public SourceDebugExtension_attribute(ConstantPool constant_pool, byte[] debug_extension) argument
49 this(constant_pool.getUTF8Index(Attribute.SourceDebugExtension), debug_extension);
H A DSourceFile_attribute.java44 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 DSourceID_attribute.java42 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 DStackMap_attribute.java46 public StackMap_attribute(ConstantPool constant_pool, stack_map_frame[] entries) argument
48 this(constant_pool.getUTF8Index(Attribute.StackMap), entries);
H A DSynthetic_attribute.java43 public Synthetic_attribute(ConstantPool constant_pool) argument
45 this(constant_pool.getUTF8Index(Attribute.Synthetic));
H A DLineNumberTable_attribute.java47 public LineNumberTable_attribute(ConstantPool constant_pool, Entry[] line_number_table) argument
49 this(constant_pool.getUTF8Index(Attribute.LineNumberTable), line_number_table);
H A DLocalVariableTable_attribute.java47 public LocalVariableTable_attribute(ConstantPool constant_pool, Entry[] local_variable_table) argument
49 this(constant_pool.getUTF8Index(Attribute.LocalVariableTable), local_variable_table);
H A DLocalVariableTypeTable_attribute.java47 public LocalVariableTypeTable_attribute(ConstantPool constant_pool, Entry[] local_variable_table) argument
49 this(constant_pool.getUTF8Index(Attribute.LocalVariableTypeTable), local_variable_table);

Completed in 45 milliseconds

123