/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ |
H A D | StackMapType.java | 43 private ConstantPool constant_pool; field in class:StackMapType 51 StackMapType(final DataInput file, final ConstantPool constant_pool) throws IOException { argument 52 this(file.readByte(), -1, constant_pool); 56 this.constant_pool = constant_pool; 64 public StackMapType(final byte type, final int index, final ConstantPool constant_pool) { argument 70 this.constant_pool = constant_pool; 126 return ", class=" + constant_pool.constantToString(index, Const.CONSTANT_Class); 161 return constant_pool; [all...] |
H A D | Attribute.java | 57 private ConstantPool constant_pool; field in class:Attribute 59 protected Attribute(final byte tag, final int name_index, final int length, final ConstantPool constant_pool) { argument 63 this.constant_pool = constant_pool; 119 * @param constant_pool Array of constants 124 public static Attribute readAttribute(final DataInputStream file, final ConstantPool constant_pool) argument 126 return readAttribute((DataInput) file, constant_pool); 138 * @param constant_pool Array of constants 144 public static Attribute readAttribute(final DataInput file, final ConstantPool constant_pool) argument 149 final ConstantUtf8 c = (ConstantUtf8) constant_pool 278 setConstantPool(final ConstantPool constant_pool) argument [all...] |
H A D | ConstantPool.java | 44 private Constant[] constant_pool; field in class:ConstantPool 48 * @param constant_pool Array of constants 50 public ConstantPool(final Constant[] constant_pool) { argument 51 this.constant_pool = constant_pool; 65 constant_pool = new Constant[constant_pool_count]; 66 /* constant_pool[0] is unused by the compiler and may be used freely 70 constant_pool[i] = Constant.readConstant(input); 78 tag = constant_pool[i].getTag(); 223 file.writeShort(constant_pool [all...] |
H A D | FieldOrMethod.java | 43 private ConstantPool constant_pool; field in class:FieldOrMethod 71 final ConstantPool constant_pool) throws IOException, 73 this((DataInput) file, constant_pool); 84 final ConstantPool constant_pool) throws IOException, ClassFormatException { 86 constant_pool); 90 attributes[i] = Attribute.readAttribute(file, constant_pool); 99 * @param constant_pool Array of constants 102 final Attribute[] attributes, final ConstantPool constant_pool) { 106 this.constant_pool = constant_pool; 70 FieldOrMethod(final DataInputStream file, final ConstantPool constant_pool) argument 83 FieldOrMethod(final DataInput file, final ConstantPool constant_pool) argument 101 FieldOrMethod(final int access_flags, final int name_index, final int signature_index, final Attribute[] attributes, final ConstantPool constant_pool) argument 152 setConstantPool(final ConstantPool constant_pool) argument [all...] |
H A D | RuntimeInvisibleAnnotations.java | 46 * @param constant_pool 49 public RuntimeInvisibleAnnotations(final int name_index, final int length, final DataInput input, final ConstantPool constant_pool) argument 52 super(Const.ATTR_RUNTIME_INVISIBLE_ANNOTATIONS, name_index, length, input, constant_pool, false); 59 public Attribute copy(final ConstantPool constant_pool) argument
|
H A D | RuntimeVisibleAnnotations.java | 46 * @param constant_pool 49 public RuntimeVisibleAnnotations(final int name_index, final int length, final DataInput input, final ConstantPool constant_pool) throws IOException argument 51 super(Const.ATTR_RUNTIME_VISIBLE_ANNOTATIONS, name_index, length, input, constant_pool, true); 58 public Attribute copy(final ConstantPool constant_pool) argument
|
H A D | LocalVariable.java | 45 private ConstantPool constant_pool; field in class:LocalVariable 63 LocalVariable(final DataInput file, final ConstantPool constant_pool) throws IOException { argument 65 .readUnsignedShort(), file.readUnsignedShort(), constant_pool); 75 * @param constant_pool Array of constants 78 final ConstantPool constant_pool) { 84 this.constant_pool = constant_pool; 120 return constant_pool; 137 c = (ConstantUtf8) constant_pool.getConstant(name_index, Const.CONSTANT_Utf8); 155 c = (ConstantUtf8) constant_pool 77 LocalVariable(final int start_pc, final int length, final int name_index, final int signature_index, final int index, final ConstantPool constant_pool) argument [all...] |
H A D | UnknownAttributeReader.java | 45 * @param constant_pool This is the constant pool associated with the Attribute that we are constructing. 53 Attribute createAttribute( int name_index, int length, java.io.DataInput file, ConstantPool constant_pool );
|
H A D | RuntimeInvisibleParameterAnnotations.java | 42 * @param constant_pool Array of constants 44 public RuntimeInvisibleParameterAnnotations(final int name_index, final int length, final DataInput input, final ConstantPool constant_pool) argument 46 super(Const.ATTR_RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS, name_index, length, input, constant_pool);
|
H A D | RuntimeVisibleParameterAnnotations.java | 42 * @param constant_pool Array of constants 44 public RuntimeVisibleParameterAnnotations(final int name_index, final int length, final DataInput input, final ConstantPool constant_pool) argument 46 super(Const.ATTR_RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS, name_index, length, input, constant_pool);
|
H A D | ParameterAnnotations.java | 44 * @param constant_pool Array of constants 47 final DataInput input, final ConstantPool constant_pool) throws IOException { 49 constant_pool); 53 parameter_annotation_table[i] = new ParameterAnnotationEntry(input, constant_pool); 63 * @param constant_pool Array of constants 66 final ParameterAnnotationEntry[] parameter_annotation_table, final ConstantPool constant_pool) { 67 super(parameter_annotation_type, name_index, length, constant_pool); 124 public Attribute copy( final ConstantPool constant_pool ) { 46 ParameterAnnotations(final byte parameter_annotation_type, final int name_index, final int length, final DataInput input, final ConstantPool constant_pool) argument 65 ParameterAnnotations(final byte parameter_annotation_type, final int name_index, final int length, final ParameterAnnotationEntry[] parameter_annotation_table, final ConstantPool constant_pool) argument
|
H A D | AnnotationEntry.java | 42 private final ConstantPool constant_pool; field in class:AnnotationEntry 51 * @param constant_pool 56 public static AnnotationEntry read(final DataInput input, final ConstantPool constant_pool, final boolean isRuntimeVisible) throws IOException { argument 58 final AnnotationEntry annotationEntry = new AnnotationEntry(input.readUnsignedShort(), constant_pool, isRuntimeVisible); 63 new ElementValuePair(input.readUnsignedShort(), ElementValue.readElementValue(input, constant_pool), 64 constant_pool)); 69 public AnnotationEntry(final int type_index, final ConstantPool constant_pool, final boolean isRuntimeVisible) { argument 71 this.constant_pool = constant_pool; 80 return constant_pool; [all...] |
H A D | Annotations.java | 44 * @param constant_pool Array of constants 47 final ConstantPool constant_pool, final boolean isRuntimeVisible) throws IOException { 48 this(annotation_type, name_index, length, (AnnotationEntry[]) null, constant_pool, isRuntimeVisible); 52 annotation_table[i] = AnnotationEntry.read(input, constant_pool, isRuntimeVisible); 61 * @param constant_pool Array of constants 64 final ConstantPool constant_pool, final boolean isRuntimeVisible) { 65 super(annotation_type, name_index, length, constant_pool); 46 Annotations(final byte annotation_type, final int name_index, final int length, final DataInput input, final ConstantPool constant_pool, final boolean isRuntimeVisible) argument 63 Annotations(final byte annotation_type, final int name_index, final int length, final AnnotationEntry[] annotation_table, final ConstantPool constant_pool, final boolean isRuntimeVisible) argument
|
H A D | AnnotationDefault.java | 44 * @param constant_pool Array of constants 46 AnnotationDefault(final int name_index, final int length, final DataInput input, final ConstantPool constant_pool) throws IOException { argument 47 this(name_index, length, (ElementValue) null, constant_pool); 48 default_value = ElementValue.readElementValue(input, constant_pool); 55 * @param constant_pool Array of constants 57 public AnnotationDefault(final int name_index, final int length, final ElementValue defaultValue, final ConstantPool constant_pool) { argument 58 super(Const.ATTR_ANNOTATION_DEFAULT, name_index, length, constant_pool);
|
/openjdk10/langtools/src/jdk.jdeps/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 | 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 | ModuleMainClass_attribute.java | 44 public ModuleMainClass_attribute(ConstantPool constant_pool, int mainClass_index) argument 46 this(constant_pool.getUTF8Index(Attribute.ModuleMainClass), mainClass_index); 54 public String getMainClassName(ConstantPool constant_pool) throws ConstantPoolException { argument 55 return constant_pool.getClassInfo(main_class_index).getName();
|
H A D | CompilationID_attribute.java | 43 public CompilationID_attribute(ConstantPool constant_pool, int compilationID_index) argument 45 this(constant_pool.getUTF8Index(Attribute.CompilationID), compilationID_index); 53 String getCompilationID(ConstantPool constant_pool) argument 55 return constant_pool.getUTF8Value(compilationID_index);
|
H A D | SourceID_attribute.java | 43 public SourceID_attribute(ConstantPool constant_pool, int sourceID_index) argument 45 this(constant_pool.getUTF8Index(Attribute.SourceID), sourceID_index); 53 String getSourceID(ConstantPool constant_pool) throws ConstantPoolException { argument 54 return constant_pool.getUTF8Value(sourceID_index);
|
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 | InnerClasses_attribute.java | 49 public InnerClasses_attribute(ConstantPool constant_pool, Info[] classes) argument 51 this(constant_pool.getUTF8Index(Attribute.InnerClasses), classes); 82 public CONSTANT_Class_info getInnerClassInfo(ConstantPool constant_pool) throws ConstantPoolException { argument 85 return constant_pool.getClassInfo(inner_class_info_index); 88 public CONSTANT_Class_info getOuterClassInfo(ConstantPool constant_pool) throws ConstantPoolException { argument 91 return constant_pool.getClassInfo(outer_class_info_index); 94 public String getInnerName(ConstantPool constant_pool) throws ConstantPoolException { argument 97 return constant_pool.getUTF8Value(inner_name_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 | Synthetic_attribute.java | 43 public Synthetic_attribute(ConstantPool constant_pool) argument 45 this(constant_pool.getUTF8Index(Attribute.Synthetic));
|
H A D | Descriptor.java | 74 public String getValue(ConstantPool constant_pool) throws ConstantPoolException { argument 75 return constant_pool.getUTF8Value(index); 78 public int getParameterCount(ConstantPool constant_pool) argument 80 String desc = getValue(constant_pool); 89 public String getParameterTypes(ConstantPool constant_pool) argument 91 String desc = getValue(constant_pool); 98 public String getReturnType(ConstantPool constant_pool) argument 100 String desc = getValue(constant_pool); 107 public String getFieldType(ConstantPool constant_pool) argument 109 String desc = getValue(constant_pool); [all...] |