class com.sun.tools.jdeps.JdepsWriter$DotFileWriter$DotFileFormatter implements com.sun.tools.jdeps.Analyzer$Visitor, java.lang.AutoCloseable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.jdeps.JdepsWriter$DotFileWriter$DotFileFormatter
super_class: java.lang.Object
{
private final java.io.PrintWriter writer;
descriptor: Ljava/io/PrintWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final com.sun.tools.jdeps.JdepsWriter$DotFileWriter this$1;
descriptor: Lcom/sun/tools/jdeps/JdepsWriter$DotFileWriter;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.sun.tools.jdeps.JdepsWriter$DotFileWriter, java.io.PrintWriter, com.sun.tools.jdeps.Archive);
descriptor: (Lcom/sun/tools/jdeps/JdepsWriter$DotFileWriter;Ljava/io/PrintWriter;Lcom/sun/tools/jdeps/Archive;)V
flags: (0x0000)
Code:
stack=6, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield com.sun.tools.jdeps.JdepsWriter$DotFileWriter$DotFileFormatter.this$1:Lcom/sun/tools/jdeps/JdepsWriter$DotFileWriter;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield com.sun.tools.jdeps.JdepsWriter$DotFileWriter$DotFileFormatter.writer:Ljava/io/PrintWriter;
2: aload 0
aload 3
invokevirtual com.sun.tools.jdeps.Archive.getName:()Ljava/lang/String;
putfield com.sun.tools.jdeps.JdepsWriter$DotFileWriter$DotFileFormatter.name:Ljava/lang/String;
3: aload 2
ldc "digraph \"%s\" {%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.sun.tools.jdeps.JdepsWriter$DotFileWriter$DotFileFormatter.name:Ljava/lang/String;
aastore
invokevirtual java.io.PrintWriter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
pop
4: aload 2
ldc " // Path: %s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
invokevirtual com.sun.tools.jdeps.Archive.getPathName:()Ljava/lang/String;
aastore
invokevirtual java.io.PrintWriter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintWriter;
pop
5: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/jdeps/JdepsWriter$DotFileWriter$DotFileFormatter;
0 6 2 writer Ljava/io/PrintWriter;
0 6 3 archive Lcom/sun/tools/jdeps/Archive;
MethodParameters:
Name Flags
this$0 final
writer
archive
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.JdepsWriter$DotFileWriter$DotFileFormatter.writer:Ljava/io/PrintWriter;
ldc "}"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/JdepsWriter$DotFileWriter$DotFileFormatter;
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=10, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield com.sun.tools.jdeps.JdepsWriter$DotFileWriter$DotFileFormatter.this$1:Lcom/sun/tools/jdeps/JdepsWriter$DotFileWriter;
aload 2
aload 3
aload 4
invokevirtual com.sun.tools.jdeps.JdepsWriter$DotFileWriter.toTag:(Lcom/sun/tools/jdeps/Archive;Ljava/lang/String;Lcom/sun/tools/jdeps/Archive;)Ljava/lang/String;
astore 5
start local 5 1: aload 0
getfield com.sun.tools.jdeps.JdepsWriter$DotFileWriter$DotFileFormatter.writer:Ljava/io/PrintWriter;
ldc " %-50s -> \"%s\";%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
2: ldc "\"%s\""
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
iconst_1
3: aload 5
invokevirtual java.lang.String.isEmpty:()Z
ifeq 4
aload 3
goto 5
4: StackMap locals: com.sun.tools.jdeps.JdepsWriter$DotFileWriter$DotFileFormatter java.lang.String com.sun.tools.jdeps.Archive java.lang.String com.sun.tools.jdeps.Archive java.lang.String
StackMap stack: java.io.PrintWriter java.lang.String java.lang.Object[] java.lang.Object[] int
ldc "%s (%s)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 5
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
StackMap locals: com.sun.tools.jdeps.JdepsWriter$DotFileWriter$DotFileFormatter java.lang.String com.sun.tools.jdeps.Archive java.lang.String com.sun.tools.jdeps.Archive java.lang.String
StackMap stack: java.io.PrintWriter java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
5: aastore
6: 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$DotFileWriter$DotFileFormatter;
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 tag Ljava/lang/String;
MethodParameters:
Name Flags
origin
originArchive
target
targetArchive
}
SourceFile: "JdepsWriter.java"
NestHost: com.sun.tools.jdeps.JdepsWriter
InnerClasses:
abstract Visitor = com.sun.tools.jdeps.Analyzer$Visitor of com.sun.tools.jdeps.Analyzer
DotFileWriter = com.sun.tools.jdeps.JdepsWriter$DotFileWriter of com.sun.tools.jdeps.JdepsWriter
DotFileFormatter = com.sun.tools.jdeps.JdepsWriter$DotFileWriter$DotFileFormatter of com.sun.tools.jdeps.JdepsWriter$DotFileWriter