public class com.sun.tools.classfile.ModulePackages_attribute extends com.sun.tools.classfile.Attribute
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.classfile.ModulePackages_attribute
super_class: com.sun.tools.classfile.Attribute
{
public final int packages_count;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int[] packages_index;
descriptor: [I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
void <init>(com.sun.tools.classfile.ClassReader, int, int);
descriptor: (Lcom/sun/tools/classfile/ClassReader;II)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 2
iload 3
invokespecial com.sun.tools.classfile.Attribute.<init>:(II)V
1: aload 0
aload 1
invokevirtual com.sun.tools.classfile.ClassReader.readUnsignedShort:()I
putfield com.sun.tools.classfile.ModulePackages_attribute.packages_count:I
2: aload 0
aload 0
getfield com.sun.tools.classfile.ModulePackages_attribute.packages_count:I
newarray 10
putfield com.sun.tools.classfile.ModulePackages_attribute.packages_index:[I
3: iconst_0
istore 4
start local 4 4: goto 7
5: StackMap locals: com.sun.tools.classfile.ModulePackages_attribute com.sun.tools.classfile.ClassReader int int int
StackMap stack:
aload 0
getfield com.sun.tools.classfile.ModulePackages_attribute.packages_index:[I
iload 4
aload 1
invokevirtual com.sun.tools.classfile.ClassReader.readUnsignedShort:()I
iastore
6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
aload 0
getfield com.sun.tools.classfile.ModulePackages_attribute.packages_count:I
if_icmplt 5
end local 4 8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/classfile/ModulePackages_attribute;
0 9 1 cr Lcom/sun/tools/classfile/ClassReader;
0 9 2 name_index I
0 9 3 length I
4 8 4 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cr
name_index
length
public void <init>(com.sun.tools.classfile.ConstantPool, int[]);
descriptor: (Lcom/sun/tools/classfile/ConstantPool;[I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
ldc "ModulePackages"
invokevirtual com.sun.tools.classfile.ConstantPool.getUTF8Index:(Ljava/lang/String;)I
1: aload 2
invokespecial com.sun.tools.classfile.ModulePackages_attribute.<init>:(I[I)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/classfile/ModulePackages_attribute;
0 3 1 constant_pool Lcom/sun/tools/classfile/ConstantPool;
0 3 2 packages_index [I
Exceptions:
throws com.sun.tools.classfile.ConstantPoolException
MethodParameters:
Name Flags
constant_pool
packages_index
public void <init>(int, int[]);
descriptor: (I[I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iconst_2
aload 2
arraylength
iconst_2
imul
iadd
invokespecial com.sun.tools.classfile.Attribute.<init>:(II)V
1: aload 0
aload 2
arraylength
putfield com.sun.tools.classfile.ModulePackages_attribute.packages_count:I
2: aload 0
aload 2
putfield com.sun.tools.classfile.ModulePackages_attribute.packages_index:[I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/classfile/ModulePackages_attribute;
0 4 1 name_index I
0 4 2 packages_index [I
MethodParameters:
Name Flags
name_index
packages_index
public java.lang.String getPackage(int, com.sun.tools.classfile.ConstantPool);
descriptor: (ILcom/sun/tools/classfile/ConstantPool;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.classfile.ModulePackages_attribute.packages_index:[I
iload 1
iaload
istore 3
start local 3 1: aload 2
iload 3
invokevirtual com.sun.tools.classfile.ConstantPool.getPackageInfo:(I)Lcom/sun/tools/classfile/ConstantPool$CONSTANT_Package_info;
astore 4
start local 4 2: aload 4
invokevirtual com.sun.tools.classfile.ConstantPool$CONSTANT_Package_info.getName:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/classfile/ModulePackages_attribute;
0 3 1 index I
0 3 2 constant_pool Lcom/sun/tools/classfile/ConstantPool;
1 3 3 package_index I
2 3 4 info Lcom/sun/tools/classfile/ConstantPool$CONSTANT_Package_info;
Exceptions:
throws com.sun.tools.classfile.ConstantPoolException
MethodParameters:
Name Flags
index
constant_pool
public <R, D> R accept(com.sun.tools.classfile.Attribute$Visitor<R, D>, );
descriptor: (Lcom/sun/tools/classfile/Attribute$Visitor;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
aload 2
invokeinterface com.sun.tools.classfile.Attribute$Visitor.visitModulePackages:(Lcom/sun/tools/classfile/ModulePackages_attribute;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/classfile/ModulePackages_attribute;
0 1 1 visitor Lcom/sun/tools/classfile/Attribute$Visitor<TR;TD;>;
0 1 2 data TD;
Signature: <R:Ljava/lang/Object;D:Ljava/lang/Object;>(Lcom/sun/tools/classfile/Attribute$Visitor<TR;TD;>;TD;)TR;
MethodParameters:
Name Flags
visitor
data
}
SourceFile: "ModulePackages_attribute.java"
InnerClasses:
public abstract Visitor = com.sun.tools.classfile.Attribute$Visitor of com.sun.tools.classfile.Attribute
public CONSTANT_Package_info = com.sun.tools.classfile.ConstantPool$CONSTANT_Package_info of com.sun.tools.classfile.ConstantPool