class jdk.internal.jshell.tool.ConsoleIOContext$1$2 implements jdk.internal.jshell.tool.ConsoleIOContext$Fix
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.jshell.tool.ConsoleIOContext$1$2
super_class: java.lang.Object
{
final jdk.internal.jshell.tool.ConsoleIOContext$1 this$1;
descriptor: Ljdk/internal/jshell/tool/ConsoleIOContext$1;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.lang.String val$type;
descriptor: Ljava/lang/String;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final jdk.internal.jshell.tool.JShellTool val$repl;
descriptor: Ljdk/internal/jshell/tool/JShellTool;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.String val$stype;
descriptor: Ljava/lang/String;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.internal.jshell.tool.ConsoleIOContext$1, java.lang.String, jdk.internal.jshell.tool.JShellTool, java.lang.String);
descriptor: (Ljdk/internal/jshell/tool/ConsoleIOContext$1;Ljava/lang/String;Ljdk/internal/jshell/tool/JShellTool;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 0: aload 0
aload 1
putfield jdk.internal.jshell.tool.ConsoleIOContext$1$2.this$1:Ljdk/internal/jshell/tool/ConsoleIOContext$1;
aload 0
aload 2
putfield jdk.internal.jshell.tool.ConsoleIOContext$1$2.val$type:Ljava/lang/String;
aload 0
aload 3
putfield jdk.internal.jshell.tool.ConsoleIOContext$1$2.val$repl:Ljdk/internal/jshell/tool/JShellTool;
aload 0
aload 4
putfield jdk.internal.jshell.tool.ConsoleIOContext$1$2.val$stype:Ljava/lang/String;
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/ConsoleIOContext$1$2;
MethodParameters:
Name Flags
this$0 final
val$type final
val$repl final
val$stype final
public java.lang.String displayName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "import: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext$1$2.val$type:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ". "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext$1$2.val$repl:Ljdk/internal/jshell/tool/JShellTool;
ldc "jshell.console.create.variable"
iconst_0
anewarray java.lang.Object
invokevirtual jdk.internal.jshell.tool.JShellTool.messageFormat:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$1$2;
public void perform(jdk.internal.jline.console.ConsoleReader);
descriptor: (Ljdk/internal/jline/console/ConsoleReader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext$1$2.val$repl:Ljdk/internal/jshell/tool/JShellTool;
new java.lang.StringBuilder
dup
ldc "import "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext$1$2.val$type:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ";"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.internal.jshell.tool.JShellTool.processCompleteSource:(Ljava/lang/String;)Z
pop
1: aload 1
new java.lang.StringBuilder
dup
ldc "Imported: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext$1$2.val$type:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.internal.jline.console.ConsoleReader.println:(Ljava/lang/CharSequence;)V
2: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext$1$2.this$1:Ljdk/internal/jshell/tool/ConsoleIOContext$1;
aload 1
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext$1$2.val$stype:Ljava/lang/String;
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$1.performToVar:(Ljdk/internal/jline/console/ConsoleReader;Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$1$2;
0 4 1 in Ljdk/internal/jline/console/ConsoleReader;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
}
SourceFile: "ConsoleIOContext.java"
EnclosingMethod: jdk.internal.jshell.tool.ConsoleIOContext$1.compute:(Ljdk/internal/jshell/tool/JShellTool;Ljava/lang/String;I)Ljdk/internal/jshell/tool/ConsoleIOContext$FixResult;
NestHost: jdk.internal.jshell.tool.ConsoleIOContext
InnerClasses:
jdk.internal.jshell.tool.ConsoleIOContext$1
jdk.internal.jshell.tool.ConsoleIOContext$1$2
public abstract Fix = jdk.internal.jshell.tool.ConsoleIOContext$Fix of jdk.internal.jshell.tool.ConsoleIOContext
public FixResult = jdk.internal.jshell.tool.ConsoleIOContext$FixResult of jdk.internal.jshell.tool.ConsoleIOContext