class jdk.jshell.Corraller extends com.sun.tools.javac.tree.Pretty
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jshell.Corraller
super_class: com.sun.tools.javac.tree.Pretty
{
private final java.io.StringWriter out;
descriptor: Ljava/io/StringWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int keyIndex;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.tools.javac.tree.TreeMaker make;
descriptor: Lcom/sun/tools/javac/tree/TreeMaker;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.tools.javac.util.Names names;
descriptor: Lcom/sun/tools/javac/util/Names;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.sun.tools.javac.tree.JCTree$JCBlock resolutionExceptionBlock;
descriptor: Lcom/sun/tools/javac/tree/JCTree$JCBlock;
flags: (0x0002) ACC_PRIVATE
public void <init>(int, com.sun.tools.javac.util.Context);
descriptor: (ILcom/sun/tools/javac/util/Context;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new java.io.StringWriter
dup
invokespecial java.io.StringWriter.<init>:()V
iload 1
aload 2
invokespecial jdk.jshell.Corraller.<init>:(Ljava/io/StringWriter;ILcom/sun/tools/javac/util/Context;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/Corraller;
0 2 1 keyIndex I
0 2 2 context Lcom/sun/tools/javac/util/Context;
MethodParameters:
Name Flags
keyIndex
context
private void <init>(java.io.StringWriter, int, com.sun.tools.javac.util.Context);
descriptor: (Ljava/io/StringWriter;ILcom/sun/tools/javac/util/Context;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iconst_0
invokespecial com.sun.tools.javac.tree.Pretty.<init>:(Ljava/io/Writer;Z)V
1: aload 0
aload 1
putfield jdk.jshell.Corraller.out:Ljava/io/StringWriter;
2: aload 0
iload 2
putfield jdk.jshell.Corraller.keyIndex:I
3: aload 0
aload 3
invokestatic com.sun.tools.javac.tree.TreeMaker.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/tree/TreeMaker;
putfield jdk.jshell.Corraller.make:Lcom/sun/tools/javac/tree/TreeMaker;
4: aload 0
aload 3
invokestatic com.sun.tools.javac.util.Names.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/Names;
putfield jdk.jshell.Corraller.names:Lcom/sun/tools/javac/util/Names;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jshell/Corraller;
0 6 1 out Ljava/io/StringWriter;
0 6 2 keyIndex I
0 6 3 context Lcom/sun/tools/javac/util/Context;
MethodParameters:
Name Flags
out
keyIndex
context
public jdk.jshell.Wrap corralType(com.sun.source.tree.ClassTree);
descriptor: (Lcom/sun/source/tree/ClassTree;)Ljdk/jshell/Wrap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.sun.tools.javac.tree.JCTree$JCClassDecl
getfield com.sun.tools.javac.tree.JCTree$JCClassDecl.mods:Lcom/sun/tools/javac/tree/JCTree$JCModifiers;
dup
getfield com.sun.tools.javac.tree.JCTree$JCModifiers.flags:J
ldc 9
lor
putfield com.sun.tools.javac.tree.JCTree$JCModifiers.flags:J
1: aload 0
aload 1
invokevirtual jdk.jshell.Corraller.corral:(Lcom/sun/source/tree/Tree;)Ljdk/jshell/Wrap;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/Corraller;
0 2 1 ct Lcom/sun/source/tree/ClassTree;
MethodParameters:
Name Flags
ct
public jdk.jshell.Wrap corralMethod(com.sun.source.tree.MethodTree);
descriptor: (Lcom/sun/source/tree/MethodTree;)Ljdk/jshell/Wrap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
checkcast com.sun.tools.javac.tree.JCTree$JCMethodDecl
getfield com.sun.tools.javac.tree.JCTree$JCMethodDecl.mods:Lcom/sun/tools/javac/tree/JCTree$JCModifiers;
dup
getfield com.sun.tools.javac.tree.JCTree$JCModifiers.flags:J
ldc 9
lor
putfield com.sun.tools.javac.tree.JCTree$JCModifiers.flags:J
1: aload 0
aload 1
invokevirtual jdk.jshell.Corraller.corral:(Lcom/sun/source/tree/Tree;)Ljdk/jshell/Wrap;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/Corraller;
0 2 1 mt Lcom/sun/source/tree/MethodTree;
MethodParameters:
Name Flags
mt
private jdk.jshell.Wrap corral(com.sun.source.tree.Tree);
descriptor: (Lcom/sun/source/tree/Tree;)Ljdk/jshell/Wrap;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast com.sun.tools.javac.tree.JCTree
invokevirtual jdk.jshell.Corraller.printStat:(Lcom/sun/tools/javac/tree/JCTree;)V
1: goto 4
StackMap locals:
StackMap stack: java.io.IOException
2: astore 2
start local 2 3: new java.lang.AssertionError
dup
aload 2
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jshell.Corraller.out:Ljava/io/StringWriter;
invokevirtual java.io.StringWriter.toString:()Ljava/lang/String;
invokestatic jdk.jshell.Wrap.simpleWrap:(Ljava/lang/String;)Ljdk/jshell/Wrap;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jshell/Corraller;
0 5 1 tree Lcom/sun/source/tree/Tree;
3 4 2 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
tree
public void visitBlock(com.sun.tools.javac.tree.JCTree$JCBlock);
descriptor: (Lcom/sun/tools/javac/tree/JCTree$JCBlock;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield com.sun.tools.javac.tree.JCTree$JCBlock.flags:J
ldc 8
land
lconst_0
lcmp
ifeq 2
1: aload 1
goto 3
2: StackMap locals:
StackMap stack: jdk.jshell.Corraller
aload 0
invokevirtual jdk.jshell.Corraller.resolutionExceptionBlock:()Lcom/sun/tools/javac/tree/JCTree$JCBlock;
3: StackMap locals: jdk.jshell.Corraller com.sun.tools.javac.tree.JCTree$JCBlock
StackMap stack: jdk.jshell.Corraller com.sun.tools.javac.tree.JCTree$JCBlock
invokespecial com.sun.tools.javac.tree.Pretty.visitBlock:(Lcom/sun/tools/javac/tree/JCTree$JCBlock;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jshell/Corraller;
0 5 1 tree Lcom/sun/tools/javac/tree/JCTree$JCBlock;
MethodParameters:
Name Flags
tree
public void visitVarDef(com.sun.tools.javac.tree.JCTree$JCVariableDecl);
descriptor: (Lcom/sun/tools/javac/tree/JCTree$JCVariableDecl;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aconst_null
putfield com.sun.tools.javac.tree.JCTree$JCVariableDecl.init:Lcom/sun/tools/javac/tree/JCTree$JCExpression;
1: aload 0
aload 1
invokespecial com.sun.tools.javac.tree.Pretty.visitVarDef:(Lcom/sun/tools/javac/tree/JCTree$JCVariableDecl;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jshell/Corraller;
0 3 1 tree Lcom/sun/tools/javac/tree/JCTree$JCVariableDecl;
MethodParameters:
Name Flags
tree
public void visitClassDef(com.sun.tools.javac.tree.JCTree$JCClassDecl);
descriptor: (Lcom/sun/tools/javac/tree/JCTree$JCClassDecl;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getfield com.sun.tools.javac.tree.JCTree$JCClassDecl.mods:Lcom/sun/tools/javac/tree/JCTree$JCModifiers;
getfield com.sun.tools.javac.tree.JCTree$JCModifiers.flags:J
ldc 16896
land
lconst_0
lcmp
ifne 12
1: aload 1
invokevirtual com.sun.tools.javac.tree.JCTree$JCClassDecl.getMembers:()Lcom/sun/tools/javac/util/List;
invokevirtual com.sun.tools.javac.util.List.stream:()Ljava/util/stream/Stream;
2: aload 1
invokedynamic test(Lcom/sun/tools/javac/tree/JCTree$JCClassDecl;)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
jdk/jshell/Corraller.lambda$0(Lcom/sun/tools/javac/tree/JCTree$JCClassDecl;Lcom/sun/tools/javac/tree/JCTree;)Z (6)
(Lcom/sun/tools/javac/tree/JCTree;)Z
invokeinterface java.util.stream.Stream.anyMatch:(Ljava/util/function/Predicate;)Z
3: ifne 12
4: new com.sun.tools.javac.util.ListBuffer
dup
invokespecial com.sun.tools.javac.util.ListBuffer.<init>:()V
astore 2
start local 2 5: aload 2
aload 1
getfield com.sun.tools.javac.tree.JCTree$JCClassDecl.defs:Lcom/sun/tools/javac/util/List;
invokevirtual com.sun.tools.javac.util.ListBuffer.addAll:(Ljava/util/Collection;)Z
pop
6: aload 2
aload 0
getfield jdk.jshell.Corraller.make:Lcom/sun/tools/javac/tree/TreeMaker;
aload 0
getfield jdk.jshell.Corraller.make:Lcom/sun/tools/javac/tree/TreeMaker;
lconst_1
invokevirtual com.sun.tools.javac.tree.TreeMaker.Modifiers:(J)Lcom/sun/tools/javac/tree/JCTree$JCModifiers;
7: aload 1
getfield com.sun.tools.javac.tree.JCTree$JCClassDecl.name:Lcom/sun/tools/javac/util/Name;
getfield com.sun.tools.javac.util.Name.table:Lcom/sun/tools/javac/util/Name$Table;
getfield com.sun.tools.javac.util.Name$Table.names:Lcom/sun/tools/javac/util/Names;
getfield com.sun.tools.javac.util.Names.init:Lcom/sun/tools/javac/util/Name;
8: aconst_null
invokestatic com.sun.tools.javac.util.List.nil:()Lcom/sun/tools/javac/util/List;
invokestatic com.sun.tools.javac.util.List.nil:()Lcom/sun/tools/javac/util/List;
invokestatic com.sun.tools.javac.util.List.nil:()Lcom/sun/tools/javac/util/List;
9: aload 0
invokevirtual jdk.jshell.Corraller.resolutionExceptionBlock:()Lcom/sun/tools/javac/tree/JCTree$JCBlock;
aconst_null
10: invokevirtual com.sun.tools.javac.tree.TreeMaker.MethodDef:(Lcom/sun/tools/javac/tree/JCTree$JCModifiers;Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/tree/JCTree$JCExpression;Lcom/sun/tools/javac/util/List;Lcom/sun/tools/javac/util/List;Lcom/sun/tools/javac/util/List;Lcom/sun/tools/javac/tree/JCTree$JCBlock;Lcom/sun/tools/javac/tree/JCTree$JCExpression;)Lcom/sun/tools/javac/tree/JCTree$JCMethodDecl;
invokevirtual com.sun.tools.javac.util.ListBuffer.add:(Ljava/lang/Object;)Z
pop
11: aload 1
aload 2
invokevirtual com.sun.tools.javac.util.ListBuffer.toList:()Lcom/sun/tools/javac/util/List;
putfield com.sun.tools.javac.tree.JCTree$JCClassDecl.defs:Lcom/sun/tools/javac/util/List;
end local 2 12: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.sun.tools.javac.tree.Pretty.visitClassDef:(Lcom/sun/tools/javac/tree/JCTree$JCClassDecl;)V
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/jshell/Corraller;
0 14 1 tree Lcom/sun/tools/javac/tree/JCTree$JCClassDecl;
5 12 2 ndefs Lcom/sun/tools/javac/util/ListBuffer<Lcom/sun/tools/javac/tree/JCTree;>;
MethodParameters:
Name Flags
tree
private com.sun.tools.javac.tree.JCTree$JCBlock resolutionExceptionBlock();
descriptor: ()Lcom/sun/tools/javac/tree/JCTree$JCBlock;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Corraller.resolutionExceptionBlock:Lcom/sun/tools/javac/tree/JCTree$JCBlock;
ifnonnull 15
1: aconst_null
astore 1
start local 1 2: ldc Ljdk/jshell/spi/SPIResolutionException;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
ldc "\\."
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 10
StackMap locals: jdk.jshell.Corraller com.sun.tools.javac.tree.JCTree$JCExpression top int int java.lang.String[]
StackMap stack:
3: aload 5
iload 3
aaload
astore 2
start local 2 4: aload 0
getfield jdk.jshell.Corraller.names:Lcom/sun/tools/javac/util/Names;
aload 2
invokevirtual com.sun.tools.javac.util.Names.fromString:(Ljava/lang/String;)Lcom/sun/tools/javac/util/Name;
astore 6
start local 6 5: aload 1
ifnonnull 8
6: aload 0
getfield jdk.jshell.Corraller.make:Lcom/sun/tools/javac/tree/TreeMaker;
aload 6
invokevirtual com.sun.tools.javac.tree.TreeMaker.Ident:(Lcom/sun/tools/javac/util/Name;)Lcom/sun/tools/javac/tree/JCTree$JCIdent;
astore 1
7: goto 9
8: StackMap locals: jdk.jshell.Corraller com.sun.tools.javac.tree.JCTree$JCExpression java.lang.String int int java.lang.String[] com.sun.tools.javac.util.Name
StackMap stack:
aload 0
getfield jdk.jshell.Corraller.make:Lcom/sun/tools/javac/tree/TreeMaker;
aload 1
aload 6
invokevirtual com.sun.tools.javac.tree.TreeMaker.Select:(Lcom/sun/tools/javac/tree/JCTree$JCExpression;Lcom/sun/tools/javac/util/Name;)Lcom/sun/tools/javac/tree/JCTree$JCFieldAccess;
astore 1
end local 6 end local 2 9: StackMap locals: jdk.jshell.Corraller com.sun.tools.javac.tree.JCTree$JCExpression top int int java.lang.String[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 4
if_icmplt 3
11: aload 0
getfield jdk.jshell.Corraller.make:Lcom/sun/tools/javac/tree/TreeMaker;
aconst_null
12: aconst_null
aload 1
aload 0
getfield jdk.jshell.Corraller.make:Lcom/sun/tools/javac/tree/TreeMaker;
aload 0
getfield jdk.jshell.Corraller.keyIndex:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.tools.javac.tree.TreeMaker.Literal:(Ljava/lang/Object;)Lcom/sun/tools/javac/tree/JCTree$JCLiteral;
invokestatic com.sun.tools.javac.util.List.of:(Ljava/lang/Object;)Lcom/sun/tools/javac/util/List;
aconst_null
13: invokevirtual com.sun.tools.javac.tree.TreeMaker.NewClass:(Lcom/sun/tools/javac/tree/JCTree$JCExpression;Lcom/sun/tools/javac/util/List;Lcom/sun/tools/javac/tree/JCTree$JCExpression;Lcom/sun/tools/javac/util/List;Lcom/sun/tools/javac/tree/JCTree$JCClassDecl;)Lcom/sun/tools/javac/tree/JCTree$JCNewClass;
astore 2
start local 2 14: aload 0
aload 0
getfield jdk.jshell.Corraller.make:Lcom/sun/tools/javac/tree/TreeMaker;
lconst_0
aload 0
getfield jdk.jshell.Corraller.make:Lcom/sun/tools/javac/tree/TreeMaker;
aload 2
invokevirtual com.sun.tools.javac.tree.TreeMaker.Throw:(Lcom/sun/tools/javac/tree/JCTree$JCExpression;)Lcom/sun/tools/javac/tree/JCTree$JCThrow;
invokestatic com.sun.tools.javac.util.List.of:(Ljava/lang/Object;)Lcom/sun/tools/javac/util/List;
invokevirtual com.sun.tools.javac.tree.TreeMaker.Block:(JLcom/sun/tools/javac/util/List;)Lcom/sun/tools/javac/tree/JCTree$JCBlock;
putfield jdk.jshell.Corraller.resolutionExceptionBlock:Lcom/sun/tools/javac/tree/JCTree$JCBlock;
end local 2 end local 1 15: StackMap locals: jdk.jshell.Corraller
StackMap stack:
aload 0
getfield jdk.jshell.Corraller.resolutionExceptionBlock:Lcom/sun/tools/javac/tree/JCTree$JCBlock;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/jshell/Corraller;
2 15 1 expClass Lcom/sun/tools/javac/tree/JCTree$JCExpression;
4 9 2 id Ljava/lang/String;
5 9 6 nm Lcom/sun/tools/javac/util/Name;
14 15 2 exp Lcom/sun/tools/javac/tree/JCTree$JCNewClass;
private static boolean lambda$0(com.sun.tools.javac.tree.JCTree$JCClassDecl, com.sun.tools.javac.tree.JCTree);
descriptor: (Lcom/sun/tools/javac/tree/JCTree$JCClassDecl;Lcom/sun/tools/javac/tree/JCTree;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
invokevirtual com.sun.tools.javac.tree.JCTree.getKind:()Lcom/sun/source/tree/Tree$Kind;
getstatic com.sun.source.tree.Tree$Kind.METHOD:Lcom/sun/source/tree/Tree$Kind;
if_acmpne 2
1: aload 1
checkcast com.sun.source.tree.MethodTree
invokeinterface com.sun.source.tree.MethodTree.getName:()Ljavax/lang/model/element/Name;
aload 0
getfield com.sun.tools.javac.tree.JCTree$JCClassDecl.name:Lcom/sun/tools/javac/util/Name;
getfield com.sun.tools.javac.util.Name.table:Lcom/sun/tools/javac/util/Name$Table;
getfield com.sun.tools.javac.util.Name$Table.names:Lcom/sun/tools/javac/util/Names;
getfield com.sun.tools.javac.util.Names.init:Lcom/sun/tools/javac/util/Name;
if_acmpne 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 4 1 t Lcom/sun/tools/javac/tree/JCTree;
}
SourceFile: "Corraller.java"
InnerClasses:
public final Kind = com.sun.source.tree.Tree$Kind of com.sun.source.tree.Tree
public JCBlock = com.sun.tools.javac.tree.JCTree$JCBlock of com.sun.tools.javac.tree.JCTree
public JCClassDecl = com.sun.tools.javac.tree.JCTree$JCClassDecl of com.sun.tools.javac.tree.JCTree
public abstract JCExpression = com.sun.tools.javac.tree.JCTree$JCExpression of com.sun.tools.javac.tree.JCTree
public JCFieldAccess = com.sun.tools.javac.tree.JCTree$JCFieldAccess of com.sun.tools.javac.tree.JCTree
public JCIdent = com.sun.tools.javac.tree.JCTree$JCIdent of com.sun.tools.javac.tree.JCTree
public JCLiteral = com.sun.tools.javac.tree.JCTree$JCLiteral of com.sun.tools.javac.tree.JCTree
public JCMethodDecl = com.sun.tools.javac.tree.JCTree$JCMethodDecl of com.sun.tools.javac.tree.JCTree
public JCModifiers = com.sun.tools.javac.tree.JCTree$JCModifiers of com.sun.tools.javac.tree.JCTree
public JCNewClass = com.sun.tools.javac.tree.JCTree$JCNewClass of com.sun.tools.javac.tree.JCTree
public abstract JCStatement = com.sun.tools.javac.tree.JCTree$JCStatement of com.sun.tools.javac.tree.JCTree
public JCThrow = com.sun.tools.javac.tree.JCTree$JCThrow of com.sun.tools.javac.tree.JCTree
public JCTypeParameter = com.sun.tools.javac.tree.JCTree$JCTypeParameter of com.sun.tools.javac.tree.JCTree
public JCVariableDecl = com.sun.tools.javac.tree.JCTree$JCVariableDecl of com.sun.tools.javac.tree.JCTree
public abstract Table = com.sun.tools.javac.util.Name$Table of com.sun.tools.javac.util.Name
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles