class com.sun.tools.jdeps.Module extends com.sun.tools.jdeps.Archive
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.jdeps.Module
super_class: com.sun.tools.jdeps.Archive
{
static final com.sun.tools.jdeps.Module UNNAMED_MODULE;
descriptor: Lcom/sun/tools/jdeps/Module;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.String JDK_UNSUPPORTED;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "jdk.unsupported"
static final boolean DEBUG;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
private final java.lang.module.ModuleDescriptor descriptor;
descriptor: Ljava/lang/module/ModuleDescriptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, java.util.Set<java.lang.String>> exports;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
private final java.util.Map<java.lang.String, java.util.Set<java.lang.String>> opens;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
private final boolean isSystem;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.net.URI location;
descriptor: Ljava/net/URI;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.sun.tools.jdeps.Module$UnnamedModule
dup
invokespecial com.sun.tools.jdeps.Module$UnnamedModule.<init>:()V
putstatic com.sun.tools.jdeps.Module.UNNAMED_MODULE:Lcom/sun/tools/jdeps/Module;
1: ldc "jdeps.debug"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
putstatic com.sun.tools.jdeps.Module.DEBUG:Z
return
LocalVariableTable:
Start End Slot Name Signature
static void trace(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.tools.jdeps.Module.DEBUG:Z
aload 0
aload 1
invokestatic com.sun.tools.jdeps.Module.trace:(ZLjava/lang/String;[Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fmt Ljava/lang/String;
0 2 1 args [Ljava/lang/Object;
MethodParameters:
Name Flags
fmt
args
static void trace(boolean, java.lang.String, java.lang.Object[]);
descriptor: (ZLjava/lang/String;[Ljava/lang/Object;)V
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
ifeq 2
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 1
aload 2
invokevirtual java.io.PrintStream.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 traceOn Z
0 3 1 fmt Ljava/lang/String;
0 3 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
traceOn
fmt
args
protected void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
iconst_0
invokespecial com.sun.tools.jdeps.Module.<init>:(Ljava/lang/String;Ljava/lang/module/ModuleDescriptor;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/Module;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
protected void <init>(java.lang.String, java.lang.module.ModuleDescriptor, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/module/ModuleDescriptor;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial com.sun.tools.jdeps.Archive.<init>:(Ljava/lang/String;)V
1: aload 0
aload 2
putfield com.sun.tools.jdeps.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
2: aload 0
aconst_null
putfield com.sun.tools.jdeps.Module.location:Ljava/net/URI;
3: aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
putfield com.sun.tools.jdeps.Module.exports:Ljava/util/Map;
4: aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
putfield com.sun.tools.jdeps.Module.opens:Ljava/util/Map;
5: aload 0
iload 3
putfield com.sun.tools.jdeps.Module.isSystem:Z
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/jdeps/Module;
0 7 1 name Ljava/lang/String;
0 7 2 descriptor Ljava/lang/module/ModuleDescriptor;
0 7 3 isSystem Z
MethodParameters:
Name Flags
name
descriptor
isSystem
private void <init>(java.lang.String, java.net.URI, java.lang.module.ModuleDescriptor, java.util.Map<java.lang.String, java.util.Set<java.lang.String>>, java.util.Map<java.lang.String, java.util.Set<java.lang.String>>, boolean, com.sun.tools.jdeps.ClassFileReader);
descriptor: (Ljava/lang/String;Ljava/net/URI;Ljava/lang/module/ModuleDescriptor;Ljava/util/Map;Ljava/util/Map;ZLcom/sun/tools/jdeps/ClassFileReader;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
aload 2
aload 7
invokespecial com.sun.tools.jdeps.Archive.<init>:(Ljava/lang/String;Ljava/net/URI;Lcom/sun/tools/jdeps/ClassFileReader;)V
1: aload 0
aload 3
putfield com.sun.tools.jdeps.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
2: aload 0
aload 2
putfield com.sun.tools.jdeps.Module.location:Ljava/net/URI;
3: aload 0
aload 4
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putfield com.sun.tools.jdeps.Module.exports:Ljava/util/Map;
4: aload 0
aload 5
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putfield com.sun.tools.jdeps.Module.opens:Ljava/util/Map;
5: aload 0
iload 6
putfield com.sun.tools.jdeps.Module.isSystem:Z
6: return
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 7 0 this Lcom/sun/tools/jdeps/Module;
0 7 1 name Ljava/lang/String;
0 7 2 location Ljava/net/URI;
0 7 3 descriptor Ljava/lang/module/ModuleDescriptor;
0 7 4 exports Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
0 7 5 opens Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
0 7 6 isSystem Z
0 7 7 reader Lcom/sun/tools/jdeps/ClassFileReader;
Signature: (Ljava/lang/String;Ljava/net/URI;Ljava/lang/module/ModuleDescriptor;Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;ZLcom/sun/tools/jdeps/ClassFileReader;)V
MethodParameters:
Name Flags
name
location
descriptor
exports
opens
isSystem
reader
public java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
ifnull 1
aload 0
getfield com.sun.tools.jdeps.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual com.sun.tools.jdeps.Module.getName:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/jdeps/Module;
public boolean isNamed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/Module;
public boolean isAutomatic();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
ifnull 1
aload 0
getfield com.sun.tools.jdeps.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.isAutomatic:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/Module;
public com.sun.tools.jdeps.Module getModule();
descriptor: ()Lcom/sun/tools/jdeps/Module;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/Module;
public java.lang.module.ModuleDescriptor descriptor();
descriptor: ()Ljava/lang/module/ModuleDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/Module;
public java.net.URI location();
descriptor: ()Ljava/net/URI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.Module.location:Ljava/net/URI;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/Module;
public boolean isJDK();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.jdeps.Module.name:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield com.sun.tools.jdeps.Module.isSystem:Z
ifeq 4
2: aload 1
ldc "java."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 3
aload 1
ldc "jdk."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
3: StackMap locals: java.lang.String
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/jdeps/Module;
1 5 1 mn Ljava/lang/String;
public boolean isSystem();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.Module.isSystem:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/Module;
public java.util.Map<java.lang.String, java.util.Set<java.lang.String>> exports();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.Module.exports:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/Module;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
public java.util.Set<java.lang.String> packages();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.Module.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.packages:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/Module;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public boolean isJDKUnsupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "jdk.unsupported"
aload 0
invokevirtual com.sun.tools.jdeps.Module.name:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/Module;
public com.sun.tools.jdeps.Module toNormalModule(java.util.Map<java.lang.String, java.lang.Boolean>);
descriptor: (Ljava/util/Map;)Lcom/sun/tools/jdeps/Module;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.tools.jdeps.Module.isAutomatic:()Z
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
aload 0
invokevirtual com.sun.tools.jdeps.Module.name:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " not an automatic module"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new com.sun.tools.jdeps.Module$NormalModule
dup
aload 0
aload 1
invokespecial com.sun.tools.jdeps.Module$NormalModule.<init>:(Lcom/sun/tools/jdeps/Module;Ljava/util/Map;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/jdeps/Module;
0 3 1 requires Ljava/util/Map<Ljava/lang/String;Ljava/lang/Boolean;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/Boolean;>;)Lcom/sun/tools/jdeps/Module;
MethodParameters:
Name Flags
requires
public boolean isExported(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.jdeps.Module.exports:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 1
aload 0
getfield com.sun.tools.jdeps.Module.exports:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
invokeinterface java.util.Set.isEmpty:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/Module;
0 2 1 pn Ljava/lang/String;
MethodParameters:
Name Flags
pn
public boolean isExported(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.sun.tools.jdeps.Module.isExported:(Ljava/lang/String;)Z
ifne 3
1: aload 0
getfield com.sun.tools.jdeps.Module.exports:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 2
aload 0
getfield com.sun.tools.jdeps.Module.exports:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
aload 2
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 3
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdeps/Module;
0 4 1 pn Ljava/lang/String;
0 4 2 target Ljava/lang/String;
MethodParameters:
Name Flags
pn
target
public boolean isOpen(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.jdeps.Module.opens:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 1
aload 0
getfield com.sun.tools.jdeps.Module.opens:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
invokeinterface java.util.Set.isEmpty:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/Module;
0 2 1 pn Ljava/lang/String;
MethodParameters:
Name Flags
pn
public boolean isOpen(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.sun.tools.jdeps.Module.isOpen:(Ljava/lang/String;)Z
ifne 3
1: aload 0
getfield com.sun.tools.jdeps.Module.opens:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 2
aload 0
getfield com.sun.tools.jdeps.Module.opens:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
aload 2
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 3
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdeps/Module;
0 4 1 pn Ljava/lang/String;
0 4 2 target Ljava/lang/String;
MethodParameters:
Name Flags
pn
target
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.jdeps.Module.name:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/Module;
}
SourceFile: "Module.java"
NestMembers:
com.sun.tools.jdeps.Module$Builder com.sun.tools.jdeps.Module$NormalModule com.sun.tools.jdeps.Module$UnnamedModule
InnerClasses:
public final Builder = com.sun.tools.jdeps.Module$Builder of com.sun.tools.jdeps.Module
private NormalModule = com.sun.tools.jdeps.Module$NormalModule of com.sun.tools.jdeps.Module
private UnnamedModule = com.sun.tools.jdeps.Module$UnnamedModule of com.sun.tools.jdeps.Module