class com.sun.tools.jdeps.JdepsTask$GenModuleInfo extends com.sun.tools.jdeps.JdepsTask$Command
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.jdeps.JdepsTask$GenModuleInfo
super_class: com.sun.tools.jdeps.JdepsTask$Command
{
final java.nio.file.Path dir;
descriptor: Ljava/nio/file/Path;
flags: (0x0010) ACC_FINAL
final boolean openModule;
descriptor: Z
flags: (0x0010) ACC_FINAL
final com.sun.tools.jdeps.JdepsTask this$0;
descriptor: Lcom/sun/tools/jdeps/JdepsTask;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.sun.tools.jdeps.JdepsTask, java.nio.file.Path, boolean);
descriptor: (Lcom/sun/tools/jdeps/JdepsTask;Ljava/nio/file/Path;Z)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield com.sun.tools.jdeps.JdepsTask$GenModuleInfo.this$0:Lcom/sun/tools/jdeps/JdepsTask;
1: aload 0
aload 1
getstatic com.sun.tools.jdeps.JdepsTask$CommandOption.GENERATE_MODULE_INFO:Lcom/sun/tools/jdeps/JdepsTask$CommandOption;
invokespecial com.sun.tools.jdeps.JdepsTask$Command.<init>:(Lcom/sun/tools/jdeps/JdepsTask;Lcom/sun/tools/jdeps/JdepsTask$CommandOption;)V
2: aload 0
aload 2
putfield com.sun.tools.jdeps.JdepsTask$GenModuleInfo.dir:Ljava/nio/file/Path;
3: aload 0
iload 3
putfield com.sun.tools.jdeps.JdepsTask$GenModuleInfo.openModule:Z
4: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/jdeps/JdepsTask$GenModuleInfo;
0 5 2 dir Ljava/nio/file/Path;
0 5 3 openModule Z
MethodParameters:
Name Flags
this$0 final
dir
openModule
boolean checkOptions();
descriptor: ()Z
flags: (0x0000)
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.JdepsTask$GenModuleInfo.this$0:Lcom/sun/tools/jdeps/JdepsTask;
getfield com.sun.tools.jdeps.JdepsTask.options:Lcom/sun/tools/jdeps/JdepsTask$Options;
getfield com.sun.tools.jdeps.JdepsTask$Options.classpath:Ljava/lang/String;
ifnull 5
1: aload 0
getfield com.sun.tools.jdeps.JdepsTask$GenModuleInfo.this$0:Lcom/sun/tools/jdeps/JdepsTask;
ldc "err.invalid.options"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "-classpath"
aastore
dup
iconst_1
2: aload 0
getfield com.sun.tools.jdeps.JdepsTask$GenModuleInfo.option:Lcom/sun/tools/jdeps/JdepsTask$CommandOption;
aastore
3: invokevirtual com.sun.tools.jdeps.JdepsTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.jdeps.JdepsTask$GenModuleInfo.this$0:Lcom/sun/tools/jdeps/JdepsTask;
getfield com.sun.tools.jdeps.JdepsTask.options:Lcom/sun/tools/jdeps/JdepsTask$Options;
invokevirtual com.sun.tools.jdeps.JdepsTask$Options.hasFilter:()Z
ifeq 10
6: aload 0
getfield com.sun.tools.jdeps.JdepsTask$GenModuleInfo.this$0:Lcom/sun/tools/jdeps/JdepsTask;
ldc "err.invalid.options"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "--package, --regex, --require"
aastore
dup
iconst_1
7: aload 0
getfield com.sun.tools.jdeps.JdepsTask$GenModuleInfo.option:Lcom/sun/tools/jdeps/JdepsTask$CommandOption;
aastore
8: invokevirtual com.sun.tools.jdeps.JdepsTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/jdeps/JdepsTask$GenModuleInfo;
boolean run(com.sun.tools.jdeps.JdepsConfiguration);
descriptor: (Lcom/sun/tools/jdeps/JdepsConfiguration;)Z
flags: (0x0000)
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.jdeps.JdepsTask$GenModuleInfo.this$0:Lcom/sun/tools/jdeps/JdepsTask;
getfield com.sun.tools.jdeps.JdepsTask.inputArgs:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 22
StackMap locals: com.sun.tools.jdeps.JdepsTask$GenModuleInfo com.sun.tools.jdeps.JdepsConfiguration top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: aconst_null
astore 4
aconst_null
astore 5
3: aload 2
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokestatic com.sun.tools.jdeps.ClassFileReader.newInstance:(Ljava/nio/file/Path;)Lcom/sun/tools/jdeps/ClassFileReader;
astore 6
start local 6 4: aload 6
invokevirtual com.sun.tools.jdeps.ClassFileReader.entries:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
5: invokedynamic test()Ljava/util/function/Predicate;
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;)Z
com/sun/tools/jdeps/JdepsTask$GenModuleInfo.lambda$0(Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
6: aload 0
invokedynamic test(Lcom/sun/tools/jdeps/JdepsTask$GenModuleInfo;)Ljava/util/function/Predicate;
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;)Z
com/sun/tools/jdeps/JdepsTask$GenModuleInfo.lambda$1(Ljava/lang/String;)Z (7)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
7: invokeinterface java.util.stream.Stream.findFirst:()Ljava/util/Optional;
8: astore 7
start local 7 9: aload 7
invokevirtual java.util.Optional.isPresent:()Z
ifeq 16
10: aload 7
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.String
ldc "module-info.class"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: aload 0
getfield com.sun.tools.jdeps.JdepsTask$GenModuleInfo.this$0:Lcom/sun/tools/jdeps/JdepsTask;
ldc "err.genmoduleinfo.not.jarfile"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual com.sun.tools.jdeps.JdepsTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
12: goto 14
13: StackMap locals: com.sun.tools.jdeps.JdepsTask$GenModuleInfo com.sun.tools.jdeps.JdepsConfiguration java.lang.String java.util.Iterator java.lang.Throwable java.lang.Throwable com.sun.tools.jdeps.ClassFileReader java.util.Optional
StackMap stack:
aload 0
getfield com.sun.tools.jdeps.JdepsTask$GenModuleInfo.this$0:Lcom/sun/tools/jdeps/JdepsTask;
ldc "err.genmoduleinfo.unnamed.package"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual com.sun.tools.jdeps.JdepsTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
14: StackMap locals:
StackMap stack:
aload 6
ifnull 15
aload 6
invokevirtual com.sun.tools.jdeps.ClassFileReader.close:()V
15: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 7 16: StackMap locals:
StackMap stack:
aload 6
ifnull 22
aload 6
invokevirtual com.sun.tools.jdeps.ClassFileReader.close:()V
goto 22
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 4
aload 6
ifnull 18
aload 6
invokevirtual com.sun.tools.jdeps.ClassFileReader.close:()V
end local 6 StackMap locals:
StackMap stack:
18: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 5
aload 4
ifnonnull 20
aload 5
astore 4
goto 21
StackMap locals:
StackMap stack:
20: aload 4
aload 5
if_acmpeq 21
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
21: aload 4
athrow
end local 2 22: StackMap locals: com.sun.tools.jdeps.JdepsTask$GenModuleInfo com.sun.tools.jdeps.JdepsConfiguration top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
23: new com.sun.tools.jdeps.ModuleInfoBuilder
dup
aload 1
aload 0
getfield com.sun.tools.jdeps.JdepsTask$GenModuleInfo.this$0:Lcom/sun/tools/jdeps/JdepsTask;
getfield com.sun.tools.jdeps.JdepsTask.inputArgs:Ljava/util/List;
aload 0
getfield com.sun.tools.jdeps.JdepsTask$GenModuleInfo.dir:Ljava/nio/file/Path;
aload 0
getfield com.sun.tools.jdeps.JdepsTask$GenModuleInfo.openModule:Z
invokespecial com.sun.tools.jdeps.ModuleInfoBuilder.<init>:(Lcom/sun/tools/jdeps/JdepsConfiguration;Ljava/util/List;Ljava/nio/file/Path;Z)V
24: astore 2
start local 2 25: aload 2
invokevirtual com.sun.tools.jdeps.ModuleInfoBuilder.run:()Z
istore 3
start local 3 26: iload 3
ifne 31
aload 0
getfield com.sun.tools.jdeps.JdepsTask$GenModuleInfo.this$0:Lcom/sun/tools/jdeps/JdepsTask;
getfield com.sun.tools.jdeps.JdepsTask.options:Lcom/sun/tools/jdeps/JdepsTask$Options;
getfield com.sun.tools.jdeps.JdepsTask$Options.nowarning:Z
ifne 31
27: aload 0
getfield com.sun.tools.jdeps.JdepsTask$GenModuleInfo.this$0:Lcom/sun/tools/jdeps/JdepsTask;
ldc "err.missing.dependences"
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.jdeps.JdepsTask.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
28: aload 2
29: aload 0
aload 2
invokedynamic visitDependence(Lcom/sun/tools/jdeps/JdepsTask$GenModuleInfo;Lcom/sun/tools/jdeps/ModuleInfoBuilder;)Lcom/sun/tools/jdeps/Analyzer$Visitor;
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/String;Lcom/sun/tools/jdeps/Archive;Ljava/lang/String;Lcom/sun/tools/jdeps/Archive;)V
com/sun/tools/jdeps/JdepsTask$GenModuleInfo.lambda$2(Lcom/sun/tools/jdeps/ModuleInfoBuilder;Ljava/lang/String;Lcom/sun/tools/jdeps/Archive;Ljava/lang/String;Lcom/sun/tools/jdeps/Archive;)V (7)
(Ljava/lang/String;Lcom/sun/tools/jdeps/Archive;Ljava/lang/String;Lcom/sun/tools/jdeps/Archive;)V
30: invokevirtual com.sun.tools.jdeps.ModuleInfoBuilder.visitMissingDeps:(Lcom/sun/tools/jdeps/Analyzer$Visitor;)V
31: StackMap locals: com.sun.tools.jdeps.JdepsTask$GenModuleInfo com.sun.tools.jdeps.JdepsConfiguration com.sun.tools.jdeps.ModuleInfoBuilder int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lcom/sun/tools/jdeps/JdepsTask$GenModuleInfo;
0 32 1 config Lcom/sun/tools/jdeps/JdepsConfiguration;
2 22 2 arg Ljava/lang/String;
4 18 6 reader Lcom/sun/tools/jdeps/ClassFileReader;
9 16 7 classInUnnamedPackage Ljava/util/Optional<Ljava/lang/String;>;
25 32 2 builder Lcom/sun/tools/jdeps/ModuleInfoBuilder;
26 32 3 ok Z
Exception table:
from to target type
4 14 17 any
3 15 19 any
16 19 19 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
config
private java.lang.String toPackageName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 2
start local 2 1: iload 2
ifle 2
aload 1
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 3
StackMap locals: int
StackMap stack:
2: ldc ""
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdeps/JdepsTask$GenModuleInfo;
0 4 1 name Ljava/lang/String;
1 4 2 i I
MethodParameters:
Name Flags
name
private static boolean lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 n Ljava/lang/String;
private boolean lambda$1(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.tools.jdeps.JdepsTask$GenModuleInfo.toPackageName:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/JdepsTask$GenModuleInfo;
0 1 1 cn Ljava/lang/String;
private void lambda$2(com.sun.tools.jdeps.ModuleInfoBuilder, java.lang.String, com.sun.tools.jdeps.Archive, java.lang.String, com.sun.tools.jdeps.Archive);
descriptor: (Lcom/sun/tools/jdeps/ModuleInfoBuilder;Ljava/lang/String;Lcom/sun/tools/jdeps/Archive;Ljava/lang/String;Lcom/sun/tools/jdeps/Archive;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=6, args_size=6
start local 0 start local 2 start local 3 start local 4 start local 5 0: aload 1
aload 5
invokevirtual com.sun.tools.jdeps.ModuleInfoBuilder.notFound:(Lcom/sun/tools/jdeps/Archive;)Z
ifeq 4
1: aload 0
getfield com.sun.tools.jdeps.JdepsTask$GenModuleInfo.this$0:Lcom/sun/tools/jdeps/JdepsTask;
getfield com.sun.tools.jdeps.JdepsTask.log:Ljava/io/PrintWriter;
ldc " %-50s -> %-50s %s%n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
2: aload 2
aastore
dup
iconst_1
aload 4
aastore
dup
iconst_2
aload 5
invokevirtual com.sun.tools.jdeps.Archive.getName:()Ljava/lang/String;
aastore
3: invokevirtual java.io.PrintWriter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
pop
4: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/jdeps/JdepsTask$GenModuleInfo;
0 5 2 origin Ljava/lang/String;
0 5 3 originArchive Lcom/sun/tools/jdeps/Archive;
0 5 4 target Ljava/lang/String;
0 5 5 targetArchive Lcom/sun/tools/jdeps/Archive;
}
SourceFile: "JdepsTask.java"
NestHost: com.sun.tools.jdeps.JdepsTask
InnerClasses:
abstract Visitor = com.sun.tools.jdeps.Analyzer$Visitor of com.sun.tools.jdeps.Analyzer
abstract Command = com.sun.tools.jdeps.JdepsTask$Command of com.sun.tools.jdeps.JdepsTask
final CommandOption = com.sun.tools.jdeps.JdepsTask$CommandOption of com.sun.tools.jdeps.JdepsTask
GenModuleInfo = com.sun.tools.jdeps.JdepsTask$GenModuleInfo of com.sun.tools.jdeps.JdepsTask
private Options = com.sun.tools.jdeps.JdepsTask$Options of com.sun.tools.jdeps.JdepsTask
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles