public class jdk.internal.org.jline.utils.Status
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.org.jline.utils.Status
super_class: java.lang.Object
{
protected final jdk.internal.org.jline.terminal.impl.AbstractTerminal terminal;
descriptor: Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final boolean supported;
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 java.util.List<jdk.internal.org.jline.utils.AttributedString> linesToRestore;
descriptor: Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;
protected int rows;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int columns;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected boolean force;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean suspended;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected jdk.internal.org.jline.utils.AttributedString borderString;
descriptor: Ljdk/internal/org/jline/utils/AttributedString;
flags: (0x0004) ACC_PROTECTED
protected int border;
descriptor: I
flags: (0x0004) ACC_PROTECTED
public static jdk.internal.org.jline.utils.Status getStatus(jdk.internal.org.jline.terminal.Terminal);
descriptor: (Ljdk/internal/org/jline/terminal/Terminal;)Ljdk/internal/org/jline/utils/Status;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokestatic jdk.internal.org.jline.utils.Status.getStatus:(Ljdk/internal/org/jline/terminal/Terminal;Z)Ljdk/internal/org/jline/utils/Status;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 terminal Ljdk/internal/org/jline/terminal/Terminal;
MethodParameters:
Name Flags
terminal
public static jdk.internal.org.jline.utils.Status getStatus(jdk.internal.org.jline.terminal.Terminal, boolean);
descriptor: (Ljdk/internal/org/jline/terminal/Terminal;Z)Ljdk/internal/org/jline/utils/Status;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof jdk.internal.org.jline.terminal.impl.AbstractTerminal
ifeq 2
1: aload 0
checkcast jdk.internal.org.jline.terminal.impl.AbstractTerminal
iload 1
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractTerminal.getStatus:(Z)Ljdk/internal/org/jline/utils/Status;
goto 3
2: StackMap locals:
StackMap stack:
aconst_null
3: StackMap locals:
StackMap stack: jdk.internal.org.jline.utils.Status
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 terminal Ljdk/internal/org/jline/terminal/Terminal;
0 4 1 create Z
MethodParameters:
Name Flags
terminal
create
public void <init>(jdk.internal.org.jline.terminal.impl.AbstractTerminal);
descriptor: (Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 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.Status.oldLines:Ljava/util/List;
2: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield jdk.internal.org.jline.utils.Status.linesToRestore:Ljava/util/List;
3: aload 0
iconst_0
putfield jdk.internal.org.jline.utils.Status.suspended:Z
4: aload 0
iconst_0
putfield jdk.internal.org.jline.utils.Status.border:I
5: aload 0
aload 1
ldc "terminal can not be null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast jdk.internal.org.jline.terminal.impl.AbstractTerminal
putfield jdk.internal.org.jline.utils.Status.terminal:Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
6: aload 0
aload 1
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.change_scroll_region:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractTerminal.getStringCapability:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
ifnull 10
7: aload 1
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.save_cursor:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractTerminal.getStringCapability:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
ifnull 10
8: aload 1
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.restore_cursor:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractTerminal.getStringCapability:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
ifnull 10
9: aload 1
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.cursor_address:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractTerminal.getStringCapability:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
ifnull 10
iconst_1
goto 11
StackMap locals: jdk.internal.org.jline.utils.Status jdk.internal.org.jline.terminal.impl.AbstractTerminal
StackMap stack: jdk.internal.org.jline.utils.Status
10: iconst_0
11: StackMap locals: jdk.internal.org.jline.utils.Status jdk.internal.org.jline.terminal.impl.AbstractTerminal
StackMap stack: jdk.internal.org.jline.utils.Status int
putfield jdk.internal.org.jline.utils.Status.supported:Z
12: aload 0
getfield jdk.internal.org.jline.utils.Status.supported:Z
ifeq 22
13: sipush 9984
istore 2
start local 2 14: new jdk.internal.org.jline.utils.AttributedStringBuilder
dup
invokespecial jdk.internal.org.jline.utils.AttributedStringBuilder.<init>:()V
astore 3
start local 3 15: iconst_0
istore 4
start local 4 16: goto 19
17: StackMap locals: int jdk.internal.org.jline.utils.AttributedStringBuilder int
StackMap stack:
aload 3
iload 2
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.append:(C)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
pop
18: iinc 4 1
StackMap locals:
StackMap stack:
19: iload 4
sipush 200
if_icmplt 17
end local 4 20: aload 0
aload 3
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.toAttributedString:()Ljdk/internal/org/jline/utils/AttributedString;
putfield jdk.internal.org.jline.utils.Status.borderString:Ljdk/internal/org/jline/utils/AttributedString;
21: aload 0
invokevirtual jdk.internal.org.jline.utils.Status.resize:()V
end local 3 end local 2 22: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljdk/internal/org/jline/utils/Status;
0 23 1 terminal Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
14 22 2 borderChar C
15 22 3 bb Ljdk/internal/org/jline/utils/AttributedStringBuilder;
16 20 4 i I
MethodParameters:
Name Flags
terminal
public void setBorder(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
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack: jdk.internal.org.jline.utils.Status
1: iconst_0
StackMap locals: jdk.internal.org.jline.utils.Status int
StackMap stack: jdk.internal.org.jline.utils.Status int
2: putfield jdk.internal.org.jline.utils.Status.border:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/jline/utils/Status;
0 4 1 border Z
MethodParameters:
Name Flags
border
public void resize();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.Status.terminal:Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractTerminal.getSize:()Ljdk/internal/org/jline/terminal/Size;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual jdk.internal.org.jline.terminal.Size.getRows:()I
putfield jdk.internal.org.jline.utils.Status.rows:I
2: aload 0
aload 1
invokevirtual jdk.internal.org.jline.terminal.Size.getColumns:()I
putfield jdk.internal.org.jline.utils.Status.columns:I
3: aload 0
iconst_1
putfield jdk.internal.org.jline.utils.Status.force:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/org/jline/utils/Status;
1 5 1 size Ljdk/internal/org/jline/terminal/Size;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield jdk.internal.org.jline.utils.Status.force:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/utils/Status;
public void hardReset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.Status.suspended:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
aload 0
getfield jdk.internal.org.jline.utils.Status.oldLines:Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 1
start local 1 3: aload 0
getfield jdk.internal.org.jline.utils.Status.border:I
istore 2
start local 2 4: aload 0
aconst_null
invokevirtual jdk.internal.org.jline.utils.Status.update:(Ljava/util/List;)V
5: aload 0
iload 2
putfield jdk.internal.org.jline.utils.Status.border:I
6: aload 0
aload 1
invokevirtual jdk.internal.org.jline.utils.Status.update:(Ljava/util/List;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/org/jline/utils/Status;
3 8 1 lines Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;
4 8 2 b I
public void redraw();
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.Status.suspended:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield jdk.internal.org.jline.utils.Status.oldLines:Ljava/util/List;
invokevirtual jdk.internal.org.jline.utils.Status.update:(Ljava/util/List;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/jline/utils/Status;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield jdk.internal.org.jline.utils.Status.oldLines:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokevirtual jdk.internal.org.jline.utils.Status.privateClear:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/utils/Status;
private void clearAll();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.Status.border:I
istore 1
start local 1 1: aload 0
iconst_0
putfield jdk.internal.org.jline.utils.Status.border:I
2: aload 0
aload 0
getfield jdk.internal.org.jline.utils.Status.oldLines:Ljava/util/List;
invokeinterface java.util.List.size:()I
iload 1
iadd
invokevirtual jdk.internal.org.jline.utils.Status.privateClear:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/jline/utils/Status;
1 4 1 b I
private void privateClear(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: java.util.List int
StackMap stack:
aload 2
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:(Ljava/lang/Object;)Z
pop
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 1
if_icmplt 3
end local 3 6: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifne 8
7: aload 0
aload 2
invokevirtual jdk.internal.org.jline.utils.Status.update:(Ljava/util/List;)V
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/org/jline/utils/Status;
0 9 1 statusSize I
1 9 2 as Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;
2 6 3 i I
MethodParameters:
Name Flags
statusSize
public void update(java.util.List<jdk.internal.org.jline.utils.AttributedString>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.org.jline.utils.Status.supported:Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
astore 1
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Status.suspended:Z
ifeq 7
5: aload 0
new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield jdk.internal.org.jline.utils.Status.linesToRestore:Ljava/util/List;
6: return
7: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 9
8: aload 0
invokevirtual jdk.internal.org.jline.utils.Status.clearAll:()V
9: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Status.oldLines:Ljava/util/List;
aload 1
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifeq 11
aload 0
getfield jdk.internal.org.jline.utils.Status.force:Z
ifne 11
10: return
11: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.List.size:()I
aload 1
invokeinterface java.util.List.size:()I
ifne 12
iconst_0
goto 13
StackMap locals:
StackMap stack: int
12: aload 0
getfield jdk.internal.org.jline.utils.Status.border:I
StackMap locals: jdk.internal.org.jline.utils.Status java.util.List
StackMap stack: int int
13: iadd
istore 2
start local 2 14: iload 2
aload 0
getfield jdk.internal.org.jline.utils.Status.oldLines:Ljava/util/List;
invokeinterface java.util.List.size:()I
isub
aload 0
getfield jdk.internal.org.jline.utils.Status.oldLines:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifne 15
iconst_0
goto 16
StackMap locals: jdk.internal.org.jline.utils.Status java.util.List int
StackMap stack: int
15: aload 0
getfield jdk.internal.org.jline.utils.Status.border:I
StackMap locals: jdk.internal.org.jline.utils.Status java.util.List int
StackMap stack: int int
16: isub
istore 3
start local 3 17: iload 3
ifle 28
18: iconst_0
istore 4
start local 4 19: goto 22
20: StackMap locals: int int
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Status.terminal:Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.cursor_down:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_0
anewarray java.lang.Object
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractTerminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
pop
21: iinc 4 1
StackMap locals:
StackMap stack:
22: iload 4
iload 3
if_icmplt 20
end local 4 23: iconst_0
istore 4
start local 4 24: goto 27
25: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Status.terminal:Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.cursor_up:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_0
anewarray java.lang.Object
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractTerminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
pop
26: iinc 4 1
StackMap locals:
StackMap stack:
27: iload 4
iload 3
if_icmplt 25
end local 4 28: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Status.terminal:Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.save_cursor:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_0
anewarray java.lang.Object
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractTerminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
pop
29: aload 0
getfield jdk.internal.org.jline.utils.Status.terminal:Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.cursor_address:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.org.jline.utils.Status.rows:I
iload 2
isub
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractTerminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
pop
30: aload 0
getfield jdk.internal.org.jline.utils.Status.terminal:Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.clr_eos:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_0
anewarray java.lang.Object
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractTerminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
ifne 37
31: aload 0
getfield jdk.internal.org.jline.utils.Status.rows:I
iload 2
isub
istore 4
start local 4 32: goto 36
33: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Status.terminal:Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.cursor_address:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractTerminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
pop
34: aload 0
getfield jdk.internal.org.jline.utils.Status.terminal:Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.clr_eol:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_0
anewarray java.lang.Object
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractTerminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
pop
35: iinc 4 1
StackMap locals:
StackMap stack:
36: iload 4
aload 0
getfield jdk.internal.org.jline.utils.Status.rows:I
if_icmplt 33
end local 4 37: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Status.border:I
iconst_1
if_icmpne 40
aload 1
invokeinterface java.util.List.size:()I
ifle 40
38: aload 0
getfield jdk.internal.org.jline.utils.Status.terminal:Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.cursor_address:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.org.jline.utils.Status.rows:I
iload 2
isub
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractTerminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
pop
39: aload 0
getfield jdk.internal.org.jline.utils.Status.borderString:Ljdk/internal/org/jline/utils/AttributedString;
iconst_0
aload 0
getfield jdk.internal.org.jline.utils.Status.columns:I
invokevirtual jdk.internal.org.jline.utils.AttributedString.columnSubSequence:(II)Ljdk/internal/org/jline/utils/AttributedString;
aload 0
getfield jdk.internal.org.jline.utils.Status.terminal:Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
invokevirtual jdk.internal.org.jline.utils.AttributedString.print:(Ljdk/internal/org/jline/terminal/Terminal;)V
40: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 41: goto 50
42: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Status.terminal:Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.cursor_address:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.org.jline.utils.Status.rows:I
aload 1
invokeinterface java.util.List.size:()I
isub
iload 4
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractTerminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
pop
43: aload 1
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.org.jline.utils.AttributedString
invokevirtual jdk.internal.org.jline.utils.AttributedString.length:()I
aload 0
getfield jdk.internal.org.jline.utils.Status.columns:I
if_icmple 48
44: new jdk.internal.org.jline.utils.AttributedStringBuilder
dup
invokespecial jdk.internal.org.jline.utils.AttributedStringBuilder.<init>:()V
astore 5
start local 5 45: aload 5
aload 1
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.org.jline.utils.AttributedString
iconst_0
aload 0
getfield jdk.internal.org.jline.utils.Status.columns:I
iconst_3
isub
invokevirtual jdk.internal.org.jline.utils.AttributedString.substring:(II)Ljdk/internal/org/jline/utils/AttributedString;
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.append:(Ljdk/internal/org/jline/utils/AttributedString;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
ldc "..."
new jdk.internal.org.jline.utils.AttributedStyle
dup
getstatic jdk.internal.org.jline.utils.AttributedStyle.INVERSE:Ljdk/internal/org/jline/utils/AttributedStyle;
invokespecial jdk.internal.org.jline.utils.AttributedStyle.<init>:(Ljdk/internal/org/jline/utils/AttributedStyle;)V
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.append:(Ljava/lang/CharSequence;Ljdk/internal/org/jline/utils/AttributedStyle;)Ljdk/internal/org/jline/utils/AttributedStringBuilder;
pop
46: aload 5
invokevirtual jdk.internal.org.jline.utils.AttributedStringBuilder.toAttributedString:()Ljdk/internal/org/jline/utils/AttributedString;
iconst_0
aload 0
getfield jdk.internal.org.jline.utils.Status.columns:I
invokevirtual jdk.internal.org.jline.utils.AttributedString.columnSubSequence:(II)Ljdk/internal/org/jline/utils/AttributedString;
aload 0
getfield jdk.internal.org.jline.utils.Status.terminal:Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
invokevirtual jdk.internal.org.jline.utils.AttributedString.print:(Ljdk/internal/org/jline/terminal/Terminal;)V
end local 5 47: goto 49
48: StackMap locals:
StackMap stack:
aload 1
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.org.jline.utils.AttributedString
iconst_0
aload 0
getfield jdk.internal.org.jline.utils.Status.columns:I
invokevirtual jdk.internal.org.jline.utils.AttributedString.columnSubSequence:(II)Ljdk/internal/org/jline/utils/AttributedString;
aload 0
getfield jdk.internal.org.jline.utils.Status.terminal:Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
invokevirtual jdk.internal.org.jline.utils.AttributedString.print:(Ljdk/internal/org/jline/terminal/Terminal;)V
49: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
50: iload 4
aload 1
invokeinterface java.util.List.size:()I
if_icmplt 42
end local 4 51: aload 0
getfield jdk.internal.org.jline.utils.Status.terminal:Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.change_scroll_region:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_2
anewarray java.lang.Object
dup
iconst_0
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield jdk.internal.org.jline.utils.Status.rows:I
iconst_1
isub
iload 2
isub
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractTerminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
pop
52: aload 0
getfield jdk.internal.org.jline.utils.Status.terminal:Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.restore_cursor:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
iconst_0
anewarray java.lang.Object
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractTerminal.puts:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;[Ljava/lang/Object;)Z
pop
53: aload 0
getfield jdk.internal.org.jline.utils.Status.terminal:Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractTerminal.flush:()V
54: aload 0
new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield jdk.internal.org.jline.utils.Status.oldLines:Ljava/util/List;
55: aload 0
iconst_0
putfield jdk.internal.org.jline.utils.Status.force:Z
56: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 57 0 this Ljdk/internal/org/jline/utils/Status;
0 57 1 lines Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;
14 57 2 statusSize I
17 57 3 nb I
19 23 4 i I
24 28 4 i I
32 37 4 i I
41 51 4 i I
45 47 5 asb Ljdk/internal/org/jline/utils/AttributedStringBuilder;
Signature: (Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;)V
MethodParameters:
Name Flags
lines
public void suspend();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.Status.suspended:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
new java.util.ArrayList
dup
aload 0
getfield jdk.internal.org.jline.utils.Status.oldLines:Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield jdk.internal.org.jline.utils.Status.linesToRestore:Ljava/util/List;
3: aload 0
getfield jdk.internal.org.jline.utils.Status.border:I
istore 1
start local 1 4: aload 0
aconst_null
invokevirtual jdk.internal.org.jline.utils.Status.update:(Ljava/util/List;)V
5: aload 0
iload 1
putfield jdk.internal.org.jline.utils.Status.border:I
6: aload 0
iconst_1
putfield jdk.internal.org.jline.utils.Status.suspended:Z
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/org/jline/utils/Status;
4 8 1 b I
public void restore();
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.Status.suspended:Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield jdk.internal.org.jline.utils.Status.suspended:Z
3: aload 0
aload 0
getfield jdk.internal.org.jline.utils.Status.linesToRestore:Ljava/util/List;
invokevirtual jdk.internal.org.jline.utils.Status.update:(Ljava/util/List;)V
4: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield jdk.internal.org.jline.utils.Status.linesToRestore:Ljava/util/List;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/org/jline/utils/Status;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.Status.oldLines:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 0
getfield jdk.internal.org.jline.utils.Status.border:I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/Status;
}
SourceFile: "Status.java"
InnerClasses:
public final Capability = jdk.internal.org.jline.utils.InfoCmp$Capability of jdk.internal.org.jline.utils.InfoCmp