public class jdk.internal.org.objectweb.asm.util.CheckModuleAdapter extends jdk.internal.org.objectweb.asm.ModuleVisitor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.org.objectweb.asm.util.CheckModuleAdapter
super_class: jdk.internal.org.objectweb.asm.ModuleVisitor
{
private final boolean isOpen;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet requiredModules;
descriptor: Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter$NameSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet exportedPackages;
descriptor: Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter$NameSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet openedPackages;
descriptor: Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter$NameSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet usedServices;
descriptor: Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter$NameSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet providedServices;
descriptor: Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter$NameSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
int classVersion;
descriptor: I
flags: (0x0000)
private boolean visitEndCalled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(jdk.internal.org.objectweb.asm.ModuleVisitor, boolean);
descriptor: (Ljdk/internal/org/objectweb/asm/ModuleVisitor;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc 524288
aload 1
iload 2
invokespecial jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.<init>:(ILjdk/internal/org/objectweb/asm/ModuleVisitor;Z)V
1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter;
if_acmpeq 3
2: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
3: StackMap locals: jdk.internal.org.objectweb.asm.util.CheckModuleAdapter jdk.internal.org.objectweb.asm.ModuleVisitor int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter;
0 4 1 moduleVisitor Ljdk/internal/org/objectweb/asm/ModuleVisitor;
0 4 2 isOpen Z
MethodParameters:
Name Flags
moduleVisitor final
isOpen final
protected void <init>(int, jdk.internal.org.objectweb.asm.ModuleVisitor, boolean);
descriptor: (ILjdk/internal/org/objectweb/asm/ModuleVisitor;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
invokespecial jdk.internal.org.objectweb.asm.ModuleVisitor.<init>:(ILjdk/internal/org/objectweb/asm/ModuleVisitor;)V
1: aload 0
new jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet
dup
ldc "Modules requires"
invokespecial jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet.<init>:(Ljava/lang/String;)V
putfield jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.requiredModules:Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter$NameSet;
2: aload 0
new jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet
dup
ldc "Module exports"
invokespecial jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet.<init>:(Ljava/lang/String;)V
putfield jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.exportedPackages:Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter$NameSet;
3: aload 0
new jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet
dup
ldc "Module opens"
invokespecial jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet.<init>:(Ljava/lang/String;)V
putfield jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.openedPackages:Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter$NameSet;
4: aload 0
new jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet
dup
ldc "Module uses"
invokespecial jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet.<init>:(Ljava/lang/String;)V
putfield jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.usedServices:Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter$NameSet;
5: aload 0
new jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet
dup
ldc "Module provides"
invokespecial jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet.<init>:(Ljava/lang/String;)V
putfield jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.providedServices:Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter$NameSet;
6: aload 0
iload 3
putfield jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.isOpen:Z
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter;
0 8 1 api I
0 8 2 moduleVisitor Ljdk/internal/org/objectweb/asm/ModuleVisitor;
0 8 3 isOpen Z
MethodParameters:
Name Flags
api final
moduleVisitor final
isOpen final
public void visitMainClass(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: bipush 53
aload 1
ldc "module main class"
invokestatic jdk.internal.org.objectweb.asm.util.CheckMethodAdapter.checkInternalName:(ILjava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 1
invokespecial jdk.internal.org.objectweb.asm.ModuleVisitor.visitMainClass:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter;
0 3 1 mainClass Ljava/lang/String;
MethodParameters:
Name Flags
mainClass final
public void visitPackage(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: bipush 53
aload 1
ldc "module package"
invokestatic jdk.internal.org.objectweb.asm.util.CheckMethodAdapter.checkInternalName:(ILjava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 1
invokespecial jdk.internal.org.objectweb.asm.ModuleVisitor.visitPackage:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter;
0 3 1 packaze Ljava/lang/String;
MethodParameters:
Name Flags
packaze final
public void visitRequire(java.lang.String, int, java.lang.String);
descriptor: (Ljava/lang/String;ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.checkVisitEndNotCalled:()V
1: bipush 53
aload 1
ldc "required module"
invokestatic jdk.internal.org.objectweb.asm.util.CheckClassAdapter.checkFullyQualifiedName:(ILjava/lang/String;Ljava/lang/String;)V
2: aload 0
getfield jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.requiredModules:Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter$NameSet;
aload 1
invokevirtual jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet.checkNameNotAlreadyDeclared:(Ljava/lang/String;)V
3: iload 2
4: ldc 36960
5: invokestatic jdk.internal.org.objectweb.asm.util.CheckClassAdapter.checkAccess:(II)V
6: aload 0
getfield jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.classVersion:I
bipush 54
if_icmplt 15
7: aload 1
ldc "java.base"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
8: iload 2
bipush 96
iand
ifeq 15
9: new java.lang.IllegalArgumentException
dup
10: new java.lang.StringBuilder
dup
ldc "Invalid access flags: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
12: ldc " java.base can not be declared ACC_TRANSITIVE or ACC_STATIC_PHASE"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aload 3
invokespecial jdk.internal.org.objectweb.asm.ModuleVisitor.visitRequire:(Ljava/lang/String;ILjava/lang/String;)V
16: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter;
0 17 1 module Ljava/lang/String;
0 17 2 access I
0 17 3 version Ljava/lang/String;
MethodParameters:
Name Flags
module final
access final
version final
public void visitExport(java.lang.String, int, java.lang.String[]);
descriptor: (Ljava/lang/String;I[Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.checkVisitEndNotCalled:()V
1: bipush 53
aload 1
ldc "package name"
invokestatic jdk.internal.org.objectweb.asm.util.CheckMethodAdapter.checkInternalName:(ILjava/lang/String;Ljava/lang/String;)V
2: aload 0
getfield jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.exportedPackages:Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter$NameSet;
aload 1
invokevirtual jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet.checkNameNotAlreadyDeclared:(Ljava/lang/String;)V
3: iload 2
ldc 36864
invokestatic jdk.internal.org.objectweb.asm.util.CheckClassAdapter.checkAccess:(II)V
4: aload 3
ifnull 10
5: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 9
StackMap locals: jdk.internal.org.objectweb.asm.util.CheckModuleAdapter java.lang.String int java.lang.String[] top int int java.lang.String[]
StackMap stack:
6: aload 7
iload 5
aaload
astore 4
start local 4 7: bipush 53
aload 4
ldc "module export to"
invokestatic jdk.internal.org.objectweb.asm.util.CheckClassAdapter.checkFullyQualifiedName:(ILjava/lang/String;Ljava/lang/String;)V
end local 4 8: iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
iload 6
if_icmplt 6
10: StackMap locals: jdk.internal.org.objectweb.asm.util.CheckModuleAdapter java.lang.String int java.lang.String[]
StackMap stack:
aload 0
aload 1
iload 2
aload 3
invokespecial jdk.internal.org.objectweb.asm.ModuleVisitor.visitExport:(Ljava/lang/String;I[Ljava/lang/String;)V
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter;
0 12 1 packaze Ljava/lang/String;
0 12 2 access I
0 12 3 modules [Ljava/lang/String;
7 8 4 module Ljava/lang/String;
MethodParameters:
Name Flags
packaze final
access final
modules final
public void visitOpen(java.lang.String, int, java.lang.String[]);
descriptor: (Ljava/lang/String;I[Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.checkVisitEndNotCalled:()V
1: aload 0
getfield jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.isOpen:Z
ifeq 3
2: new java.lang.UnsupportedOperationException
dup
ldc "An open module can not use open directive"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
bipush 53
aload 1
ldc "package name"
invokestatic jdk.internal.org.objectweb.asm.util.CheckMethodAdapter.checkInternalName:(ILjava/lang/String;Ljava/lang/String;)V
4: aload 0
getfield jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.openedPackages:Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter$NameSet;
aload 1
invokevirtual jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet.checkNameNotAlreadyDeclared:(Ljava/lang/String;)V
5: iload 2
ldc 36864
invokestatic jdk.internal.org.objectweb.asm.util.CheckClassAdapter.checkAccess:(II)V
6: aload 3
ifnull 12
7: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 11
StackMap locals: jdk.internal.org.objectweb.asm.util.CheckModuleAdapter java.lang.String int java.lang.String[] top int int java.lang.String[]
StackMap stack:
8: aload 7
iload 5
aaload
astore 4
start local 4 9: bipush 53
aload 4
ldc "module open to"
invokestatic jdk.internal.org.objectweb.asm.util.CheckClassAdapter.checkFullyQualifiedName:(ILjava/lang/String;Ljava/lang/String;)V
end local 4 10: iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 6
if_icmplt 8
12: StackMap locals: jdk.internal.org.objectweb.asm.util.CheckModuleAdapter java.lang.String int java.lang.String[]
StackMap stack:
aload 0
aload 1
iload 2
aload 3
invokespecial jdk.internal.org.objectweb.asm.ModuleVisitor.visitOpen:(Ljava/lang/String;I[Ljava/lang/String;)V
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter;
0 14 1 packaze Ljava/lang/String;
0 14 2 access I
0 14 3 modules [Ljava/lang/String;
9 10 4 module Ljava/lang/String;
MethodParameters:
Name Flags
packaze final
access final
modules final
public void visitUse(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.checkVisitEndNotCalled:()V
1: bipush 53
aload 1
ldc "service"
invokestatic jdk.internal.org.objectweb.asm.util.CheckMethodAdapter.checkInternalName:(ILjava/lang/String;Ljava/lang/String;)V
2: aload 0
getfield jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.usedServices:Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter$NameSet;
aload 1
invokevirtual jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet.checkNameNotAlreadyDeclared:(Ljava/lang/String;)V
3: aload 0
aload 1
invokespecial jdk.internal.org.objectweb.asm.ModuleVisitor.visitUse:(Ljava/lang/String;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter;
0 5 1 service Ljava/lang/String;
MethodParameters:
Name Flags
service final
public void visitProvide(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.checkVisitEndNotCalled:()V
1: bipush 53
aload 1
ldc "service"
invokestatic jdk.internal.org.objectweb.asm.util.CheckMethodAdapter.checkInternalName:(ILjava/lang/String;Ljava/lang/String;)V
2: aload 0
getfield jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.providedServices:Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter$NameSet;
aload 1
invokevirtual jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet.checkNameNotAlreadyDeclared:(Ljava/lang/String;)V
3: aload 2
ifnull 4
aload 2
arraylength
ifne 5
4: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Providers cannot be null or empty"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 9
StackMap locals: jdk.internal.org.objectweb.asm.util.CheckModuleAdapter java.lang.String java.lang.String[] top int int java.lang.String[]
StackMap stack:
6: aload 6
iload 4
aaload
astore 3
start local 3 7: bipush 53
aload 3
ldc "provider"
invokestatic jdk.internal.org.objectweb.asm.util.CheckMethodAdapter.checkInternalName:(ILjava/lang/String;Ljava/lang/String;)V
end local 3 8: iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 5
if_icmplt 6
10: aload 0
aload 1
aload 2
invokespecial jdk.internal.org.objectweb.asm.ModuleVisitor.visitProvide:(Ljava/lang/String;[Ljava/lang/String;)V
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter;
0 12 1 service Ljava/lang/String;
0 12 2 providers [Ljava/lang/String;
7 8 3 provider Ljava/lang/String;
MethodParameters:
Name Flags
service final
providers final
public void visitEnd();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.checkVisitEndNotCalled:()V
1: aload 0
iconst_1
putfield jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.visitEndCalled:Z
2: aload 0
invokespecial jdk.internal.org.objectweb.asm.ModuleVisitor.visitEnd:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter;
private void checkVisitEndNotCalled();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.objectweb.asm.util.CheckModuleAdapter.visitEndCalled:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Cannot call a visit method after visitEnd has been called"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/objectweb/asm/util/CheckModuleAdapter;
}
SourceFile: "CheckModuleAdapter.java"
NestMembers:
jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet
InnerClasses:
private NameSet = jdk.internal.org.objectweb.asm.util.CheckModuleAdapter$NameSet of jdk.internal.org.objectweb.asm.util.CheckModuleAdapter