< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/classfile/InnerClasses_attribute.java

Print this page

        

*** 70,79 **** --- 70,86 ---- outer_class_info_index = cr.readUnsignedShort(); inner_name_index = cr.readUnsignedShort(); inner_class_access_flags = new AccessFlags(cr.readUnsignedShort()); } + public Info(int inner_class_info_index, int outer_class_info_index, int inner_name_index, AccessFlags inner_class_access_flags) { + this.inner_class_info_index = inner_class_info_index; + this.outer_class_info_index = outer_class_info_index; + this.inner_name_index = inner_name_index; + this.inner_class_access_flags = inner_class_access_flags; + } + public CONSTANT_Class_info getInnerClassInfo(ConstantPool constant_pool) throws ConstantPoolException { if (inner_class_info_index == 0) return null; return constant_pool.getClassInfo(inner_class_info_index); }
< prev index next >