HomeSort by relevance Sort by last modified time
    Searched refs:constant_pool (Results 1 - 25 of 101) sorted by null

1 2 3 4 5

  /external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
StackMapType.java 39 private ConstantPool constant_pool; field in class:StackMapType
47 StackMapType(final DataInput file, final ConstantPool constant_pool) throws IOException {
48 this(file.readByte(), -1, constant_pool);
52 this.constant_pool = constant_pool;
60 public StackMapType(final byte type, final int index, final ConstantPool constant_pool) {
66 this.constant_pool = constant_pool;
122 return ", class=" + constant_pool.constantToString(index, Const.CONSTANT_Class);
157 return constant_pool;
    [all...]
Attribute.java 74 protected ConstantPool constant_pool; // TODO make private (has getter & setter) field in class:Attribute
76 protected Attribute(final byte tag, final int name_index, final int length, final ConstantPool constant_pool)
81 this.constant_pool = constant_pool;
157 * @param constant_pool Array of constants
162 public static Attribute readAttribute(final DataInputStream file, final ConstantPool constant_pool)
165 return readAttribute((DataInput) file, constant_pool);
177 * @param constant_pool Array of constants
183 public static Attribute readAttribute(final DataInput file, final ConstantPool constant_pool)
189 final ConstantUtf8 c = (ConstantUtf8) constant_pool.getConstant(name_index, Const.CONSTANT_Utf8)
    [all...]
RuntimeInvisibleParameterAnnotations.java 38 * @param constant_pool Array of constants
40 public RuntimeInvisibleParameterAnnotations(final int name_index, final int length, final DataInput input, final ConstantPool constant_pool)
42 super(Const.ATTR_RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS, name_index, length, input, constant_pool);
RuntimeVisibleParameterAnnotations.java 38 * @param constant_pool Array of constants
40 public RuntimeVisibleParameterAnnotations(final int name_index, final int length, final DataInput input, final ConstantPool constant_pool)
42 super(Const.ATTR_RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS, name_index, length, input, constant_pool);
ConstantPool.java 40 private Constant[] constant_pool; field in class:ConstantPool
44 * @param constant_pool Array of constants
46 public ConstantPool(final Constant[] constant_pool) {
47 this.constant_pool = constant_pool;
61 constant_pool = new Constant[constant_pool_count];
62 /* constant_pool[0] is unused by the compiler and may be used freely
66 constant_pool[i] = Constant.readConstant(input);
74 tag = constant_pool[i].getTag();
219 file.writeShort(constant_pool.length)
    [all...]
FieldOrMethod.java 65 protected ConstantPool constant_pool; field in class:FieldOrMethod
92 protected FieldOrMethod(final DataInputStream file, final ConstantPool constant_pool) throws IOException,
94 this((DataInput) file, constant_pool);
103 protected FieldOrMethod(final DataInput file, final ConstantPool constant_pool) throws IOException, ClassFormatException {
105 constant_pool);
109 attributes[i] = Attribute.readAttribute(file, constant_pool);
120 * @param constant_pool Array of constants
123 final Attribute[] attributes, final ConstantPool constant_pool) {
127 this.constant_pool = constant_pool;
    [all...]
RuntimeInvisibleAnnotations.java 42 * @param constant_pool
45 public RuntimeInvisibleAnnotations(final int name_index, final int length, final DataInput input, final ConstantPool constant_pool)
48 super(Const.ATTR_RUNTIME_INVISIBLE_ANNOTATIONS, name_index, length, input, constant_pool, false);
55 public Attribute copy(final ConstantPool constant_pool)
RuntimeVisibleAnnotations.java 42 * @param constant_pool
45 public RuntimeVisibleAnnotations(final int name_index, final int length, final DataInput input, final ConstantPool constant_pool) throws IOException
47 super(Const.ATTR_RUNTIME_VISIBLE_ANNOTATIONS, name_index, length, input, constant_pool, true);
54 public Attribute copy(final ConstantPool constant_pool)
AttributeReader.java 50 @param constant_pool This is the constant pool associated with the
59 Attribute createAttribute( int name_index, int length, java.io.DataInputStream file, ConstantPool constant_pool );
UnknownAttributeReader.java 41 * @param constant_pool This is the constant pool associated with the Attribute that we are constructing.
49 Attribute createAttribute( int name_index, int length, java.io.DataInput file, ConstantPool constant_pool );
ParameterAnnotations.java 40 * @param constant_pool Array of constants
43 final DataInput input, final ConstantPool constant_pool) throws IOException {
45 constant_pool);
49 parameter_annotation_table[i] = new ParameterAnnotationEntry(input, constant_pool);
59 * @param constant_pool Array of constants
62 final ParameterAnnotationEntry[] parameter_annotation_table, final ConstantPool constant_pool) {
63 super(parameter_annotation_type, name_index, length, constant_pool);
120 public Attribute copy( final ConstantPool constant_pool ) {
LocalVariable.java 43 private ConstantPool constant_pool; field in class:LocalVariable
63 LocalVariable(final DataInput file, final ConstantPool constant_pool) throws IOException {
65 .readUnsignedShort(), file.readUnsignedShort(), constant_pool); local
75 * @param constant_pool Array of constants
78 final ConstantPool constant_pool) {
84 this.constant_pool = constant_pool;
95 * @param constant_pool Array of constants
99 final ConstantPool constant_pool, final int orig_index) {
105 this.constant_pool = constant_pool
    [all...]
AnnotationEntry.java 38 private final ConstantPool constant_pool; field in class:AnnotationEntry
47 * @param constant_pool
52 public static AnnotationEntry read(final DataInput input, final ConstantPool constant_pool, final boolean isRuntimeVisible) throws IOException {
54 final AnnotationEntry annotationEntry = new AnnotationEntry(input.readUnsignedShort(), constant_pool, isRuntimeVisible);
59 new ElementValuePair(input.readUnsignedShort(), ElementValue.readElementValue(input, constant_pool),
60 constant_pool));
65 public AnnotationEntry(final int type_index, final ConstantPool constant_pool, final boolean isRuntimeVisible) {
67 this.constant_pool = constant_pool;
76 return constant_pool;
    [all...]
AnnotationDefault.java 40 * @param constant_pool Array of constants
42 AnnotationDefault(final int name_index, final int length, final DataInput input, final ConstantPool constant_pool) throws IOException {
43 this(name_index, length, (ElementValue) null, constant_pool);
44 default_value = ElementValue.readElementValue(input, constant_pool);
51 * @param constant_pool Array of constants
53 public AnnotationDefault(final int name_index, final int length, final ElementValue defaultValue, final ConstantPool constant_pool) {
54 super(Const.ATTR_ANNOTATION_DEFAULT, name_index, length, constant_pool);
Annotations.java 40 * @param constant_pool Array of constants
43 final ConstantPool constant_pool, final boolean isRuntimeVisible) throws IOException {
44 this(annotation_type, name_index, length, (AnnotationEntry[]) null, constant_pool, isRuntimeVisible);
48 annotation_table[i] = AnnotationEntry.read(input, constant_pool, isRuntimeVisible);
57 * @param constant_pool Array of constants
60 final ConstantPool constant_pool, final boolean isRuntimeVisible) {
61 super(annotation_type, name_index, length, constant_pool);
Deprecated.java 52 * @param constant_pool Array of constants
54 public Deprecated(final int name_index, final int length, final byte[] bytes, final ConstantPool constant_pool) {
55 super(Const.ATTR_DEPRECATED, name_index, length, constant_pool);
66 * @param constant_pool Array of constants
69 Deprecated(final int name_index, final int length, final DataInput input, final ConstantPool constant_pool)
71 this(name_index, length, (byte[]) null, constant_pool);
SourceFile.java 54 * @param constant_pool Array of constants
57 SourceFile(final int name_index, final int length, final DataInput input, final ConstantPool constant_pool)
59 this(name_index, length, input.readUnsignedShort(), constant_pool);
67 * @param constant_pool The constant pool that this attribute is
76 public SourceFile(final int name_index, final int length, final int sourcefile_index, final ConstantPool constant_pool) {
77 super(Const.ATTR_SOURCE_FILE, name_index, length, constant_pool);
StackMap.java 49 * @param constant_pool Array of constants
51 public StackMap(final int name_index, final int length, final StackMapEntry[] map, final ConstantPool constant_pool) {
52 super(Const.ATTR_STACK_MAP, name_index, length, constant_pool);
63 * @param constant_pool Array of constants
66 StackMap(final int name_index, final int length, final DataInput input, final ConstantPool constant_pool) throws IOException {
67 this(name_index, length, (StackMapEntry[]) null, constant_pool);
71 map[i] = new StackMapEntry(input, constant_pool);
BootstrapMethod.java 38 /** Index of the CONSTANT_MethodHandle_info structure in the constant_pool table */
41 /** Array of references to the constant_pool table */
72 * @param bootstrap_method_ref int index into constant_pool of CONSTANT_MethodHandle
73 * @param bootstrap_arguments int[] indices into constant_pool of CONSTANT_<type>_info
81 * @return index into constant_pool of bootstrap_method
88 * @param bootstrap_method_ref int index into constant_pool of CONSTANT_MethodHandle
95 * @return int[] of bootstrap_method indices into constant_pool of CONSTANT_<type>_info
109 * @param bootstrap_arguments int[] indices into constant_pool of CONSTANT_<type>_info
127 public final String toString( final ConstantPool constant_pool ) {
130 bootstrap_method_name = constant_pool.constantToString(bootstrap_method_ref
    [all...]
BootstrapMethods.java 50 * @param constant_pool Array of constants
52 public BootstrapMethods(final int name_index, final int length, final BootstrapMethod[] bootstrap_methods, final ConstantPool constant_pool) {
53 super(Const.ATTR_BOOTSTRAP_METHODS, name_index, length, constant_pool);
63 * @param constant_pool Array of constants
66 BootstrapMethods(final int name_index, final int length, final DataInput input, final ConstantPool constant_pool) throws IOException {
67 this(name_index, length, (BootstrapMethod[]) null, constant_pool);
ConstantValue.java 53 * @param constant_pool Array of constants
56 ConstantValue(final int name_index, final int length, final DataInput input, final ConstantPool constant_pool)
58 this(name_index, length, input.readUnsignedShort(), constant_pool);
66 * @param constant_pool Array of constants
69 final ConstantPool constant_pool) {
70 super(Const.ATTR_CONSTANT_VALUE, name_index, length, constant_pool);
InnerClasses.java 53 * @param constant_pool Array of constants
56 final ConstantPool constant_pool) {
57 super(Const.ATTR_INNER_CLASSES, name_index, length, constant_pool);
68 * @param constant_pool Array of constants
71 InnerClasses(final int name_index, final int length, final DataInput input, final ConstantPool constant_pool)
73 this(name_index, length, (InnerClass[]) null, constant_pool);
  /external/apache-commons-bcel/src/main/java/org/apache/bcel/util/
ConstantHTML.java 46 private final ConstantPool constant_pool; // reference to constant pool field in class:ConstantHTML
54 final ConstantPool constant_pool) throws IOException {
57 this.constant_pool = constant_pool;
59 constants = constant_pool.getConstantPool();
101 final ConstantMethodref c = (ConstantMethodref) constant_pool.getConstant(index,
106 final ConstantInterfaceMethodref c1 = (ConstantInterfaceMethodref) constant_pool
112 final String method_name = constant_pool.constantToString(name_index,
116 final String method_class = constant_pool.constantToString(class_index, Const.CONSTANT_Class);
121 final ConstantNameAndType c2 = (ConstantNameAndType) constant_pool.getConstant
    [all...]
  /external/v8/src/
code-reference.cc 14 Address CodeReference::constant_pool() const { function in class:v8::internal::CodeReference
15 return kind_ == JS ? js_code_->constant_pool() : wasm_code_->constant_pool();
  /external/apache-commons-bcel/src/examples/
patchclass.java 63 private static void patchIt(String old, String replacement, Constant[] constant_pool) {
70 for (short i = 0; i < constant_pool.length; i++) {
71 if (constant_pool[i] instanceof ConstantUtf8) { // Utf8 string found
73 c = (ConstantUtf8) constant_pool[i]; // Get the string
93 constant_pool[i] = c;

Completed in 117 milliseconds

1 2 3 4 5