final class jdk.internal.module.Builder
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.module.Builder
super_class: java.lang.Object
{
private static final jdk.internal.misc.JavaLangModuleAccess JLMA;
descriptor: Ljdk/internal/misc/JavaLangModuleAccess;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static java.lang.module.ModuleDescriptor$Version cachedVersion;
descriptor: Ljava/lang/module/ModuleDescriptor$Version;
flags: (0x0008) ACC_STATIC
final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
boolean open;
descriptor: Z
flags: (0x0000)
boolean synthetic;
descriptor: Z
flags: (0x0000)
boolean mandated;
descriptor: Z
flags: (0x0000)
java.util.Set<java.lang.module.ModuleDescriptor$Requires> requires;
descriptor: Ljava/util/Set;
flags: (0x0000)
Signature: Ljava/util/Set<Ljava/lang/module/ModuleDescriptor$Requires;>;
java.util.Set<java.lang.module.ModuleDescriptor$Exports> exports;
descriptor: Ljava/util/Set;
flags: (0x0000)
Signature: Ljava/util/Set<Ljava/lang/module/ModuleDescriptor$Exports;>;
java.util.Set<java.lang.module.ModuleDescriptor$Opens> opens;
descriptor: Ljava/util/Set;
flags: (0x0000)
Signature: Ljava/util/Set<Ljava/lang/module/ModuleDescriptor$Opens;>;
java.util.Set<java.lang.String> packages;
descriptor: Ljava/util/Set;
flags: (0x0000)
Signature: Ljava/util/Set<Ljava/lang/String;>;
java.util.Set<java.lang.String> uses;
descriptor: Ljava/util/Set;
flags: (0x0000)
Signature: Ljava/util/Set<Ljava/lang/String;>;
java.util.Set<java.lang.module.ModuleDescriptor$Provides> provides;
descriptor: Ljava/util/Set;
flags: (0x0000)
Signature: Ljava/util/Set<Ljava/lang/module/ModuleDescriptor$Provides;>;
java.lang.module.ModuleDescriptor$Version version;
descriptor: Ljava/lang/module/ModuleDescriptor$Version;
flags: (0x0000)
java.lang.String mainClass;
descriptor: Ljava/lang/String;
flags: (0x0000)
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/Builder;
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.Builder.$assertionsDisabled:Z
3: invokestatic jdk.internal.misc.SharedSecrets.getJavaLangModuleAccess:()Ljdk/internal/misc/JavaLangModuleAccess;
4: putstatic jdk.internal.module.Builder.JLMA:Ljdk/internal/misc/JavaLangModuleAccess;
5: return
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.module.ModuleDescriptor$Requires newRequires(java.util.Set<java.lang.module.ModuleDescriptor$Requires$Modifier>, java.lang.String, java.lang.String);
descriptor: (Ljava/util/Set;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Requires;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 2
ifnull 7
2: getstatic jdk.internal.module.Builder.cachedVersion:Ljava/lang/module/ModuleDescriptor$Version;
astore 4
start local 4 3: aload 4
ifnull 6
aload 2
aload 4
invokevirtual java.lang.module.ModuleDescriptor$Version.toString:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: aload 4
astore 3
5: goto 7
6: StackMap locals: java.lang.module.ModuleDescriptor$Version java.lang.module.ModuleDescriptor$Version
StackMap stack:
aload 2
invokestatic java.lang.module.ModuleDescriptor$Version.parse:(Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Version;
astore 3
end local 4 7: StackMap locals:
StackMap stack:
getstatic jdk.internal.module.Builder.JLMA:Ljdk/internal/misc/JavaLangModuleAccess;
aload 0
aload 1
aload 3
invokeinterface jdk.internal.misc.JavaLangModuleAccess.newRequires:(Ljava/util/Set;Ljava/lang/String;Ljava/lang/module/ModuleDescriptor$Version;)Ljava/lang/module/ModuleDescriptor$Requires;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 mods Ljava/util/Set<Ljava/lang/module/ModuleDescriptor$Requires$Modifier;>;
0 8 1 mn Ljava/lang/String;
0 8 2 compiledVersion Ljava/lang/String;
1 8 3 version Ljava/lang/module/ModuleDescriptor$Version;
3 7 4 ver Ljava/lang/module/ModuleDescriptor$Version;
Signature: (Ljava/util/Set<Ljava/lang/module/ModuleDescriptor$Requires$Modifier;>;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Requires;
MethodParameters:
Name Flags
mods
mn
compiledVersion
public static java.lang.module.ModuleDescriptor$Requires newRequires(java.util.Set<java.lang.module.ModuleDescriptor$Requires$Modifier>, java.lang.String);
descriptor: (Ljava/util/Set;Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Requires;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokestatic jdk.internal.module.Builder.newRequires:(Ljava/util/Set;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Requires;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 mods Ljava/util/Set<Ljava/lang/module/ModuleDescriptor$Requires$Modifier;>;
0 1 1 mn Ljava/lang/String;
Signature: (Ljava/util/Set<Ljava/lang/module/ModuleDescriptor$Requires$Modifier;>;Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Requires;
MethodParameters:
Name Flags
mods
mn
public static java.lang.module.ModuleDescriptor$Exports newExports(java.util.Set<java.lang.module.ModuleDescriptor$Exports$Modifier>, java.lang.String, java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;Ljava/lang/String;Ljava/util/Set;)Ljava/lang/module/ModuleDescriptor$Exports;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.internal.module.Builder.JLMA:Ljdk/internal/misc/JavaLangModuleAccess;
aload 0
aload 1
aload 2
invokeinterface jdk.internal.misc.JavaLangModuleAccess.newExports:(Ljava/util/Set;Ljava/lang/String;Ljava/util/Set;)Ljava/lang/module/ModuleDescriptor$Exports;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ms Ljava/util/Set<Ljava/lang/module/ModuleDescriptor$Exports$Modifier;>;
0 1 1 pn Ljava/lang/String;
0 1 2 targets Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/Set<Ljava/lang/module/ModuleDescriptor$Exports$Modifier;>;Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;)Ljava/lang/module/ModuleDescriptor$Exports;
MethodParameters:
Name Flags
ms
pn
targets
public static java.lang.module.ModuleDescriptor$Opens newOpens(java.util.Set<java.lang.module.ModuleDescriptor$Opens$Modifier>, java.lang.String);
descriptor: (Ljava/util/Set;Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Opens;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.module.Builder.JLMA:Ljdk/internal/misc/JavaLangModuleAccess;
aload 0
aload 1
invokeinterface jdk.internal.misc.JavaLangModuleAccess.newOpens:(Ljava/util/Set;Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Opens;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ms Ljava/util/Set<Ljava/lang/module/ModuleDescriptor$Opens$Modifier;>;
0 1 1 pn Ljava/lang/String;
Signature: (Ljava/util/Set<Ljava/lang/module/ModuleDescriptor$Opens$Modifier;>;Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Opens;
MethodParameters:
Name Flags
ms
pn
public static java.lang.module.ModuleDescriptor$Opens newOpens(java.util.Set<java.lang.module.ModuleDescriptor$Opens$Modifier>, java.lang.String, java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;Ljava/lang/String;Ljava/util/Set;)Ljava/lang/module/ModuleDescriptor$Opens;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.internal.module.Builder.JLMA:Ljdk/internal/misc/JavaLangModuleAccess;
aload 0
aload 1
aload 2
invokeinterface jdk.internal.misc.JavaLangModuleAccess.newOpens:(Ljava/util/Set;Ljava/lang/String;Ljava/util/Set;)Ljava/lang/module/ModuleDescriptor$Opens;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ms Ljava/util/Set<Ljava/lang/module/ModuleDescriptor$Opens$Modifier;>;
0 1 1 pn Ljava/lang/String;
0 1 2 targets Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/Set<Ljava/lang/module/ModuleDescriptor$Opens$Modifier;>;Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;)Ljava/lang/module/ModuleDescriptor$Opens;
MethodParameters:
Name Flags
ms
pn
targets
public static java.lang.module.ModuleDescriptor$Exports newExports(java.util.Set<java.lang.module.ModuleDescriptor$Exports$Modifier>, java.lang.String);
descriptor: (Ljava/util/Set;Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Exports;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.module.Builder.JLMA:Ljdk/internal/misc/JavaLangModuleAccess;
aload 0
aload 1
invokeinterface jdk.internal.misc.JavaLangModuleAccess.newExports:(Ljava/util/Set;Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Exports;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ms Ljava/util/Set<Ljava/lang/module/ModuleDescriptor$Exports$Modifier;>;
0 1 1 pn Ljava/lang/String;
Signature: (Ljava/util/Set<Ljava/lang/module/ModuleDescriptor$Exports$Modifier;>;Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Exports;
MethodParameters:
Name Flags
ms
pn
public static java.lang.module.ModuleDescriptor$Provides newProvides(java.lang.String, java.util.List<java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/util/List;)Ljava/lang/module/ModuleDescriptor$Provides;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.module.Builder.JLMA:Ljdk/internal/misc/JavaLangModuleAccess;
aload 0
aload 1
invokeinterface jdk.internal.misc.JavaLangModuleAccess.newProvides:(Ljava/lang/String;Ljava/util/List;)Ljava/lang/module/ModuleDescriptor$Provides;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 st Ljava/lang/String;
0 1 1 pcs Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;)Ljava/lang/module/ModuleDescriptor$Provides;
MethodParameters:
Name Flags
st
pcs
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.internal.module.Builder.name:Ljava/lang/String;
2: aload 0
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
putfield jdk.internal.module.Builder.requires:Ljava/util/Set;
3: aload 0
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
putfield jdk.internal.module.Builder.exports:Ljava/util/Set;
4: aload 0
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
putfield jdk.internal.module.Builder.opens:Ljava/util/Set;
5: aload 0
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
putfield jdk.internal.module.Builder.provides:Ljava/util/Set;
6: aload 0
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
putfield jdk.internal.module.Builder.uses:Ljava/util/Set;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/module/Builder;
0 8 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
jdk.internal.module.Builder open(boolean);
descriptor: (Z)Ljdk/internal/module/Builder;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.internal.module.Builder.open:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/module/Builder;
0 2 1 value Z
MethodParameters:
Name Flags
value
jdk.internal.module.Builder synthetic(boolean);
descriptor: (Z)Ljdk/internal/module/Builder;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.internal.module.Builder.synthetic:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/module/Builder;
0 2 1 value Z
MethodParameters:
Name Flags
value
jdk.internal.module.Builder mandated(boolean);
descriptor: (Z)Ljdk/internal/module/Builder;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.internal.module.Builder.mandated:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/module/Builder;
0 2 1 value Z
MethodParameters:
Name Flags
value
public jdk.internal.module.Builder exports(java.lang.module.ModuleDescriptor$Exports[]);
descriptor: ([Ljava/lang/module/ModuleDescriptor$Exports;)Ljdk/internal/module/Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Set.of:([Ljava/lang/Object;)Ljava/util/Set;
putfield jdk.internal.module.Builder.exports:Ljava/util/Set;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/module/Builder;
0 2 1 exports [Ljava/lang/module/ModuleDescriptor$Exports;
MethodParameters:
Name Flags
exports
public jdk.internal.module.Builder opens(java.lang.module.ModuleDescriptor$Opens[]);
descriptor: ([Ljava/lang/module/ModuleDescriptor$Opens;)Ljdk/internal/module/Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Set.of:([Ljava/lang/Object;)Ljava/util/Set;
putfield jdk.internal.module.Builder.opens:Ljava/util/Set;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/module/Builder;
0 2 1 opens [Ljava/lang/module/ModuleDescriptor$Opens;
MethodParameters:
Name Flags
opens
public jdk.internal.module.Builder requires(java.lang.module.ModuleDescriptor$Requires[]);
descriptor: ([Ljava/lang/module/ModuleDescriptor$Requires;)Ljdk/internal/module/Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Set.of:([Ljava/lang/Object;)Ljava/util/Set;
putfield jdk.internal.module.Builder.requires:Ljava/util/Set;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/module/Builder;
0 2 1 requires [Ljava/lang/module/ModuleDescriptor$Requires;
MethodParameters:
Name Flags
requires
public jdk.internal.module.Builder packages(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)Ljdk/internal/module/Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.internal.module.Builder.packages:Ljava/util/Set;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/module/Builder;
0 2 1 packages Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/Set<Ljava/lang/String;>;)Ljdk/internal/module/Builder;
MethodParameters:
Name Flags
packages
public jdk.internal.module.Builder uses(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)Ljdk/internal/module/Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.internal.module.Builder.uses:Ljava/util/Set;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/module/Builder;
0 2 1 uses Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/Set<Ljava/lang/String;>;)Ljdk/internal/module/Builder;
MethodParameters:
Name Flags
uses
public jdk.internal.module.Builder provides(java.lang.module.ModuleDescriptor$Provides[]);
descriptor: ([Ljava/lang/module/ModuleDescriptor$Provides;)Ljdk/internal/module/Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Set.of:([Ljava/lang/Object;)Ljava/util/Set;
putfield jdk.internal.module.Builder.provides:Ljava/util/Set;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/module/Builder;
0 2 1 provides [Ljava/lang/module/ModuleDescriptor$Provides;
MethodParameters:
Name Flags
provides
public jdk.internal.module.Builder version(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/module/Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.module.Builder.cachedVersion:Ljava/lang/module/ModuleDescriptor$Version;
astore 2
start local 2 1: aload 2
ifnull 4
aload 1
aload 2
invokevirtual java.lang.module.ModuleDescriptor$Version.toString:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: aload 0
aload 2
putfield jdk.internal.module.Builder.version:Ljava/lang/module/ModuleDescriptor$Version;
3: goto 5
4: StackMap locals: java.lang.module.ModuleDescriptor$Version
StackMap stack:
aload 0
aload 1
invokestatic java.lang.module.ModuleDescriptor$Version.parse:(Ljava/lang/String;)Ljava/lang/module/ModuleDescriptor$Version;
dup_x1
putfield jdk.internal.module.Builder.version:Ljava/lang/module/ModuleDescriptor$Version;
putstatic jdk.internal.module.Builder.cachedVersion:Ljava/lang/module/ModuleDescriptor$Version;
5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/module/Builder;
0 6 1 v Ljava/lang/String;
1 6 2 ver Ljava/lang/module/ModuleDescriptor$Version;
MethodParameters:
Name Flags
v
public jdk.internal.module.Builder mainClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/module/Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.internal.module.Builder.mainClass:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/module/Builder;
0 2 1 mc Ljava/lang/String;
MethodParameters:
Name Flags
mc
private java.util.Set<java.lang.module.ModuleDescriptor$Modifier> modifiers();
descriptor: ()Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield jdk.internal.module.Builder.open:Z
ifeq 2
iinc 1 1
2: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.internal.module.Builder.synthetic:Z
ifeq 3
iinc 1 1
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.module.Builder.mandated:Z
ifeq 4
iinc 1 1
4: StackMap locals:
StackMap stack:
iload 1
ifne 6
5: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
6: StackMap locals:
StackMap stack:
iload 1
anewarray java.lang.module.ModuleDescriptor$Modifier
astore 2
start local 2 7: aload 0
getfield jdk.internal.module.Builder.open:Z
ifeq 8
aload 2
iinc 1 -1
iload 1
getstatic java.lang.module.ModuleDescriptor$Modifier.OPEN:Ljava/lang/module/ModuleDescriptor$Modifier;
aastore
8: StackMap locals: java.lang.module.ModuleDescriptor$Modifier[]
StackMap stack:
aload 0
getfield jdk.internal.module.Builder.synthetic:Z
ifeq 9
aload 2
iinc 1 -1
iload 1
getstatic java.lang.module.ModuleDescriptor$Modifier.SYNTHETIC:Ljava/lang/module/ModuleDescriptor$Modifier;
aastore
9: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.module.Builder.mandated:Z
ifeq 10
aload 2
iinc 1 -1
iload 1
getstatic java.lang.module.ModuleDescriptor$Modifier.MANDATED:Ljava/lang/module/ModuleDescriptor$Modifier;
aastore
10: StackMap locals:
StackMap stack:
aload 2
invokestatic java.util.Set.of:([Ljava/lang/Object;)Ljava/util/Set;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/internal/module/Builder;
1 11 1 n I
7 11 2 mods [Ljava/lang/module/ModuleDescriptor$Modifier;
Signature: ()Ljava/util/Set<Ljava/lang/module/ModuleDescriptor$Modifier;>;
public java.lang.module.ModuleDescriptor build(int);
descriptor: (I)Ljava/lang/module/ModuleDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.module.Builder.$assertionsDisabled:Z
ifne 1
aload 0
getfield jdk.internal.module.Builder.name:Ljava/lang/String;
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic jdk.internal.module.Builder.JLMA:Ljdk/internal/misc/JavaLangModuleAccess;
aload 0
getfield jdk.internal.module.Builder.name:Ljava/lang/String;
2: aload 0
getfield jdk.internal.module.Builder.version:Ljava/lang/module/ModuleDescriptor$Version;
3: aload 0
invokevirtual jdk.internal.module.Builder.modifiers:()Ljava/util/Set;
4: aload 0
getfield jdk.internal.module.Builder.requires:Ljava/util/Set;
5: aload 0
getfield jdk.internal.module.Builder.exports:Ljava/util/Set;
6: aload 0
getfield jdk.internal.module.Builder.opens:Ljava/util/Set;
7: aload 0
getfield jdk.internal.module.Builder.uses:Ljava/util/Set;
8: aload 0
getfield jdk.internal.module.Builder.provides:Ljava/util/Set;
9: aload 0
getfield jdk.internal.module.Builder.packages:Ljava/util/Set;
10: aload 0
getfield jdk.internal.module.Builder.mainClass:Ljava/lang/String;
11: iload 1
12: invokeinterface jdk.internal.misc.JavaLangModuleAccess.newModuleDescriptor:(Ljava/lang/String;Ljava/lang/module/ModuleDescriptor$Version;Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;Ljava/lang/String;I)Ljava/lang/module/ModuleDescriptor;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/internal/module/Builder;
0 13 1 hashCode I
MethodParameters:
Name Flags
hashCode
}
SourceFile: "Builder.java"
InnerClasses:
public final Exports = java.lang.module.ModuleDescriptor$Exports of java.lang.module.ModuleDescriptor
public final Modifier = java.lang.module.ModuleDescriptor$Exports$Modifier of java.lang.module.ModuleDescriptor$Exports
public final Modifier = java.lang.module.ModuleDescriptor$Modifier of java.lang.module.ModuleDescriptor
public final Opens = java.lang.module.ModuleDescriptor$Opens of java.lang.module.ModuleDescriptor
public final Modifier = java.lang.module.ModuleDescriptor$Opens$Modifier of java.lang.module.ModuleDescriptor$Opens
public final Provides = java.lang.module.ModuleDescriptor$Provides of java.lang.module.ModuleDescriptor
public final Requires = java.lang.module.ModuleDescriptor$Requires of java.lang.module.ModuleDescriptor
public final Modifier = java.lang.module.ModuleDescriptor$Requires$Modifier of java.lang.module.ModuleDescriptor$Requires
public final Version = java.lang.module.ModuleDescriptor$Version of java.lang.module.ModuleDescriptor