class jdk.jshell.Eval$EvalPretty extends com.sun.tools.javac.tree.Pretty
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jshell.Eval$EvalPretty
super_class: com.sun.tools.javac.tree.Pretty
{
private final java.io.Writer out;
descriptor: Ljava/io/Writer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.io.Writer, boolean);
descriptor: (Ljava/io/Writer;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokespecial com.sun.tools.javac.tree.Pretty.<init>:(Ljava/io/Writer;Z)V
1: aload 0
aload 1
putfield jdk.jshell.Eval$EvalPretty.out:Ljava/io/Writer;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jshell/Eval$EvalPretty;
0 3 1 writer Ljava/io/Writer;
0 3 2 bln Z
MethodParameters:
Name Flags
writer
bln
public void print(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jshell.Eval$EvalPretty.out:Ljava/io/Writer;
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/Eval$EvalPretty;
0 2 1 o Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
o
static java.lang.String prettyExpr(com.sun.tools.javac.tree.JCTree, boolean);
descriptor: (Lcom/sun/tools/javac/tree/JCTree;Z)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new java.io.StringWriter
dup
invokespecial java.io.StringWriter.<init>:()V
astore 2
start local 2 1: new jdk.jshell.Eval$EvalPretty
dup
aload 2
iload 1
invokespecial jdk.jshell.Eval$EvalPretty.<init>:(Ljava/io/Writer;Z)V
aload 0
invokevirtual jdk.jshell.Eval$EvalPretty.printExpr:(Lcom/sun/tools/javac/tree/JCTree;)V
2: goto 5
StackMap locals: com.sun.tools.javac.tree.JCTree int java.io.StringWriter
StackMap stack: java.io.IOException
3: astore 3
start local 3 4: new java.lang.AssertionError
dup
aload 3
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 3 5: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.StringWriter.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 tree Lcom/sun/tools/javac/tree/JCTree;
0 6 1 bln Z
1 6 2 out Ljava/io/StringWriter;
4 5 3 e Ljava/io/IOException;
Exception table:
from to target type
1 2 3 Class java.io.IOException
MethodParameters:
Name Flags
tree
bln
}
SourceFile: "Eval.java"
NestHost: jdk.jshell.Eval
InnerClasses:
private EvalPretty = jdk.jshell.Eval$EvalPretty of jdk.jshell.Eval