public class jdk.internal.org.jline.utils.Display
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.org.jline.utils.Display
super_class: java.lang.Object
{
public static boolean DISABLE_CR;
descriptor: Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
protected final jdk.internal.org.jline.terminal.Terminal terminal;
descriptor: Ljdk/internal/org/jline/terminal/Terminal;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final boolean fullScreen;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected java.util.List<jdk.internal.org.jline.utils.AttributedString> oldLines;
descriptor: Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;
protected int cursorPos;
descriptor: I
flags: (0x0004) ACC_PROTECTED
private int columns;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int columns1;
descriptor: I
flags: (0x0002) ACC_PRIVATE
protected int rows;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected boolean reset;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean delayLineWrap;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected final java.util.Map<jdk.internal.org.jline.utils.InfoCmp$Capability, java.lang.Integer> cost;
descriptor: Ljava/util/Map;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Map<Ljdk/internal/org/jline/utils/InfoCmp$Capability;Ljava/lang/Integer;>;
protected final boolean canScroll;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final boolean wrapAtEol;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final boolean delayedWrapAtEol;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final boolean cursorDownIsNewLine;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$jdk$internal$org$jline$utils$DiffHelper$Operation;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
putstatic jdk.internal.org.jline.utils.Display.DISABLE_CR:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.internal.org.jline.terminal.Terminal, boolean);
descriptor: (Ljdk/internal/org/jline/terminal/Terminal;Z)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
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.internal.org.jline.utils.Display.cost:Ljava/util/Map;
3: aload 0
aload 1
putfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
4: aload 0
iload 2
putfield jdk.internal.org.jline.utils.Display.fullScreen:Z
5: aload 0
aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.insert_line:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.parm_insert_line:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.utils.Display.can:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Z
ifeq 7
6: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.delete_line:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.parm_delete_line:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.utils.Display.can:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Z
ifeq 7
iconst_1
goto 8
StackMap locals: jdk.internal.org.jline.utils.Display jdk.internal.org.jline.terminal.Terminal int
StackMap stack: jdk.internal.org.jline.utils.Display
7: iconst_0
8: StackMap locals: jdk.internal.org.jline.utils.Display jdk.internal.org.jline.terminal.Terminal int
StackMap stack: jdk.internal.org.jline.utils.Display int
putfield jdk.internal.org.jline.utils.Display.canScroll:Z
9: aload 0
aload 1
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.auto_right_margin:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokeinterface jdk.internal.org.jline.terminal.Terminal.getBooleanCapability:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Z
putfield jdk.internal.org.jline.utils.Display.wrapAtEol:Z
10: aload 0
aload 0
getfield jdk.internal.org.jline.utils.Display.wrapAtEol:Z
ifeq 12
11: aload 1
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.eat_newline_glitch:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokeinterface jdk.internal.org.jline.terminal.Terminal.getBooleanCapability:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Z
ifeq 12
iconst_1
goto 13
StackMap locals:
StackMap stack: jdk.internal.org.jline.utils.Display
12: iconst_0
13: StackMap locals: jdk.internal.org.jline.utils.Display jdk.internal.org.jline.terminal.Terminal int
StackMap stack: jdk.internal.org.jline.utils.Display int
putfield jdk.internal.org.jline.utils.Display.delayedWrapAtEol:Z
14: aload 0
ldc "\n"
aload 1
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.cursor_down:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokeinterface jdk.internal.org.jline.terminal.Terminal.getStringCapability:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic jdk.internal.org.jline.utils.Curses.tputs:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
putfield jdk.internal.org.jline.utils.Display.cursorDownIsNewLine:Z
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/internal/org/jline/utils/Display;
0 16 1 terminal Ljdk/internal/org/jline/terminal/Terminal;
0 16 2 fullscreen Z
MethodParameters:
Name Flags
terminal
fullscreen
public boolean delayLineWrap();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.Display.delayLineWrap:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/Display;
public void setDelayLineWrap(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.internal.org.jline.utils.Display.delayLineWrap:Z
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/Display;
0 1 1 v Z
MethodParameters:
Name Flags
v
public void resize(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.internal.org.jline.utils.Display.rows:I
iload 1
if_icmpne 1
aload 0
getfield jdk.internal.org.jline.utils.Display.columns:I
iload 2
if_icmpeq 5
1: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield jdk.internal.org.jline.utils.Display.rows:I
2: aload 0
iload 2
putfield jdk.internal.org.jline.utils.Display.columns:I
3: aload 0
iload 2
iconst_1
iadd
putfield jdk.internal.org.jline.utils.Display.columns1:I
4: aload 0
getstatic jdk.internal.org.jline.utils.AttributedString.EMPTY:Ljdk/internal/org/jline/utils/AttributedString;
aload 0
getfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
invokestatic jdk.internal.org.jline.utils.AttributedString.join:(Ljdk/internal/org/jline/utils/AttributedString;Ljava/lang/Iterable;)Ljdk/internal/org/jline/utils/AttributedString;
iload 2
iconst_1
aload 0
invokevirtual jdk.internal.org.jline.utils.Display.delayLineWrap:()Z
invokevirtual jdk.internal.org.jline.utils.AttributedString.columnSplitLength:(IZZ)Ljava/util/List;
putfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/org/jline/utils/Display;
0 6 1 rows I
0 6 2 columns I
MethodParameters:
Name Flags
rows
columns
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/utils/Display;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.Display.fullScreen:Z
ifeq 2
1: aload 0
iconst_1
putfield jdk.internal.org.jline.utils.Display.reset:Z
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/utils/Display;
public void updateAnsi(java.util.List<java.lang.String>, );
descriptor: (Ljava/util/List;I)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
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
jdk/internal/org/jline/utils/AttributedString.fromAnsi(Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedString; (6)
(Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedString;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
iload 2
invokevirtual jdk.internal.org.jline.utils.Display.update:(Ljava/util/List;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/utils/Display;
0 2 1 newLines Ljava/util/List<Ljava/lang/String;>;
0 2 2 targetCursorPos I
Signature: (Ljava/util/List<Ljava/lang/String;>;I)V
MethodParameters:
Name Flags
newLines
targetCursorPos
public void update(java.util.List<jdk.internal.org.jline.utils.AttributedString>, );
descriptor: (Ljava/util/List;I)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
aload 1
iload 2
iconst_1
invokevirtual jdk.internal.org.jline.utils.Display.update:(Ljava/util/List;IZ)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/utils/Display;
0 2 1 newLines Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;
0 2 2 targetCursorPos I
Signature: (Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;I)V
MethodParameters:
Name Flags
newLines
targetCursorPos
public void update(java.util.List<jdk.internal.org.jline.utils.AttributedString>, int, );
descriptor: (Ljava/util/List;IZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=25, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield jdk.internal.org.jline.utils.Display.reset:Z
ifeq 5
1: aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.clear_screen:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_0
anewarray java.lang.Object
invokeinterface jdk.internal.org.jline.terminal.Terminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
pop
2: aload 0
getfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
invokeinterface java.util.List.clear:()V
3: aload 0
iconst_0
putfield jdk.internal.org.jline.utils.Display.cursorPos:I
4: aload 0
iconst_0
putfield jdk.internal.org.jline.utils.Display.reset:Z
5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.max_colors:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokeinterface jdk.internal.org.jline.terminal.Terminal.getNumericCapability:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/Integer;
astore 4
start local 4 6: aload 4
ifnull 7
aload 4
invokevirtual java.lang.Integer.intValue:()I
bipush 8
if_icmpge 10
7: StackMap locals: java.lang.Integer
StackMap stack:
aload 1
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
jdk/internal/org/jline/utils/Display.lambda$1(Ljdk/internal/org/jline/utils/AttributedString;)Ljdk/internal/org/jline/utils/AttributedString; (6)
(Ljdk/internal/org/jline/utils/AttributedString;)Ljdk/internal/org/jline/utils/AttributedString;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
8: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
9: astore 1
10: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Display.fullScreen:Z
ifne 11
aload 1
invokeinterface java.util.List.size:()I
aload 0
getfield jdk.internal.org.jline.utils.Display.rows:I
if_icmplt 65
StackMap locals:
StackMap stack:
11: aload 1
invokeinterface java.util.List.size:()I
aload 0
getfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpne 65
aload 0
getfield jdk.internal.org.jline.utils.Display.canScroll:Z
ifeq 65
12: iconst_0
istore 5
start local 5 13: iconst_0
istore 6
start local 6 14: aload 1
invokeinterface java.util.List.size:()I
istore 7
start local 7 15: goto 17
16: StackMap locals: int int int
StackMap stack:
iinc 5 1
17: StackMap locals:
StackMap stack:
iload 5
iload 7
if_icmpge 21
18: aload 1
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
aload 0
getfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 16
19: goto 21
20: StackMap locals:
StackMap stack:
iinc 6 1
21: StackMap locals:
StackMap stack:
iload 6
iload 7
iload 5
isub
iconst_1
isub
if_icmpge 23
22: aload 1
aload 1
invokeinterface java.util.List.size:()I
iload 6
isub
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
aload 0
getfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
aload 0
getfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
invokeinterface java.util.List.size:()I
iload 6
isub
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 20
23: StackMap locals:
StackMap stack:
aload 1
iload 5
aload 1
invokeinterface java.util.List.size:()I
iload 6
isub
invokeinterface java.util.List.subList:(II)Ljava/util/List;
astore 8
start local 8 24: aload 0
getfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
iload 5
aload 0
getfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
invokeinterface java.util.List.size:()I
iload 6
isub
invokeinterface java.util.List.subList:(II)Ljava/util/List;
astore 9
start local 9 25: aload 8
aload 9
invokestatic jdk.internal.org.jline.utils.Display.longestCommon:(Ljava/util/List;Ljava/util/List;)[I
astore 10
start local 10 26: aload 10
ifnull 65
27: aload 10
iconst_0
iaload
istore 11
start local 11 28: aload 10
iconst_1
iaload
istore 12
start local 12 29: aload 10
iconst_2
iaload
istore 13
start local 13 30: iload 13
iconst_1
if_icmple 48
iload 11
iload 12
if_icmpge 48
31: aload 0
iload 5
iload 11
iadd
aload 0
getfield jdk.internal.org.jline.utils.Display.columns1:I
imul
invokevirtual jdk.internal.org.jline.utils.Display.moveVisualCursorTo:(I)I
pop
32: iload 12
iload 11
isub
istore 14
start local 14 33: aload 0
iload 14
invokevirtual jdk.internal.org.jline.utils.Display.deleteLines:(I)Z
pop
34: iconst_0
istore 15
start local 15 35: goto 38
36: StackMap locals: jdk.internal.org.jline.utils.Display java.util.List int int java.lang.Integer int int int java.util.List java.util.List int[] int int int int int
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
iload 5
iload 11
iadd
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
37: iinc 15 1
StackMap locals:
StackMap stack:
38: iload 15
iload 14
if_icmplt 36
end local 15 39: iload 6
ifle 65
40: aload 0
iload 5
iload 11
iadd
iload 13
iadd
aload 0
getfield jdk.internal.org.jline.utils.Display.columns1:I
imul
invokevirtual jdk.internal.org.jline.utils.Display.moveVisualCursorTo:(I)I
pop
41: aload 0
iload 14
invokevirtual jdk.internal.org.jline.utils.Display.insertLines:(I)Z
pop
42: iconst_0
istore 15
start local 15 43: goto 46
44: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
iload 5
iload 11
iadd
iload 13
iadd
new jdk.internal.org.jline.utils.AttributedString
dup
ldc ""
invokespecial jdk.internal.org.jline.utils.AttributedString.<init>:(Ljava/lang/CharSequence;)V
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
45: iinc 15 1
StackMap locals:
StackMap stack:
46: iload 15
iload 14
if_icmplt 44
end local 15 end local 14 47: goto 65
StackMap locals:
StackMap stack:
48: iload 13
iconst_1
if_icmple 65
iload 11
iload 12
if_icmple 65
49: iload 11
iload 12
isub
istore 14
start local 14 50: iload 6
ifle 58
51: aload 0
iload 5
iload 12
iadd
iload 13
iadd
aload 0
getfield jdk.internal.org.jline.utils.Display.columns1:I
imul
invokevirtual jdk.internal.org.jline.utils.Display.moveVisualCursorTo:(I)I
pop
52: aload 0
iload 14
invokevirtual jdk.internal.org.jline.utils.Display.deleteLines:(I)Z
pop
53: iconst_0
istore 15
start local 15 54: goto 57
55: StackMap locals: int int
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
iload 5
iload 12
iadd
iload 13
iadd
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
56: iinc 15 1
StackMap locals:
StackMap stack:
57: iload 15
iload 14
if_icmplt 55
end local 15 58: StackMap locals:
StackMap stack:
aload 0
iload 5
iload 12
iadd
aload 0
getfield jdk.internal.org.jline.utils.Display.columns1:I
imul
invokevirtual jdk.internal.org.jline.utils.Display.moveVisualCursorTo:(I)I
pop
59: aload 0
iload 14
invokevirtual jdk.internal.org.jline.utils.Display.insertLines:(I)Z
pop
60: iconst_0
istore 15
start local 15 61: goto 64
62: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
iload 5
iload 12
iadd
new jdk.internal.org.jline.utils.AttributedString
dup
ldc ""
invokespecial jdk.internal.org.jline.utils.AttributedString.<init>:(Ljava/lang/CharSequence;)V
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
63: iinc 15 1
StackMap locals:
StackMap stack:
64: iload 15
iload 14
if_icmplt 62
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 65: StackMap locals: jdk.internal.org.jline.utils.Display java.util.List int int java.lang.Integer
StackMap stack:
iconst_0
istore 5
start local 5 66: iconst_0
istore 6
start local 6 67: aload 0
getfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 1
invokeinterface java.util.List.size:()I
invokestatic java.lang.Math.max:(II)I
istore 7
start local 7 68: iconst_0
istore 8
start local 8 69: goto 199
70: StackMap locals: jdk.internal.org.jline.utils.Display java.util.List int int java.lang.Integer int int int int
StackMap stack:
iload 5
aload 0
getfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpge 71
aload 0
getfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.org.jline.utils.AttributedString
goto 72
71: StackMap locals:
StackMap stack:
getstatic jdk.internal.org.jline.utils.AttributedString.NEWLINE:Ljdk/internal/org/jline/utils/AttributedString;
72: StackMap locals:
StackMap stack: jdk.internal.org.jline.utils.AttributedString
astore 9
start local 9 73: iload 5
aload 1
invokeinterface java.util.List.size:()I
if_icmpge 74
aload 1
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.org.jline.utils.AttributedString
goto 75
74: StackMap locals: jdk.internal.org.jline.utils.AttributedString
StackMap stack:
getstatic jdk.internal.org.jline.utils.AttributedString.NEWLINE:Ljdk/internal/org/jline/utils/AttributedString;
75: StackMap locals:
StackMap stack: jdk.internal.org.jline.utils.AttributedString
astore 10
start local 10 76: iload 5
aload 0
getfield jdk.internal.org.jline.utils.Display.columns1:I
imul
istore 6
77: iload 6
istore 11
start local 11 78: aload 9
invokevirtual jdk.internal.org.jline.utils.AttributedString.length:()I
istore 12
start local 12 79: aload 10
invokevirtual jdk.internal.org.jline.utils.AttributedString.length:()I
istore 13
start local 13 80: iload 12
ifle 81
aload 9
iload 12
iconst_1
isub
invokevirtual jdk.internal.org.jline.utils.AttributedString.charAt:(I)C
bipush 10
if_icmpne 81
iconst_1
goto 82
StackMap locals: jdk.internal.org.jline.utils.Display java.util.List int int java.lang.Integer int int int int jdk.internal.org.jline.utils.AttributedString jdk.internal.org.jline.utils.AttributedString int int int
StackMap stack:
81: iconst_0
StackMap locals:
StackMap stack: int
82: istore 14
start local 14 83: iload 13
ifle 84
aload 10
iload 13
iconst_1
isub
invokevirtual jdk.internal.org.jline.utils.AttributedString.charAt:(I)C
bipush 10
if_icmpne 84
iconst_1
goto 85
StackMap locals: int
StackMap stack:
84: iconst_0
StackMap locals:
StackMap stack: int
85: istore 15
start local 15 86: iload 14
ifeq 89
87: iinc 12 -1
88: aload 9
iconst_0
iload 12
invokevirtual jdk.internal.org.jline.utils.AttributedString.substring:(II)Ljdk/internal/org/jline/utils/AttributedString;
astore 9
89: StackMap locals: int
StackMap stack:
iload 15
ifeq 92
90: iinc 13 -1
91: aload 10
iconst_0
iload 13
invokevirtual jdk.internal.org.jline.utils.AttributedString.substring:(II)Ljdk/internal/org/jline/utils/AttributedString;
astore 10
92: StackMap locals:
StackMap stack:
iload 8
ifeq 110
93: iload 5
aload 0
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
iconst_1
iadd
aload 0
getfield jdk.internal.org.jline.utils.Display.columns1:I
idiv
if_icmpne 110
94: iload 5
aload 1
invokeinterface java.util.List.size:()I
if_icmpge 110
95: aload 0
dup
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
iconst_1
iadd
putfield jdk.internal.org.jline.utils.Display.cursorPos:I
96: iload 13
ifeq 97
aload 10
iconst_0
invokevirtual jdk.internal.org.jline.utils.AttributedString.isHidden:(I)Z
ifeq 99
97: StackMap locals:
StackMap stack:
aload 0
new jdk.internal.org.jline.utils.AttributedString
dup
ldc " \b"
invokespecial jdk.internal.org.jline.utils.AttributedString.<init>:(Ljava/lang/CharSequence;)V
invokevirtual jdk.internal.org.jline.utils.Display.rawPrint:(Ljdk/internal/org/jline/utils/AttributedString;)V
98: goto 110
99: StackMap locals:
StackMap stack:
aload 10
iconst_0
iconst_1
invokevirtual jdk.internal.org.jline.utils.AttributedString.columnSubSequence:(II)Ljdk/internal/org/jline/utils/AttributedString;
100: astore 16
start local 16 101: aload 0
aload 16
invokevirtual jdk.internal.org.jline.utils.Display.rawPrint:(Ljdk/internal/org/jline/utils/AttributedString;)V
102: aload 0
dup
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
iconst_1
iadd
putfield jdk.internal.org.jline.utils.Display.cursorPos:I
103: aload 16
invokevirtual jdk.internal.org.jline.utils.AttributedString.length:()I
istore 17
start local 17 104: aload 10
iload 17
iload 13
invokevirtual jdk.internal.org.jline.utils.AttributedString.substring:(II)Ljdk/internal/org/jline/utils/AttributedString;
astore 10
105: iload 13
iload 17
isub
istore 13
106: iload 12
iload 17
if_icmplt 109
107: aload 9
iload 17
iload 12
invokevirtual jdk.internal.org.jline.utils.AttributedString.substring:(II)Ljdk/internal/org/jline/utils/AttributedString;
astore 9
108: iload 12
iload 17
isub
istore 12
109: StackMap locals: jdk.internal.org.jline.utils.AttributedString int
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
istore 6
end local 17 end local 16 110: StackMap locals:
StackMap stack:
aload 9
aload 10
invokestatic jdk.internal.org.jline.utils.DiffHelper.diff:(Ljdk/internal/org/jline/utils/AttributedString;Ljdk/internal/org/jline/utils/AttributedString;)Ljava/util/List;
astore 16
start local 16 111: iconst_1
istore 17
start local 17 112: iconst_0
istore 18
start local 18 113: iconst_0
istore 19
start local 19 114: goto 169
115: StackMap locals: jdk.internal.org.jline.utils.Display java.util.List int int java.lang.Integer int int int int jdk.internal.org.jline.utils.AttributedString jdk.internal.org.jline.utils.AttributedString int int int int int java.util.List int int int
StackMap stack:
aload 16
iload 19
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.org.jline.utils.DiffHelper$Diff
astore 20
start local 20 116: aload 20
getfield jdk.internal.org.jline.utils.DiffHelper$Diff.text:Ljdk/internal/org/jline/utils/AttributedString;
invokevirtual jdk.internal.org.jline.utils.AttributedString.columnLength:()I
istore 21
start local 21 117: invokestatic jdk.internal.org.jline.utils.Display.$SWITCH_TABLE$jdk$internal$org$jline$utils$DiffHelper$Operation:()[I
aload 20
getfield jdk.internal.org.jline.utils.DiffHelper$Diff.operation:Ljdk/internal/org/jline/utils/DiffHelper$Operation;
invokevirtual jdk.internal.org.jline.utils.DiffHelper$Operation.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 149
2: 126
3: 118
default: 168
}
118: StackMap locals: jdk.internal.org.jline.utils.DiffHelper$Diff int
StackMap stack:
iload 17
ifne 124
119: aload 0
aload 0
iload 6
invokevirtual jdk.internal.org.jline.utils.Display.moveVisualCursorTo:(I)I
putfield jdk.internal.org.jline.utils.Display.cursorPos:I
120: aload 0
aload 20
getfield jdk.internal.org.jline.utils.DiffHelper$Diff.text:Ljdk/internal/org/jline/utils/AttributedString;
invokevirtual jdk.internal.org.jline.utils.Display.rawPrint:(Ljdk/internal/org/jline/utils/AttributedString;)V
121: aload 0
dup
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
iload 21
iadd
putfield jdk.internal.org.jline.utils.Display.cursorPos:I
122: aload 0
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
istore 6
123: goto 168
124: StackMap locals:
StackMap stack:
iload 6
iload 21
iadd
istore 6
125: goto 168
126: StackMap locals:
StackMap stack:
iload 19
aload 16
invokeinterface java.util.List.size:()I
iconst_2
isub
if_icmpgt 134
127: aload 16
iload 19
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.org.jline.utils.DiffHelper$Diff
getfield jdk.internal.org.jline.utils.DiffHelper$Diff.operation:Ljdk/internal/org/jline/utils/DiffHelper$Operation;
getstatic jdk.internal.org.jline.utils.DiffHelper$Operation.EQUAL:Ljdk/internal/org/jline/utils/DiffHelper$Operation;
if_acmpne 134
128: aload 0
aload 0
iload 6
invokevirtual jdk.internal.org.jline.utils.Display.moveVisualCursorTo:(I)I
putfield jdk.internal.org.jline.utils.Display.cursorPos:I
129: aload 0
iload 21
invokevirtual jdk.internal.org.jline.utils.Display.insertChars:(I)Z
ifeq 143
130: aload 0
aload 20
getfield jdk.internal.org.jline.utils.DiffHelper$Diff.text:Ljdk/internal/org/jline/utils/AttributedString;
invokevirtual jdk.internal.org.jline.utils.Display.rawPrint:(Ljdk/internal/org/jline/utils/AttributedString;)V
131: aload 0
dup
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
iload 21
iadd
putfield jdk.internal.org.jline.utils.Display.cursorPos:I
132: aload 0
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
istore 6
133: goto 168
134: StackMap locals:
StackMap stack:
iload 19
aload 16
invokeinterface java.util.List.size:()I
iconst_2
isub
if_icmpgt 143
135: aload 16
iload 19
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.org.jline.utils.DiffHelper$Diff
getfield jdk.internal.org.jline.utils.DiffHelper$Diff.operation:Ljdk/internal/org/jline/utils/DiffHelper$Operation;
getstatic jdk.internal.org.jline.utils.DiffHelper$Operation.DELETE:Ljdk/internal/org/jline/utils/DiffHelper$Operation;
if_acmpne 143
136: iload 21
aload 16
iload 19
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.org.jline.utils.DiffHelper$Diff
getfield jdk.internal.org.jline.utils.DiffHelper$Diff.text:Ljdk/internal/org/jline/utils/AttributedString;
invokevirtual jdk.internal.org.jline.utils.AttributedString.columnLength:()I
if_icmpne 143
137: aload 0
iload 6
invokevirtual jdk.internal.org.jline.utils.Display.moveVisualCursorTo:(I)I
pop
138: aload 0
aload 20
getfield jdk.internal.org.jline.utils.DiffHelper$Diff.text:Ljdk/internal/org/jline/utils/AttributedString;
invokevirtual jdk.internal.org.jline.utils.Display.rawPrint:(Ljdk/internal/org/jline/utils/AttributedString;)V
139: aload 0
dup
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
iload 21
iadd
putfield jdk.internal.org.jline.utils.Display.cursorPos:I
140: aload 0
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
istore 6
141: iinc 19 1
142: goto 168
143: StackMap locals:
StackMap stack:
aload 0
iload 6
invokevirtual jdk.internal.org.jline.utils.Display.moveVisualCursorTo:(I)I
pop
144: aload 0
aload 20
getfield jdk.internal.org.jline.utils.DiffHelper$Diff.text:Ljdk/internal/org/jline/utils/AttributedString;
invokevirtual jdk.internal.org.jline.utils.Display.rawPrint:(Ljdk/internal/org/jline/utils/AttributedString;)V
145: aload 0
dup
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
iload 21
iadd
putfield jdk.internal.org.jline.utils.Display.cursorPos:I
146: aload 0
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
istore 6
147: iconst_0
istore 17
148: goto 168
149: StackMap locals:
StackMap stack:
iload 18
ifeq 151
150: goto 168
151: StackMap locals:
StackMap stack:
iload 6
iload 11
isub
aload 0
getfield jdk.internal.org.jline.utils.Display.columns:I
if_icmplt 153
152: goto 168
153: StackMap locals:
StackMap stack:
iload 19
aload 16
invokeinterface java.util.List.size:()I
iconst_2
isub
if_icmpgt 159
154: aload 16
iload 19
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.org.jline.utils.DiffHelper$Diff
getfield jdk.internal.org.jline.utils.DiffHelper$Diff.operation:Ljdk/internal/org/jline/utils/DiffHelper$Operation;
getstatic jdk.internal.org.jline.utils.DiffHelper$Operation.EQUAL:Ljdk/internal/org/jline/utils/DiffHelper$Operation;
if_acmpne 159
155: iload 6
aload 16
iload 19
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.org.jline.utils.DiffHelper$Diff
getfield jdk.internal.org.jline.utils.DiffHelper$Diff.text:Ljdk/internal/org/jline/utils/AttributedString;
invokevirtual jdk.internal.org.jline.utils.AttributedString.columnLength:()I
iadd
aload 0
getfield jdk.internal.org.jline.utils.Display.columns:I
if_icmpge 159
156: aload 0
iload 6
invokevirtual jdk.internal.org.jline.utils.Display.moveVisualCursorTo:(I)I
pop
157: aload 0
iload 21
invokevirtual jdk.internal.org.jline.utils.Display.deleteChars:(I)Z
ifeq 159
158: goto 168
159: StackMap locals:
StackMap stack:
aload 9
invokevirtual jdk.internal.org.jline.utils.AttributedString.columnLength:()I
istore 22
start local 22 160: aload 10
invokevirtual jdk.internal.org.jline.utils.AttributedString.columnLength:()I
istore 23
start local 23 161: iload 22
iload 23
invokestatic java.lang.Math.max:(II)I
iload 6
iload 11
isub
isub
istore 24
start local 24 162: aload 0
iload 6
invokevirtual jdk.internal.org.jline.utils.Display.moveVisualCursorTo:(I)I
pop
163: aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.clr_eol:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_0
anewarray java.lang.Object
invokeinterface jdk.internal.org.jline.terminal.Terminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
ifne 166
164: aload 0
bipush 32
iload 24
invokevirtual jdk.internal.org.jline.utils.Display.rawPrint:(CI)V
165: aload 0
dup
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
iload 24
iadd
putfield jdk.internal.org.jline.utils.Display.cursorPos:I
166: StackMap locals: int int int
StackMap stack:
iconst_1
istore 18
167: iconst_0
istore 17
end local 24 end local 23 end local 22 end local 21 end local 20 168: StackMap locals: jdk.internal.org.jline.utils.Display java.util.List int int java.lang.Integer int int int int jdk.internal.org.jline.utils.AttributedString jdk.internal.org.jline.utils.AttributedString int int int int int java.util.List int int int
StackMap stack:
iinc 19 1
StackMap locals:
StackMap stack:
169: iload 19
aload 16
invokeinterface java.util.List.size:()I
if_icmplt 115
end local 19 170: iinc 5 1
171: iload 15
ifne 172
iload 5
aload 1
invokeinterface java.util.List.size:()I
if_icmpge 172
iconst_1
goto 173
StackMap locals:
StackMap stack:
172: iconst_0
StackMap locals:
StackMap stack: int
173: istore 19
start local 19 174: iload 2
iconst_1
iadd
iload 5
aload 0
getfield jdk.internal.org.jline.utils.Display.columns1:I
imul
if_icmpne 177
175: iload 19
ifne 176
aload 0
getfield jdk.internal.org.jline.utils.Display.delayLineWrap:Z
ifne 177
176: StackMap locals: int
StackMap stack:
iinc 2 1
177: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
iload 11
isub
aload 0
getfield jdk.internal.org.jline.utils.Display.columns1:I
irem
aload 0
getfield jdk.internal.org.jline.utils.Display.columns:I
if_icmpne 178
iconst_1
goto 179
StackMap locals:
StackMap stack:
178: iconst_0
StackMap locals:
StackMap stack: int
179: istore 20
start local 20 180: iconst_0
istore 8
181: aload 0
getfield jdk.internal.org.jline.utils.Display.delayedWrapAtEol:Z
ifeq 191
182: iload 14
ifne 183
iload 5
aload 0
getfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpge 183
iconst_1
goto 184
StackMap locals: int
StackMap stack:
183: iconst_0
StackMap locals:
StackMap stack: int
184: istore 21
start local 21 185: iload 19
iload 21
if_icmpeq 199
iload 21
ifeq 186
iload 18
ifne 199
186: StackMap locals: int
StackMap stack:
aload 0
iload 5
aload 0
getfield jdk.internal.org.jline.utils.Display.columns1:I
imul
iconst_1
isub
aload 1
invokevirtual jdk.internal.org.jline.utils.Display.moveVisualCursorTo:(ILjava/util/List;)V
187: iload 19
ifeq 189
188: iconst_1
istore 8
goto 199
189: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.clr_eol:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_0
anewarray java.lang.Object
invokeinterface jdk.internal.org.jline.terminal.Terminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
pop
end local 21 190: goto 199
StackMap locals:
StackMap stack:
191: iload 20
ifeq 199
192: aload 0
getfield jdk.internal.org.jline.utils.Display.wrapAtEol:Z
ifeq 196
193: aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
invokeinterface jdk.internal.org.jline.terminal.Terminal.writer:()Ljava/io/PrintWriter;
ldc " \b"
invokevirtual java.io.PrintWriter.write:(Ljava/lang/String;)V
194: aload 0
dup
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
iconst_1
iadd
putfield jdk.internal.org.jline.utils.Display.cursorPos:I
195: goto 198
196: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.carriage_return:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_0
anewarray java.lang.Object
invokeinterface jdk.internal.org.jline.terminal.Terminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
pop
197: aload 0
iload 11
putfield jdk.internal.org.jline.utils.Display.cursorPos:I
198: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
istore 6
end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 199: StackMap locals: jdk.internal.org.jline.utils.Display java.util.List int int java.lang.Integer int int int int
StackMap stack:
iload 5
iload 7
if_icmplt 70
200: aload 0
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
iload 2
if_icmpeq 204
201: aload 0
iload 2
ifge 202
iload 6
goto 203
StackMap locals:
StackMap stack: jdk.internal.org.jline.utils.Display
202: iload 2
StackMap locals: jdk.internal.org.jline.utils.Display java.util.List int int java.lang.Integer int int int int
StackMap stack: jdk.internal.org.jline.utils.Display int
203: aload 1
invokevirtual jdk.internal.org.jline.utils.Display.moveVisualCursorTo:(ILjava/util/List;)V
204: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jdk.internal.org.jline.utils.Display.oldLines:Ljava/util/List;
205: iload 3
ifeq 207
206: aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
invokeinterface jdk.internal.org.jline.terminal.Terminal.flush:()V
207: StackMap locals:
StackMap stack:
return
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 208 0 this Ljdk/internal/org/jline/utils/Display;
0 208 1 newLines Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;
0 208 2 targetCursorPos I
0 208 3 flush Z
6 208 4 cols Ljava/lang/Integer;
13 65 5 nbHeaders I
14 65 6 nbFooters I
15 65 7 l I
24 65 8 o1 Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;
25 65 9 o2 Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;
26 65 10 common [I
28 65 11 s1 I
29 65 12 s2 I
30 65 13 sl I
33 47 14 nb I
35 39 15 i I
43 47 15 i I
50 65 14 nb I
54 58 15 i I
61 65 15 i I
66 208 5 lineIndex I
67 208 6 currentPos I
68 208 7 numLines I
69 208 8 wrapNeeded Z
73 199 9 oldLine Ljdk/internal/org/jline/utils/AttributedString;
76 199 10 newLine Ljdk/internal/org/jline/utils/AttributedString;
78 199 11 curCol I
79 199 12 oldLength I
80 199 13 newLength I
83 199 14 oldNL Z
86 199 15 newNL Z
101 110 16 firstChar Ljdk/internal/org/jline/utils/AttributedString;
104 110 17 firstLength I
111 199 16 diffs Ljava/util/List<Ljdk/internal/org/jline/utils/DiffHelper$Diff;>;
112 199 17 ident Z
113 199 18 cleared Z
114 170 19 i I
116 168 20 diff Ljdk/internal/org/jline/utils/DiffHelper$Diff;
117 168 21 width I
160 168 22 oldLen I
161 168 23 newLen I
162 168 24 nb I
174 199 19 newWrap Z
180 199 20 atRight Z
185 190 21 oldWrap Z
Signature: (Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;IZ)V
MethodParameters:
Name Flags
newLines
targetCursorPos
flush
protected boolean deleteLines(int);
descriptor: (I)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.delete_line:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.parm_delete_line:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iload 1
invokevirtual jdk.internal.org.jline.utils.Display.perform:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;Ljdk/internal/org/jline/utils/InfoCmp$Capability;I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/Display;
0 1 1 nb I
MethodParameters:
Name Flags
nb
protected boolean insertLines(int);
descriptor: (I)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.insert_line:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.parm_insert_line:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iload 1
invokevirtual jdk.internal.org.jline.utils.Display.perform:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;Ljdk/internal/org/jline/utils/InfoCmp$Capability;I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/Display;
0 1 1 nb I
MethodParameters:
Name Flags
nb
protected boolean insertChars(int);
descriptor: (I)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.insert_character:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.parm_ich:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iload 1
invokevirtual jdk.internal.org.jline.utils.Display.perform:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;Ljdk/internal/org/jline/utils/InfoCmp$Capability;I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/Display;
0 1 1 nb I
MethodParameters:
Name Flags
nb
protected boolean deleteChars(int);
descriptor: (I)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.delete_character:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.parm_dch:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iload 1
invokevirtual jdk.internal.org.jline.utils.Display.perform:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;Ljdk/internal/org/jline/utils/InfoCmp$Capability;I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/Display;
0 1 1 nb I
MethodParameters:
Name Flags
nb
protected boolean can(jdk.internal.org.jline.utils.InfoCmp$Capability, jdk.internal.org.jline.utils.InfoCmp$Capability);
descriptor: (Ljdk/internal/org/jline/utils/InfoCmp$Capability;Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
aload 1
invokeinterface jdk.internal.org.jline.terminal.Terminal.getStringCapability:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
ifnonnull 3
1: aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
aload 2
invokeinterface jdk.internal.org.jline.terminal.Terminal.getStringCapability:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
ifnonnull 3
2: iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/jline/utils/Display;
0 4 1 single Ljdk/internal/org/jline/utils/InfoCmp$Capability;
0 4 2 multi Ljdk/internal/org/jline/utils/InfoCmp$Capability;
MethodParameters:
Name Flags
single
multi
protected boolean perform(jdk.internal.org.jline.utils.InfoCmp$Capability, jdk.internal.org.jline.utils.InfoCmp$Capability, int);
descriptor: (Ljdk/internal/org/jline/utils/InfoCmp$Capability;Ljdk/internal/org/jline/utils/InfoCmp$Capability;I)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
aload 2
invokeinterface jdk.internal.org.jline.terminal.Terminal.getStringCapability:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 4
start local 4 3: aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
aload 1
invokeinterface jdk.internal.org.jline.terminal.Terminal.getStringCapability:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
ifnull 4
iconst_1
goto 5
StackMap locals: int
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 5
start local 5 6: iload 4
ifeq 9
iload 5
ifeq 7
aload 0
aload 1
invokevirtual jdk.internal.org.jline.utils.Display.cost:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)I
iload 3
imul
aload 0
aload 2
invokevirtual jdk.internal.org.jline.utils.Display.cost:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)I
if_icmple 9
7: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
aload 2
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokeinterface jdk.internal.org.jline.terminal.Terminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
pop
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
iload 5
ifeq 16
10: iconst_0
istore 6
start local 6 11: goto 14
12: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
aload 1
iconst_0
anewarray java.lang.Object
invokeinterface jdk.internal.org.jline.terminal.Terminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
pop
13: iinc 6 1
StackMap locals:
StackMap stack:
14: iload 6
iload 3
if_icmplt 12
end local 6 15: iconst_1
ireturn
16: StackMap locals:
StackMap stack:
iconst_0
ireturn
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 17 0 this Ljdk/internal/org/jline/utils/Display;
0 17 1 single Ljdk/internal/org/jline/utils/InfoCmp$Capability;
0 17 2 multi Ljdk/internal/org/jline/utils/InfoCmp$Capability;
0 17 3 nb I
3 17 4 hasMulti Z
6 17 5 hasSingle Z
11 15 6 i I
MethodParameters:
Name Flags
single
multi
nb
private int cost(jdk.internal.org.jline.utils.InfoCmp$Capability);
descriptor: (Ljdk/internal/org/jline/utils/InfoCmp$Capability;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.org.jline.utils.Display.cost:Ljava/util/Map;
aload 1
aload 0
invokedynamic apply(Ljdk/internal/org/jline/utils/Display;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
jdk/internal/org/jline/utils/Display.computeCost(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)I (7)
(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/Integer;
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/Display;
0 1 1 cap Ljdk/internal/org/jline/utils/InfoCmp$Capability;
MethodParameters:
Name Flags
cap
private int computeCost(jdk.internal.org.jline.utils.InfoCmp$Capability);
descriptor: (Ljdk/internal/org/jline/utils/InfoCmp$Capability;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
aload 1
invokeinterface jdk.internal.org.jline.terminal.Terminal.getStringCapability:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic jdk.internal.org.jline.utils.Curses.tputs:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual java.lang.String.length:()I
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: ldc 2147483647
StackMap locals:
StackMap stack: int
3: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/jline/utils/Display;
0 4 1 cap Ljdk/internal/org/jline/utils/InfoCmp$Capability;
1 4 2 s Ljava/lang/String;
MethodParameters:
Name Flags
cap
private static int[] longestCommon(java.util.List<jdk.internal.org.jline.utils.AttributedString>, java.util.List<jdk.internal.org.jline.utils.AttributedString>);
descriptor: (Ljava/util/List;Ljava/util/List;)[I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 19
5: StackMap locals: java.util.List java.util.List int int int int
StackMap stack:
iconst_0
istore 6
start local 6 6: goto 17
7: StackMap locals: int
StackMap stack:
iconst_0
istore 7
start local 7 8: goto 11
9: StackMap locals: int
StackMap stack:
iinc 7 1
10: iload 5
iload 7
iadd
aload 0
invokeinterface java.util.List.size:()I
if_icmpge 12
iload 6
iload 7
iadd
aload 1
invokeinterface java.util.List.size:()I
if_icmplt 11
goto 12
11: StackMap locals:
StackMap stack:
aload 0
iload 5
iload 7
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
aload 1
iload 6
iload 7
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 9
12: StackMap locals:
StackMap stack:
iload 7
iload 4
if_icmple 16
13: iload 7
istore 4
14: iload 5
istore 2
15: iload 6
istore 3
end local 7 16: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
17: iload 6
aload 1
invokeinterface java.util.List.size:()I
if_icmplt 7
end local 6 18: iinc 5 1
StackMap locals:
StackMap stack:
19: iload 5
aload 0
invokeinterface java.util.List.size:()I
if_icmplt 5
end local 5 20: iload 4
ifeq 21
iconst_3
newarray 10
dup
iconst_0
iload 2
iastore
dup
iconst_1
iload 3
iastore
dup
iconst_2
iload 4
iastore
goto 22
StackMap locals:
StackMap stack:
21: aconst_null
StackMap locals:
StackMap stack: int[]
22: areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 l1 Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;
0 23 1 l2 Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;
1 23 2 start1 I
2 23 3 start2 I
3 23 4 max I
4 20 5 i I
6 18 6 j I
8 16 7 x I
Signature: (Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;)[I
MethodParameters:
Name Flags
l1
l2
protected void moveVisualCursorTo(int, java.util.List<jdk.internal.org.jline.utils.AttributedString>);
descriptor: (ILjava/util/List;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
iload 1
if_icmpeq 16
1: iload 1
aload 0
getfield jdk.internal.org.jline.utils.Display.columns1:I
irem
aload 0
getfield jdk.internal.org.jline.utils.Display.columns:I
if_icmpne 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 3
start local 3 4: aload 0
iload 1
iload 3
ifeq 5
iconst_1
goto 6
StackMap locals: jdk.internal.org.jline.utils.Display int java.util.List int
StackMap stack: jdk.internal.org.jline.utils.Display int
5: iconst_0
StackMap locals: jdk.internal.org.jline.utils.Display int java.util.List int
StackMap stack: jdk.internal.org.jline.utils.Display int int
6: isub
invokevirtual jdk.internal.org.jline.utils.Display.moveVisualCursorTo:(I)I
pop
7: iload 3
ifeq 16
8: iload 1
aload 0
getfield jdk.internal.org.jline.utils.Display.columns1:I
idiv
istore 4
start local 4 9: iload 4
aload 2
invokeinterface java.util.List.size:()I
if_icmplt 10
getstatic jdk.internal.org.jline.utils.AttributedString.EMPTY:Ljdk/internal/org/jline/utils/AttributedString;
goto 11
10: StackMap locals: int
StackMap stack:
aload 2
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.org.jline.utils.AttributedString
aload 0
getfield jdk.internal.org.jline.utils.Display.columns:I
iconst_1
isub
aload 0
getfield jdk.internal.org.jline.utils.Display.columns:I
invokevirtual jdk.internal.org.jline.utils.AttributedString.columnSubSequence:(II)Ljdk/internal/org/jline/utils/AttributedString;
11: StackMap locals:
StackMap stack: jdk.internal.org.jline.utils.AttributedString
astore 5
start local 5 12: aload 5
invokevirtual jdk.internal.org.jline.utils.AttributedString.length:()I
ifne 14
13: aload 0
bipush 32
invokevirtual jdk.internal.org.jline.utils.Display.rawPrint:(I)V
goto 15
14: StackMap locals: jdk.internal.org.jline.utils.AttributedString
StackMap stack:
aload 0
aload 5
invokevirtual jdk.internal.org.jline.utils.Display.rawPrint:(Ljdk/internal/org/jline/utils/AttributedString;)V
15: StackMap locals:
StackMap stack:
aload 0
dup
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
iconst_1
iadd
putfield jdk.internal.org.jline.utils.Display.cursorPos:I
end local 5 end local 4 end local 3 16: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/internal/org/jline/utils/Display;
0 17 1 targetPos I
0 17 2 newLines Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;
4 16 3 atRight Z
9 16 4 row I
12 16 5 lastChar Ljdk/internal/org/jline/utils/AttributedString;
Signature: (ILjava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;)V
MethodParameters:
Name Flags
targetPos
newLines
protected int moveVisualCursorTo(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.org.jline.utils.Display.cursorPos:I
istore 2
start local 2 1: iload 2
iload 1
if_icmpne 2
iload 1
ireturn
2: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Display.columns1:I
istore 3
start local 3 3: iload 2
iload 3
idiv
istore 4
start local 4 4: iload 2
iload 3
irem
istore 5
start local 5 5: iload 1
iload 3
idiv
istore 6
start local 6 6: iload 1
iload 3
irem
istore 7
start local 7 7: iload 5
aload 0
getfield jdk.internal.org.jline.utils.Display.columns:I
if_icmpne 10
8: aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.carriage_return:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_0
anewarray java.lang.Object
invokeinterface jdk.internal.org.jline.terminal.Terminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
pop
9: iconst_0
istore 5
10: StackMap locals: jdk.internal.org.jline.utils.Display int int int int int int int
StackMap stack:
iload 4
iload 6
if_icmple 13
11: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.cursor_up:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.parm_up_cursor:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iload 4
iload 6
isub
invokevirtual jdk.internal.org.jline.utils.Display.perform:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;Ljdk/internal/org/jline/utils/InfoCmp$Capability;I)Z
pop
12: goto 27
StackMap locals:
StackMap stack:
13: iload 4
iload 6
if_icmpge 27
14: aload 0
getfield jdk.internal.org.jline.utils.Display.fullScreen:Z
ifeq 24
15: aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.parm_down_cursor:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 6
iload 4
isub
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokeinterface jdk.internal.org.jline.terminal.Terminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
ifne 27
16: iload 4
istore 8
start local 8 17: goto 20
18: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.cursor_down:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_0
anewarray java.lang.Object
invokeinterface jdk.internal.org.jline.terminal.Terminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
pop
19: iinc 8 1
StackMap locals:
StackMap stack:
20: iload 8
iload 6
if_icmplt 18
end local 8 21: aload 0
getfield jdk.internal.org.jline.utils.Display.cursorDownIsNewLine:Z
ifeq 27
22: iconst_0
istore 5
23: goto 27
24: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.carriage_return:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_0
anewarray java.lang.Object
invokeinterface jdk.internal.org.jline.terminal.Terminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
pop
25: aload 0
bipush 10
iload 6
iload 4
isub
invokevirtual jdk.internal.org.jline.utils.Display.rawPrint:(CI)V
26: iconst_0
istore 5
27: StackMap locals:
StackMap stack:
iload 5
ifeq 30
iload 7
ifne 30
getstatic jdk.internal.org.jline.utils.Display.DISABLE_CR:Z
ifne 30
28: aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.carriage_return:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_0
anewarray java.lang.Object
invokeinterface jdk.internal.org.jline.terminal.Terminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
pop
29: goto 35
StackMap locals:
StackMap stack:
30: iload 5
iload 7
if_icmpge 33
31: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.cursor_right:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.parm_right_cursor:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iload 7
iload 5
isub
invokevirtual jdk.internal.org.jline.utils.Display.perform:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;Ljdk/internal/org/jline/utils/InfoCmp$Capability;I)Z
pop
32: goto 35
StackMap locals:
StackMap stack:
33: iload 5
iload 7
if_icmple 35
34: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.cursor_left:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.parm_left_cursor:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iload 5
iload 7
isub
invokevirtual jdk.internal.org.jline.utils.Display.perform:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;Ljdk/internal/org/jline/utils/InfoCmp$Capability;I)Z
pop
35: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield jdk.internal.org.jline.utils.Display.cursorPos:I
36: iload 1
ireturn
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 37 0 this Ljdk/internal/org/jline/utils/Display;
0 37 1 i1 I
1 37 2 i0 I
3 37 3 width I
4 37 4 l0 I
5 37 5 c0 I
6 37 6 l1 I
7 37 7 c1 I
17 21 8 i I
MethodParameters:
Name Flags
i1
void rawPrint(char, int);
descriptor: (CI)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokevirtual jdk.internal.org.jline.utils.Display.rawPrint:(I)V
3: iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
iload 2
if_icmplt 2
end local 3 5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/org/jline/utils/Display;
0 6 1 c C
0 6 2 num I
1 5 3 i I
MethodParameters:
Name Flags
c
num
void rawPrint(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
invokeinterface jdk.internal.org.jline.terminal.Terminal.writer:()Ljava/io/PrintWriter;
iload 1
invokevirtual java.io.PrintWriter.write:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/utils/Display;
0 2 1 c I
MethodParameters:
Name Flags
c
void rawPrint(jdk.internal.org.jline.utils.AttributedString);
descriptor: (Ljdk/internal/org/jline/utils/AttributedString;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
invokeinterface jdk.internal.org.jline.terminal.Terminal.writer:()Ljava/io/PrintWriter;
aload 1
aload 0
getfield jdk.internal.org.jline.utils.Display.terminal:Ljdk/internal/org/jline/terminal/Terminal;
invokevirtual jdk.internal.org.jline.utils.AttributedString.toAnsi:(Ljdk/internal/org/jline/terminal/Terminal;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.write:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/utils/Display;
0 2 1 str Ljdk/internal/org/jline/utils/AttributedString;
MethodParameters:
Name Flags
str
public int wcwidth(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.internal.org.jline.utils.AttributedString.fromAnsi:(Ljava/lang/String;)Ljdk/internal/org/jline/utils/AttributedString;
invokevirtual jdk.internal.org.jline.utils.AttributedString.columnLength:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/Display;
0 1 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
static int[] $SWITCH_TABLE$jdk$internal$org$jline$utils$DiffHelper$Operation();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic jdk.internal.org.jline.utils.Display.$SWITCH_TABLE$jdk$internal$org$jline$utils$DiffHelper$Operation:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic jdk.internal.org.jline.utils.DiffHelper$Operation.values:()[Ljdk/internal/org/jline/utils/DiffHelper$Operation;
arraylength
newarray 10
astore 0
2: aload 0
getstatic jdk.internal.org.jline.utils.DiffHelper$Operation.DELETE:Ljdk/internal/org/jline/utils/DiffHelper$Operation;
invokevirtual jdk.internal.org.jline.utils.DiffHelper$Operation.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic jdk.internal.org.jline.utils.DiffHelper$Operation.EQUAL:Ljdk/internal/org/jline/utils/DiffHelper$Operation;
invokevirtual jdk.internal.org.jline.utils.DiffHelper$Operation.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic jdk.internal.org.jline.utils.DiffHelper$Operation.INSERT:Ljdk/internal/org/jline/utils/DiffHelper$Operation;
invokevirtual jdk.internal.org.jline.utils.DiffHelper$Operation.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic jdk.internal.org.jline.utils.Display.$SWITCH_TABLE$jdk$internal$org$jline$utils$DiffHelper$Operation:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
private static jdk.internal.org.jline.utils.AttributedString lambda$1(jdk.internal.org.jline.utils.AttributedString);
descriptor: (Ljdk/internal/org/jline/utils/AttributedString;)Ljdk/internal/org/jline/utils/AttributedString;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.internal.org.jline.utils.AttributedString
dup
aload 0
invokevirtual jdk.internal.org.jline.utils.AttributedString.toString:()Ljava/lang/String;
invokespecial jdk.internal.org.jline.utils.AttributedString.<init>:(Ljava/lang/CharSequence;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljdk/internal/org/jline/utils/AttributedString;
}
SourceFile: "Display.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Diff = jdk.internal.org.jline.utils.DiffHelper$Diff of jdk.internal.org.jline.utils.DiffHelper
public final Operation = jdk.internal.org.jline.utils.DiffHelper$Operation of jdk.internal.org.jline.utils.DiffHelper
public final Capability = jdk.internal.org.jline.utils.InfoCmp$Capability of jdk.internal.org.jline.utils.InfoCmp