class jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder
super_class: java.lang.Object
{
private final java.util.Set<T> elements;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<TT;>;
private final int defaultVarIndex;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.function.IntSupplier nextLocalVar;
descriptor: Ljava/util/function/IntSupplier;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int refCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int localVarIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator this$1;
descriptor: Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$SystemModulesClassGenerator;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.Set<T>, int, java.util.function.IntSupplier);
descriptor: (Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$SystemModulesClassGenerator;Ljava/util/Set;ILjava/util/function/IntSupplier;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.this$1:Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$SystemModulesClassGenerator;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
aload 2
putfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.elements:Ljava/util/Set;
3: aload 0
iload 3
putfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.defaultVarIndex:I
4: aload 0
aload 4
putfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.nextLocalVar:Ljava/util/function/IntSupplier;
5: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder<TT;>;
0 6 2 elements Ljava/util/Set<TT;>;
0 6 3 defaultVarIndex I
0 6 4 nextLocalVar Ljava/util/function/IntSupplier;
Signature: (Ljava/util/Set<TT;>;ILjava/util/function/IntSupplier;)V
MethodParameters:
Name Flags
this$0 final
elements
defaultVarIndex
nextLocalVar
final void increment();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.refCount:I
iconst_1
iadd
putfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.refCount:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder<TT;>;
void visitElement(T, jdk.internal.org.objectweb.asm.MethodVisitor);
descriptor: (Ljava/lang/Object;Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitLdcInsn:(Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder<TT;>;
0 2 1 element TT;
0 2 2 mv Ljdk/internal/org/objectweb/asm/MethodVisitor;
Signature: (TT;Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
MethodParameters:
Name Flags
element
mv
final int build();
descriptor: ()I
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.localVarIndex:I
istore 1
start local 1 1: aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.localVarIndex:I
ifne 10
2: aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.refCount:I
iconst_1
if_icmpgt 3
aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.defaultVarIndex:I
goto 4
3: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.nextLocalVar:Ljava/util/function/IntSupplier;
invokeinterface java.util.function.IntSupplier.getAsInt:()I
4: StackMap locals:
StackMap stack: int
istore 1
5: iload 1
sipush 256
if_icmpge 8
6: aload 0
iload 1
putfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.localVarIndex:I
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.defaultVarIndex:I
istore 1
9: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.generateSetOf:(I)V
10: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder<TT;>;
1 11 1 index I
private void generateSetOf(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.elements:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
bipush 10
if_icmpgt 12
1: new java.lang.StringBuilder
dup
ldc "("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 2
start local 2 2: aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.elements:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder int java.lang.StringBuilder top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 3
start local 3 4: aload 2
ldc "Ljava/lang/Object;"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 0
aload 3
aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.this$1:Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$SystemModulesClassGenerator;
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator.mv:Ljdk/internal/org/objectweb/asm/MethodVisitor;
invokevirtual jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.visitElement:(Ljava/lang/Object;Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: aload 2
ldc ")Ljava/util/Set;"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.this$1:Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$SystemModulesClassGenerator;
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator.mv:Ljdk/internal/org/objectweb/asm/MethodVisitor;
sipush 184
ldc "java/util/Set"
9: ldc "of"
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
10: invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitMethodInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
end local 2 11: goto 26
12: StackMap locals: jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder int
StackMap stack:
aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.this$1:Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$SystemModulesClassGenerator;
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator.mv:Ljdk/internal/org/objectweb/asm/MethodVisitor;
aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.elements:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
invokestatic jdk.tools.jlink.internal.plugins.SystemModulesPlugin.pushInt:(Ljdk/internal/org/objectweb/asm/MethodVisitor;I)V
13: aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.this$1:Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$SystemModulesClassGenerator;
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator.mv:Ljdk/internal/org/objectweb/asm/MethodVisitor;
sipush 189
ldc "java/lang/String"
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitTypeInsn:(ILjava/lang/String;)V
14: iconst_0
istore 2
start local 2 15: aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.elements:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 22
StackMap locals: jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder int int top java.util.Iterator
StackMap stack:
16: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 3
start local 3 17: aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.this$1:Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$SystemModulesClassGenerator;
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator.mv:Ljdk/internal/org/objectweb/asm/MethodVisitor;
bipush 89
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
18: aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.this$1:Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$SystemModulesClassGenerator;
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator.mv:Ljdk/internal/org/objectweb/asm/MethodVisitor;
iload 2
invokestatic jdk.tools.jlink.internal.plugins.SystemModulesPlugin.pushInt:(Ljdk/internal/org/objectweb/asm/MethodVisitor;I)V
19: aload 0
aload 3
aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.this$1:Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$SystemModulesClassGenerator;
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator.mv:Ljdk/internal/org/objectweb/asm/MethodVisitor;
invokevirtual jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.visitElement:(Ljava/lang/Object;Ljdk/internal/org/objectweb/asm/MethodVisitor;)V
20: aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.this$1:Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$SystemModulesClassGenerator;
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator.mv:Ljdk/internal/org/objectweb/asm/MethodVisitor;
bipush 83
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitInsn:(I)V
21: iinc 2 1
end local 3 22: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
23: aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.this$1:Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$SystemModulesClassGenerator;
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator.mv:Ljdk/internal/org/objectweb/asm/MethodVisitor;
sipush 184
ldc "java/util/Set"
24: ldc "of"
ldc "([Ljava/lang/Object;)Ljava/util/Set;"
iconst_1
25: invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitMethodInsn:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
end local 2 26: StackMap locals: jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder int
StackMap stack:
aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder.this$1:Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$SystemModulesClassGenerator;
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator.mv:Ljdk/internal/org/objectweb/asm/MethodVisitor;
bipush 58
iload 1
invokevirtual jdk.internal.org.objectweb.asm.MethodVisitor.visitVarInsn:(II)V
27: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder<TT;>;
0 28 1 index I
2 11 2 sb Ljava/lang/StringBuilder;
4 6 3 t TT;
15 26 2 arrayIndex I
17 22 3 t TT;
MethodParameters:
Name Flags
index
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "SystemModulesPlugin.java"
NestHost: jdk.tools.jlink.internal.plugins.SystemModulesPlugin
InnerClasses:
SystemModulesClassGenerator = jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator of jdk.tools.jlink.internal.plugins.SystemModulesPlugin
SetBuilder = jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator$SetBuilder of jdk.tools.jlink.internal.plugins.SystemModulesPlugin$SystemModulesClassGenerator