public final class jdk.internal.org.jline.reader.impl.KillRing
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.internal.org.jline.reader.impl.KillRing
super_class: java.lang.Object
{
private static final int DEFAULT_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 60
private final java.lang.String[] slots;
descriptor: [Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int head;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean lastKill;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean lastYank;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield jdk.internal.org.jline.reader.impl.KillRing.head:I
2: aload 0
iconst_0
putfield jdk.internal.org.jline.reader.impl.KillRing.lastKill:Z
3: aload 0
iconst_0
putfield jdk.internal.org.jline.reader.impl.KillRing.lastYank:Z
4: aload 0
iload 1
anewarray java.lang.String
putfield jdk.internal.org.jline.reader.impl.KillRing.slots:[Ljava/lang/String;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/org/jline/reader/impl/KillRing;
0 6 1 size I
MethodParameters:
Name Flags
size
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 60
invokespecial jdk.internal.org.jline.reader.impl.KillRing.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/reader/impl/KillRing;
public void resetLastYank();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield jdk.internal.org.jline.reader.impl.KillRing.lastYank:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/reader/impl/KillRing;
public void resetLastKill();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield jdk.internal.org.jline.reader.impl.KillRing.lastKill:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/reader/impl/KillRing;
public boolean lastYank();
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.reader.impl.KillRing.lastYank:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/impl/KillRing;
public void add(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
putfield jdk.internal.org.jline.reader.impl.KillRing.lastYank:Z
1: aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.lastKill:Z
ifeq 5
2: aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.slots:[Ljava/lang/String;
aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.head:I
aaload
ifnull 5
3: aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.slots:[Ljava/lang/String;
aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.head:I
dup2
aaload
new java.lang.StringBuilder
dup_x1
swap
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
4: return
5: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.internal.org.jline.reader.impl.KillRing.lastKill:Z
6: aload 0
invokevirtual jdk.internal.org.jline.reader.impl.KillRing.next:()V
7: aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.slots:[Ljava/lang/String;
aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.head:I
aload 1
aastore
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/org/jline/reader/impl/KillRing;
0 9 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
public void addBackwards(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
putfield jdk.internal.org.jline.reader.impl.KillRing.lastYank:Z
1: aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.lastKill:Z
ifeq 5
2: aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.slots:[Ljava/lang/String;
aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.head:I
aaload
ifnull 5
3: aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.slots:[Ljava/lang/String;
aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.head:I
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.slots:[Ljava/lang/String;
aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.head:I
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
4: return
5: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.internal.org.jline.reader.impl.KillRing.lastKill:Z
6: aload 0
invokevirtual jdk.internal.org.jline.reader.impl.KillRing.next:()V
7: aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.slots:[Ljava/lang/String;
aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.head:I
aload 1
aastore
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/org/jline/reader/impl/KillRing;
0 9 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
public java.lang.String yank();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield jdk.internal.org.jline.reader.impl.KillRing.lastKill:Z
1: aload 0
iconst_1
putfield jdk.internal.org.jline.reader.impl.KillRing.lastYank:Z
2: aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.slots:[Ljava/lang/String;
aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.head:I
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/reader/impl/KillRing;
public java.lang.String yankPop();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield jdk.internal.org.jline.reader.impl.KillRing.lastKill:Z
1: aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.lastYank:Z
ifeq 4
2: aload 0
invokevirtual jdk.internal.org.jline.reader.impl.KillRing.prev:()V
3: aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.slots:[Ljava/lang/String;
aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.head:I
aaload
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/org/jline/reader/impl/KillRing;
private void next();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.head:I
ifne 2
aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.slots:[Ljava/lang/String;
iconst_0
aaload
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield jdk.internal.org.jline.reader.impl.KillRing.head:I
iconst_1
iadd
putfield jdk.internal.org.jline.reader.impl.KillRing.head:I
3: aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.head:I
aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.slots:[Ljava/lang/String;
arraylength
if_icmpne 5
4: aload 0
iconst_0
putfield jdk.internal.org.jline.reader.impl.KillRing.head:I
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/org/jline/reader/impl/KillRing;
private void prev();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
dup
getfield jdk.internal.org.jline.reader.impl.KillRing.head:I
iconst_1
isub
putfield jdk.internal.org.jline.reader.impl.KillRing.head:I
1: aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.head:I
iconst_m1
if_icmpne 9
2: aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.slots:[Ljava/lang/String;
arraylength
iconst_1
isub
istore 1
start local 1 3: goto 7
4: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.internal.org.jline.reader.impl.KillRing.slots:[Ljava/lang/String;
iload 1
aaload
ifnull 6
5: goto 8
6: StackMap locals:
StackMap stack:
iinc 1 -1
StackMap locals:
StackMap stack:
7: iload 1
ifge 4
8: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield jdk.internal.org.jline.reader.impl.KillRing.head:I
end local 1 9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/internal/org/jline/reader/impl/KillRing;
3 9 1 x I
}
SourceFile: "KillRing.java"