public class jdk.internal.jshell.tool.JShellToolProvider implements javax.tools.Tool
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.jshell.tool.JShellToolProvider
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/JShellToolProvider;
public java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "jshell"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/JShellToolProvider;
public int run(java.io.InputStream, java.io.OutputStream, java.io.OutputStream, java.lang.String[]);
descriptor: (Ljava/io/InputStream;Ljava/io/OutputStream;Ljava/io/OutputStream;[Ljava/lang/String;)I
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
ifnonnull 2
1: getstatic java.lang.System.in:Ljava/io/InputStream;
goto 3
2: StackMap locals:
StackMap stack:
aload 1
3: StackMap locals:
StackMap stack: java.io.InputStream
astore 5
start local 5 4: aload 2
ifnonnull 6
5: getstatic java.lang.System.out:Ljava/io/PrintStream;
goto 9
6: StackMap locals: java.io.InputStream
StackMap stack:
aload 2
instanceof java.io.PrintStream
ifeq 8
7: aload 2
checkcast java.io.PrintStream
goto 9
8: StackMap locals:
StackMap stack:
new java.io.PrintStream
dup
aload 2
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
9: StackMap locals:
StackMap stack: java.io.PrintStream
astore 6
start local 6 10: aload 3
ifnonnull 12
11: getstatic java.lang.System.err:Ljava/io/PrintStream;
goto 15
12: StackMap locals: java.io.PrintStream
StackMap stack:
aload 3
instanceof java.io.PrintStream
ifeq 14
13: aload 3
checkcast java.io.PrintStream
goto 15
14: StackMap locals:
StackMap stack:
new java.io.PrintStream
dup
aload 3
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
15: StackMap locals:
StackMap stack: java.io.PrintStream
astore 7
start local 7 16: invokestatic jdk.jshell.tool.JavaShellToolBuilder.builder:()Ljdk/jshell/tool/JavaShellToolBuilder;
17: aload 5
aconst_null
invokeinterface jdk.jshell.tool.JavaShellToolBuilder.in:(Ljava/io/InputStream;Ljava/io/InputStream;)Ljdk/jshell/tool/JavaShellToolBuilder;
18: aload 6
invokeinterface jdk.jshell.tool.JavaShellToolBuilder.out:(Ljava/io/PrintStream;)Ljdk/jshell/tool/JavaShellToolBuilder;
19: aload 7
invokeinterface jdk.jshell.tool.JavaShellToolBuilder.err:(Ljava/io/PrintStream;)Ljdk/jshell/tool/JavaShellToolBuilder;
20: aload 4
invokeinterface jdk.jshell.tool.JavaShellToolBuilder.run:([Ljava/lang/String;)V
21: iconst_0
ireturn
22: StackMap locals: jdk.internal.jshell.tool.JShellToolProvider java.io.InputStream java.io.OutputStream java.io.OutputStream java.lang.String[] java.io.InputStream java.io.PrintStream java.io.PrintStream
StackMap stack: java.lang.Throwable
astore 8
start local 8 23: aload 7
aload 8
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
24: iconst_1
ireturn
end local 8 end local 7 end local 6 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 25 0 this Ljdk/internal/jshell/tool/JShellToolProvider;
0 25 1 in Ljava/io/InputStream;
0 25 2 out Ljava/io/OutputStream;
0 25 3 err Ljava/io/OutputStream;
0 25 4 arguments [Ljava/lang/String;
4 25 5 xin Ljava/io/InputStream;
10 25 6 xout Ljava/io/PrintStream;
16 25 7 xerr Ljava/io/PrintStream;
23 25 8 ex Ljava/lang/Throwable;
Exception table:
from to target type
16 21 22 Class java.lang.Throwable
MethodParameters:
Name Flags
in
out
err
arguments
public java.util.Set<javax.lang.model.SourceVersion> getSourceVersions();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic javax.lang.model.SourceVersion.RELEASE_9:Ljavax/lang/model/SourceVersion;
invokestatic javax.lang.model.SourceVersion.latest:()Ljavax/lang/model/SourceVersion;
invokestatic java.util.EnumSet.range:(Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;
1: invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/jshell/tool/JShellToolProvider;
Signature: ()Ljava/util/Set<Ljavax/lang/model/SourceVersion;>;
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic jdk.jshell.tool.JavaShellToolBuilder.builder:()Ljdk/jshell/tool/JavaShellToolBuilder;
1: aload 0
invokeinterface jdk.jshell.tool.JavaShellToolBuilder.run:([Ljava/lang/String;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 arguments [Ljava/lang/String;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
arguments
}
SourceFile: "JShellToolProvider.java"