public class jdk.internal.module.ClassFileAttributes$ModulePackagesAttribute extends jdk.internal.org.objectweb.asm.Attribute
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.module.ClassFileAttributes$ModulePackagesAttribute
super_class: jdk.internal.org.objectweb.asm.Attribute
{
private final java.util.Set<java.lang.String> packages;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/internal/module/ClassFileAttributes;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.internal.module.ClassFileAttributes$ModulePackagesAttribute.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "ModulePackages"
invokespecial jdk.internal.org.objectweb.asm.Attribute.<init>:(Ljava/lang/String;)V
1: aload 0
aload 1
putfield jdk.internal.module.ClassFileAttributes$ModulePackagesAttribute.packages:Ljava/util/Set;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/module/ClassFileAttributes$ModulePackagesAttribute;
0 3 1 packages Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
packages
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial jdk.internal.module.ClassFileAttributes$ModulePackagesAttribute.<init>:(Ljava/util/Set;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/module/ClassFileAttributes$ModulePackagesAttribute;
protected jdk.internal.org.objectweb.asm.Attribute read(jdk.internal.org.objectweb.asm.ClassReader, int, int, char[], int, jdk.internal.org.objectweb.asm.Label[]);
descriptor: (Ljdk/internal/org/objectweb/asm/ClassReader;II[CI[Ljdk/internal/org/objectweb/asm/Label;)Ljdk/internal/org/objectweb/asm/Attribute;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=11, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 1
iload 2
invokevirtual jdk.internal.org.objectweb.asm.ClassReader.readUnsignedShort:(I)I
istore 7
start local 7 1: iinc 2 2
2: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 8
start local 8 3: iconst_0
istore 9
start local 9 4: goto 9
5: StackMap locals: int java.util.Set int
StackMap stack:
aload 1
iload 2
aload 4
invokevirtual jdk.internal.org.objectweb.asm.ClassReader.readPackage:(I[C)Ljava/lang/String;
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 10
start local 10 6: aload 8
aload 10
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: iinc 2 2
end local 10 8: iinc 9 1
StackMap locals:
StackMap stack:
9: iload 9
iload 7
if_icmplt 5
end local 9 10: new jdk.internal.module.ClassFileAttributes$ModulePackagesAttribute
dup
aload 8
invokespecial jdk.internal.module.ClassFileAttributes$ModulePackagesAttribute.<init>:(Ljava/util/Set;)V
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/internal/module/ClassFileAttributes$ModulePackagesAttribute;
0 11 1 cr Ljdk/internal/org/objectweb/asm/ClassReader;
0 11 2 off I
0 11 3 len I
0 11 4 buf [C
0 11 5 codeOff I
0 11 6 labels [Ljdk/internal/org/objectweb/asm/Label;
1 11 7 package_count I
3 11 8 packages Ljava/util/Set<Ljava/lang/String;>;
4 10 9 i I
6 8 10 pkg Ljava/lang/String;
MethodParameters:
Name Flags
cr
off
len
buf
codeOff
labels
protected jdk.internal.org.objectweb.asm.ByteVector write(jdk.internal.org.objectweb.asm.ClassWriter, byte[], int, int, int);
descriptor: (Ljdk/internal/org/objectweb/asm/ClassWriter;[BIII)Ljdk/internal/org/objectweb/asm/ByteVector;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: getstatic jdk.internal.module.ClassFileAttributes$ModulePackagesAttribute.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.internal.module.ClassFileAttributes$ModulePackagesAttribute.packages:Ljava/util/Set;
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
new jdk.internal.org.objectweb.asm.ByteVector
dup
invokespecial jdk.internal.org.objectweb.asm.ByteVector.<init>:()V
astore 6
start local 6 2: aload 6
aload 0
getfield jdk.internal.module.ClassFileAttributes$ModulePackagesAttribute.packages:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
invokevirtual jdk.internal.org.objectweb.asm.ByteVector.putShort:(I)Ljdk/internal/org/objectweb/asm/ByteVector;
pop
3: aload 0
getfield jdk.internal.module.ClassFileAttributes$ModulePackagesAttribute.packages:Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
4: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/internal/module/ClassFileAttributes$ModulePackagesAttribute.lambda$0(Ljava/lang/String;)Ljava/lang/String; (6)
(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
5: aload 6
aload 1
invokedynamic accept(Ljdk/internal/org/objectweb/asm/ByteVector;Ljdk/internal/org/objectweb/asm/ClassWriter;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
jdk/internal/module/ClassFileAttributes$ModulePackagesAttribute.lambda$1(Ljdk/internal/org/objectweb/asm/ByteVector;Ljdk/internal/org/objectweb/asm/ClassWriter;Ljava/lang/String;)V (6)
(Ljava/lang/String;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
6: aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/module/ClassFileAttributes$ModulePackagesAttribute;
0 7 1 cw Ljdk/internal/org/objectweb/asm/ClassWriter;
0 7 2 code [B
0 7 3 len I
0 7 4 maxStack I
0 7 5 maxLocals I
2 7 6 attr Ljdk/internal/org/objectweb/asm/ByteVector;
MethodParameters:
Name Flags
cw
code
len
maxStack
maxLocals
private static java.lang.String lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 p Ljava/lang/String;
private static void lambda$1(jdk.internal.org.objectweb.asm.ByteVector, jdk.internal.org.objectweb.asm.ClassWriter, java.lang.String);
descriptor: (Ljdk/internal/org/objectweb/asm/ByteVector;Ljdk/internal/org/objectweb/asm/ClassWriter;Ljava/lang/String;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 0
aload 1
aload 2
invokevirtual jdk.internal.org.objectweb.asm.ClassWriter.newPackage:(Ljava/lang/String;)I
invokevirtual jdk.internal.org.objectweb.asm.ByteVector.putShort:(I)Ljdk/internal/org/objectweb/asm/ByteVector;
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 p Ljava/lang/String;
}
SourceFile: "ClassFileAttributes.java"
NestHost: jdk.internal.module.ClassFileAttributes
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public ModulePackagesAttribute = jdk.internal.module.ClassFileAttributes$ModulePackagesAttribute of jdk.internal.module.ClassFileAttributes