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 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
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=2, 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
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;
3: 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 7
4: 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 7
5: 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 7
6: 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 7
iconst_1
goto 8
StackMap locals: jdk.internal.org.jline.utils.Status jdk.internal.org.jline.terminal.impl.AbstractTerminal
StackMap stack: jdk.internal.org.jline.utils.Status
7: iconst_0
8: 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
9: aload 0
getfield jdk.internal.org.jline.utils.Status.supported:Z
ifeq 11
10: aload 0
invokevirtual jdk.internal.org.jline.utils.Status.resize:()V
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/internal/org/jline/utils/Status;
0 12 1 terminal Ljdk/internal/org/jline/terminal/impl/AbstractTerminal;
MethodParameters:
Name Flags
terminal
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 redraw();
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;
invokevirtual jdk.internal.org.jline.utils.Status.update:(Ljava/util/List;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/utils/Status;
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=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
astore 1
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.Status.supported:Z
ifeq 3
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 4
aload 0
getfield jdk.internal.org.jline.utils.Status.force:Z
ifne 4
3: StackMap locals:
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.List.size:()I
aload 0
getfield jdk.internal.org.jline.utils.Status.oldLines:Ljava/util/List;
invokeinterface java.util.List.size:()I
isub
istore 2
start local 2 5: iload 2
ifle 16
6: iconst_0
istore 3
start local 3 7: goto 10
8: 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
9: iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 2
if_icmplt 8
end local 3 11: iconst_0
istore 3
start local 3 12: goto 15
13: 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
14: iinc 3 1
StackMap locals:
StackMap stack:
15: iload 3
iload 2
if_icmplt 13
end local 3 16: 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
17: 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
pop
18: iconst_0
istore 3
start local 3 19: goto 23
20: 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 3
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
21: 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.writer:()Ljava/io/PrintWriter;
aload 1
iload 3
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.toAnsi:(Ljdk/internal/org/jline/terminal/Terminal;)Ljava/lang/String;
invokevirtual java.io.PrintWriter.write:(Ljava/lang/String;)V
22: iinc 3 1
StackMap locals:
StackMap stack:
23: iload 3
aload 1
invokeinterface java.util.List.size:()I
if_icmplt 20
end local 3 24: 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
aload 1
invokeinterface java.util.List.size:()I
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
25: 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
26: 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
27: 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;
28: aload 0
iconst_0
putfield jdk.internal.org.jline.utils.Status.force:Z
29: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Ljdk/internal/org/jline/utils/Status;
0 30 1 lines Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;
5 30 2 nb I
7 11 3 i I
12 16 3 i I
19 24 3 i I
Signature: (Ljava/util/List<Ljdk/internal/org/jline/utils/AttributedString;>;)V
MethodParameters:
Name Flags
lines
}
SourceFile: "Status.java"
InnerClasses:
public final Capability = jdk.internal.org.jline.utils.InfoCmp$Capability of jdk.internal.org.jline.utils.InfoCmp