class com.sun.tools.jdeps.JdepsWriter$SimpleWriter$RawSummaryFormatter implements com.sun.tools.jdeps.Analyzer$Visitor
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.jdeps.JdepsWriter$SimpleWriter$RawSummaryFormatter
super_class: java.lang.Object
{
private final java.io.PrintWriter writer;
descriptor: Ljava/io/PrintWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final com.sun.tools.jdeps.JdepsWriter$SimpleWriter this$1;
descriptor: Lcom/sun/tools/jdeps/JdepsWriter$SimpleWriter;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.sun.tools.jdeps.JdepsWriter$SimpleWriter, java.io.PrintWriter);
descriptor: (Lcom/sun/tools/jdeps/JdepsWriter$SimpleWriter;Ljava/io/PrintWriter;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield com.sun.tools.jdeps.JdepsWriter$SimpleWriter$RawSummaryFormatter.this$1:Lcom/sun/tools/jdeps/JdepsWriter$SimpleWriter;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield com.sun.tools.jdeps.JdepsWriter$SimpleWriter$RawSummaryFormatter.writer:Ljava/io/PrintWriter;
2: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/jdeps/JdepsWriter$SimpleWriter$RawSummaryFormatter;
0 3 2 writer Ljava/io/PrintWriter;
MethodParameters:
Name Flags
this$0 final
writer
public void visitDependence(java.lang.String, com.sun.tools.jdeps.Archive, java.lang.String, com.sun.tools.jdeps.Archive);
descriptor: (Ljava/lang/String;Lcom/sun/tools/jdeps/Archive;Ljava/lang/String;Lcom/sun/tools/jdeps/Archive;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
invokevirtual com.sun.tools.jdeps.Archive.getPathName:()Ljava/lang/String;
astore 5
start local 5 1: aload 4
invokevirtual com.sun.tools.jdeps.Archive.getModule:()Lcom/sun/tools/jdeps/Module;
invokevirtual com.sun.tools.jdeps.Module.isNamed:()Z
ifeq 3
2: aload 4
invokevirtual com.sun.tools.jdeps.Archive.getModule:()Lcom/sun/tools/jdeps/Module;
invokevirtual com.sun.tools.jdeps.Module.name:()Ljava/lang/String;
astore 5
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.sun.tools.jdeps.JdepsWriter$SimpleWriter$RawSummaryFormatter.writer:Ljava/io/PrintWriter;
ldc "%s -> %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual com.sun.tools.jdeps.Archive.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 5
aastore
invokevirtual java.io.PrintWriter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
pop
4: aload 0
getfield com.sun.tools.jdeps.JdepsWriter$SimpleWriter$RawSummaryFormatter.this$1:Lcom/sun/tools/jdeps/JdepsWriter$SimpleWriter;
getfield com.sun.tools.jdeps.JdepsWriter$SimpleWriter.showProfile:Z
ifeq 6
aload 4
invokevirtual com.sun.tools.jdeps.Archive.getModule:()Lcom/sun/tools/jdeps/Module;
invokevirtual com.sun.tools.jdeps.Module.isJDK:()Z
ifeq 6
5: aload 0
getfield com.sun.tools.jdeps.JdepsWriter$SimpleWriter$RawSummaryFormatter.writer:Ljava/io/PrintWriter;
ldc " (%s)"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokevirtual java.io.PrintWriter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
pop
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.jdeps.JdepsWriter$SimpleWriter$RawSummaryFormatter.writer:Ljava/io/PrintWriter;
ldc "%n"
iconst_0
anewarray java.lang.Object
invokevirtual java.io.PrintWriter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
pop
7: return
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 8 0 this Lcom/sun/tools/jdeps/JdepsWriter$SimpleWriter$RawSummaryFormatter;
0 8 1 origin Ljava/lang/String;
0 8 2 originArchive Lcom/sun/tools/jdeps/Archive;
0 8 3 target Ljava/lang/String;
0 8 4 targetArchive Lcom/sun/tools/jdeps/Archive;
1 8 5 targetName Ljava/lang/String;
MethodParameters:
Name Flags
origin
originArchive
target
targetArchive
public void printModuleDescriptor(com.sun.tools.jdeps.Module);
descriptor: (Lcom/sun/tools/jdeps/Module;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.tools.jdeps.Module.isNamed:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.jdeps.JdepsWriter$SimpleWriter$RawSummaryFormatter.writer:Ljava/io/PrintWriter;
ldc "%s%s%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual com.sun.tools.jdeps.Module.name:()Ljava/lang/String;
aastore
dup
iconst_1
aload 1
invokevirtual com.sun.tools.jdeps.Module.isAutomatic:()Z
ifeq 3
ldc " automatic"
goto 4
StackMap locals: com.sun.tools.jdeps.JdepsWriter$SimpleWriter$RawSummaryFormatter com.sun.tools.jdeps.Module
StackMap stack: java.io.PrintWriter java.lang.String java.lang.Object[] java.lang.Object[] int
3: ldc ""
StackMap locals: com.sun.tools.jdeps.JdepsWriter$SimpleWriter$RawSummaryFormatter com.sun.tools.jdeps.Module
StackMap stack: java.io.PrintWriter java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
4: aastore
invokevirtual java.io.PrintWriter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
pop
5: aload 0
getfield com.sun.tools.jdeps.JdepsWriter$SimpleWriter$RawSummaryFormatter.writer:Ljava/io/PrintWriter;
ldc " [%s]%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual com.sun.tools.jdeps.Module.location:()Ljava/net/URI;
aastore
invokevirtual java.io.PrintWriter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
pop
6: aload 1
invokevirtual com.sun.tools.jdeps.Module.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.requires:()Ljava/util/Set;
7: invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
8: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
java/lang/module/ModuleDescriptor$Requires.name()Ljava/lang/String; (5)
(Ljava/lang/module/ModuleDescriptor$Requires;)Ljava/lang/String;
invokestatic java.util.Comparator.comparing:(Ljava/util/function/Function;)Ljava/util/Comparator;
invokeinterface java.util.stream.Stream.sorted:(Ljava/util/Comparator;)Ljava/util/stream/Stream;
9: aload 0
invokedynamic accept(Lcom/sun/tools/jdeps/JdepsWriter$SimpleWriter$RawSummaryFormatter;)Ljava/util/function/Consumer;
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;)V
com/sun/tools/jdeps/JdepsWriter$SimpleWriter$RawSummaryFormatter.lambda$1(Ljava/lang/module/ModuleDescriptor$Requires;)V (7)
(Ljava/lang/module/ModuleDescriptor$Requires;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/jdeps/JdepsWriter$SimpleWriter$RawSummaryFormatter;
0 11 1 module Lcom/sun/tools/jdeps/Module;
MethodParameters:
Name Flags
module
private void lambda$1(java.lang.module.ModuleDescriptor$Requires);
descriptor: (Ljava/lang/module/ModuleDescriptor$Requires;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.jdeps.JdepsWriter$SimpleWriter$RawSummaryFormatter.writer:Ljava/io/PrintWriter;
ldc " requires %s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual java.io.PrintWriter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/JdepsWriter$SimpleWriter$RawSummaryFormatter;
0 1 1 req Ljava/lang/module/ModuleDescriptor$Requires;
}
SourceFile: "JdepsWriter.java"
NestHost: com.sun.tools.jdeps.JdepsWriter
InnerClasses:
abstract Visitor = com.sun.tools.jdeps.Analyzer$Visitor of com.sun.tools.jdeps.Analyzer
SimpleWriter = com.sun.tools.jdeps.JdepsWriter$SimpleWriter of com.sun.tools.jdeps.JdepsWriter
RawSummaryFormatter = com.sun.tools.jdeps.JdepsWriter$SimpleWriter$RawSummaryFormatter of com.sun.tools.jdeps.JdepsWriter$SimpleWriter
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Requires = java.lang.module.ModuleDescriptor$Requires of java.lang.module.ModuleDescriptor