class jdk.internal.jshell.tool.ConsoleIOContext$1 extends jdk.internal.jshell.tool.ConsoleIOContext$FixComputer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.jshell.tool.ConsoleIOContext$1
super_class: jdk.internal.jshell.tool.ConsoleIOContext$FixComputer
{
void <init>(char, boolean);
descriptor: (CZ)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$FixComputer.<init>:(CZ)V
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$1;
0 1 1 $anonymous0 C
0 1 2 $anonymous1 Z
MethodParameters:
Name Flags
$anonymous0
$anonymous1
private void performToVar(jdk.internal.jline.console.ConsoleReader, java.lang.String);
descriptor: (Ljdk/internal/jline/console/ConsoleReader;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual jdk.internal.jline.console.ConsoleReader.redrawLine:()V
1: aload 1
iconst_0
invokevirtual jdk.internal.jline.console.ConsoleReader.setCursorPosition:(I)Z
pop
2: aload 1
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " = "
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.putString:(Ljava/lang/CharSequence;)V
3: aload 1
aload 1
invokevirtual jdk.internal.jline.console.ConsoleReader.getCursorBuffer:()Ljdk/internal/jline/console/CursorBuffer;
getfield jdk.internal.jline.console.CursorBuffer.cursor:I
iconst_3
isub
invokevirtual jdk.internal.jline.console.ConsoleReader.setCursorPosition:(I)Z
pop
4: aload 1
invokevirtual jdk.internal.jline.console.ConsoleReader.flush:()V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$1;
0 6 1 in Ljdk/internal/jline/console/ConsoleReader;
0 6 2 type Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
type
public jdk.internal.jshell.tool.ConsoleIOContext$FixResult compute(jdk.internal.jshell.tool.JShellTool, java.lang.String, int);
descriptor: (Ljdk/internal/jshell/tool/JShellTool;Ljava/lang/String;I)Ljdk/internal/jshell/tool/ConsoleIOContext$FixResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
getfield jdk.internal.jshell.tool.JShellTool.analysis:Ljdk/jshell/SourceCodeAnalysis;
aload 2
iload 3
invokevirtual jdk.jshell.SourceCodeAnalysis.analyzeType:(Ljava/lang/String;I)Ljava/lang/String;
astore 4
start local 4 1: aload 4
ifnonnull 3
2: new jdk.internal.jshell.tool.ConsoleIOContext$FixResult
dup
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
aconst_null
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$FixResult.<init>:(Ljava/util/List;Ljava/lang/String;)V
areturn
3: StackMap locals: java.lang.String
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 4: aload 5
new jdk.internal.jshell.tool.ConsoleIOContext$1$1
dup
aload 0
aload 1
aload 4
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$1$1.<init>:(Ljdk/internal/jshell/tool/ConsoleIOContext$1;Ljdk/internal/jshell/tool/JShellTool;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: aload 4
ldc "."
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 6
start local 6 6: iload 6
ifle 12
7: aload 4
iload 6
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 7
start local 7 8: aload 1
getfield jdk.internal.jshell.tool.JShellTool.analysis:Ljdk/jshell/SourceCodeAnalysis;
aload 7
aload 7
invokevirtual java.lang.String.length:()I
invokevirtual jdk.jshell.SourceCodeAnalysis.listQualifiedNames:(Ljava/lang/String;I)Ljdk/jshell/SourceCodeAnalysis$QualifiedNames;
astore 8
start local 8 9: aload 8
invokevirtual jdk.jshell.SourceCodeAnalysis$QualifiedNames.isUpToDate:()Z
ifeq 12
aload 8
invokevirtual jdk.jshell.SourceCodeAnalysis$QualifiedNames.getNames:()Ljava/util/List;
aload 4
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 12
10: aload 8
invokevirtual jdk.jshell.SourceCodeAnalysis$QualifiedNames.isResolvable:()Z
ifne 12
11: aload 5
new jdk.internal.jshell.tool.ConsoleIOContext$1$2
dup
aload 0
aload 4
aload 1
aload 7
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$1$2.<init>:(Ljdk/internal/jshell/tool/ConsoleIOContext$1;Ljava/lang/String;Ljdk/internal/jshell/tool/JShellTool;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 7 12: StackMap locals: java.util.List int
StackMap stack:
new jdk.internal.jshell.tool.ConsoleIOContext$FixResult
dup
aload 5
aconst_null
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$FixResult.<init>:(Ljava/util/List;Ljava/lang/String;)V
areturn
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 13 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$1;
0 13 1 repl Ljdk/internal/jshell/tool/JShellTool;
0 13 2 code Ljava/lang/String;
0 13 3 cursor I
1 13 4 type Ljava/lang/String;
4 13 5 fixes Ljava/util/List<Ljdk/internal/jshell/tool/ConsoleIOContext$Fix;>;
6 13 6 idx I
8 12 7 stype Ljava/lang/String;
9 12 8 res Ljdk/jshell/SourceCodeAnalysis$QualifiedNames;
MethodParameters:
Name Flags
repl
code
cursor
}
SourceFile: "ConsoleIOContext.java"
EnclosingMethod: jdk.internal.jshell.tool.ConsoleIOContext
NestHost: jdk.internal.jshell.tool.ConsoleIOContext
InnerClasses:
jdk.internal.jshell.tool.ConsoleIOContext$1
jdk.internal.jshell.tool.ConsoleIOContext$1$1
jdk.internal.jshell.tool.ConsoleIOContext$1$2
public abstract Fix = jdk.internal.jshell.tool.ConsoleIOContext$Fix of jdk.internal.jshell.tool.ConsoleIOContext
public abstract FixComputer = jdk.internal.jshell.tool.ConsoleIOContext$FixComputer of jdk.internal.jshell.tool.ConsoleIOContext
public FixResult = jdk.internal.jshell.tool.ConsoleIOContext$FixResult of jdk.internal.jshell.tool.ConsoleIOContext
public final QualifiedNames = jdk.jshell.SourceCodeAnalysis$QualifiedNames of jdk.jshell.SourceCodeAnalysis