public class jdk.internal.jline.console.history.MemoryHistory implements jdk.internal.jline.console.history.History
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.jline.console.history.MemoryHistory
super_class: java.lang.Object
{
public static final int DEFAULT_MAX_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 500
private final java.util.LinkedList<java.lang.CharSequence> items;
descriptor: Ljava/util/LinkedList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/LinkedList<Ljava/lang/CharSequence;>;
private int maxSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean ignoreDuplicates;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean autoTrim;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int offset;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
2: aload 0
sipush 500
putfield jdk.internal.jline.console.history.MemoryHistory.maxSize:I
3: aload 0
iconst_1
putfield jdk.internal.jline.console.history.MemoryHistory.ignoreDuplicates:Z
4: aload 0
iconst_0
putfield jdk.internal.jline.console.history.MemoryHistory.autoTrim:Z
5: aload 0
iconst_0
putfield jdk.internal.jline.console.history.MemoryHistory.offset:I
6: aload 0
iconst_0
putfield jdk.internal.jline.console.history.MemoryHistory.index:I
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/jline/console/history/MemoryHistory;
public void setMaxSize(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
iload 1
putfield jdk.internal.jline.console.history.MemoryHistory.maxSize:I
1: aload 0
invokevirtual jdk.internal.jline.console.history.MemoryHistory.maybeResize:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jline/console/history/MemoryHistory;
0 3 1 maxSize I
MethodParameters:
Name Flags
maxSize final
public int getMaxSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.maxSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory;
public boolean isIgnoreDuplicates();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.ignoreDuplicates:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory;
public void setIgnoreDuplicates(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.jline.console.history.MemoryHistory.ignoreDuplicates:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/jline/console/history/MemoryHistory;
0 2 1 flag Z
MethodParameters:
Name Flags
flag final
public boolean isAutoTrim();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.autoTrim:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory;
public void setAutoTrim(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.jline.console.history.MemoryHistory.autoTrim:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/jline/console/history/MemoryHistory;
0 2 1 flag Z
MethodParameters:
Name Flags
flag final
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory;
public int index();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.offset:I
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.index:I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory;
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.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.clear:()V
1: aload 0
iconst_0
putfield jdk.internal.jline.console.history.MemoryHistory.offset:I
2: aload 0
iconst_0
putfield jdk.internal.jline.console.history.MemoryHistory.index:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jline/console/history/MemoryHistory;
public java.lang.CharSequence get(int);
descriptor: (I)Ljava/lang/CharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
iload 1
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.offset:I
isub
invokevirtual java.util.LinkedList.get:(I)Ljava/lang/Object;
checkcast java.lang.CharSequence
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory;
0 1 1 index I
MethodParameters:
Name Flags
index final
public void set(int, java.lang.CharSequence);
descriptor: (ILjava/lang/CharSequence;)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
getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
iload 1
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.offset:I
isub
aload 2
invokevirtual java.util.LinkedList.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/jline/console/history/MemoryHistory;
0 2 1 index I
0 2 2 item Ljava/lang/CharSequence;
MethodParameters:
Name Flags
index
item
public void add(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.internal.jline.internal.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual jdk.internal.jline.console.history.MemoryHistory.isAutoTrim:()Z
ifeq 3
2: aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.jline.console.history.MemoryHistory.isIgnoreDuplicates:()Z
ifeq 6
4: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.isEmpty:()Z
ifne 6
aload 1
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.getLast:()Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.jline.console.history.MemoryHistory.internalAdd:(Ljava/lang/CharSequence;)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/jline/console/history/MemoryHistory;
0 8 1 item Ljava/lang/CharSequence;
MethodParameters:
Name Flags
item
public java.lang.CharSequence remove(int);
descriptor: (I)Ljava/lang/CharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
iload 1
invokevirtual java.util.LinkedList.remove:(I)Ljava/lang/Object;
checkcast java.lang.CharSequence
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory;
0 1 1 i I
MethodParameters:
Name Flags
i
public java.lang.CharSequence removeFirst();
descriptor: ()Ljava/lang/CharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.removeFirst:()Ljava/lang/Object;
checkcast java.lang.CharSequence
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory;
public java.lang.CharSequence removeLast();
descriptor: ()Ljava/lang/CharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.removeLast:()Ljava/lang/Object;
checkcast java.lang.CharSequence
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory;
protected void internalAdd(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
aload 1
invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
pop
1: aload 0
invokevirtual jdk.internal.jline.console.history.MemoryHistory.maybeResize:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jline/console/history/MemoryHistory;
0 3 1 item Ljava/lang/CharSequence;
MethodParameters:
Name Flags
item
public void replace(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.removeLast:()Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual jdk.internal.jline.console.history.MemoryHistory.add:(Ljava/lang/CharSequence;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jline/console/history/MemoryHistory;
0 3 1 item Ljava/lang/CharSequence;
MethodParameters:
Name Flags
item final
private void maybeResize();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: goto 3
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.removeFirst:()Ljava/lang/Object;
pop
2: aload 0
dup
getfield jdk.internal.jline.console.history.MemoryHistory.offset:I
iconst_1
iadd
putfield jdk.internal.jline.console.history.MemoryHistory.offset:I
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.jline.console.history.MemoryHistory.size:()I
aload 0
invokevirtual jdk.internal.jline.console.history.MemoryHistory.getMaxSize:()I
if_icmpgt 1
4: aload 0
aload 0
invokevirtual jdk.internal.jline.console.history.MemoryHistory.size:()I
putfield jdk.internal.jline.console.history.MemoryHistory.index:I
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/jline/console/history/MemoryHistory;
public java.util.ListIterator<jdk.internal.jline.console.history.History$Entry> entries(int);
descriptor: (I)Ljava/util/ListIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new jdk.internal.jline.console.history.MemoryHistory$EntriesIterator
dup
aload 0
iload 1
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.offset:I
isub
invokespecial jdk.internal.jline.console.history.MemoryHistory$EntriesIterator.<init>:(Ljdk/internal/jline/console/history/MemoryHistory;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory;
0 1 1 index I
Signature: (I)Ljava/util/ListIterator<Ljdk/internal/jline/console/history/History$Entry;>;
MethodParameters:
Name Flags
index final
public java.util.ListIterator<jdk.internal.jline.console.history.History$Entry> entries();
descriptor: ()Ljava/util/ListIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.offset:I
invokevirtual jdk.internal.jline.console.history.MemoryHistory.entries:(I)Ljava/util/ListIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory;
Signature: ()Ljava/util/ListIterator<Ljdk/internal/jline/console/history/History$Entry;>;
public java.util.Iterator<jdk.internal.jline.console.history.History$Entry> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.jline.console.history.MemoryHistory.entries:()Ljava/util/ListIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jline/console/history/MemoryHistory;
Signature: ()Ljava/util/Iterator<Ljdk/internal/jline/console/history/History$Entry;>;
public boolean moveToLast();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.jline.console.history.MemoryHistory.size:()I
iconst_1
isub
istore 1
start local 1 1: iload 1
iflt 4
iload 1
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.index:I
if_icmpeq 4
2: aload 0
aload 0
invokevirtual jdk.internal.jline.console.history.MemoryHistory.size:()I
iconst_1
isub
putfield jdk.internal.jline.console.history.MemoryHistory.index:I
3: iconst_1
ireturn
4: StackMap locals: int
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/jline/console/history/MemoryHistory;
1 5 1 lastEntry I
public boolean moveTo(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.offset:I
isub
istore 1
1: iload 1
iflt 4
iload 1
aload 0
invokevirtual jdk.internal.jline.console.history.MemoryHistory.size:()I
if_icmpge 4
2: aload 0
iload 1
putfield jdk.internal.jline.console.history.MemoryHistory.index:I
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/jline/console/history/MemoryHistory;
0 5 1 index I
MethodParameters:
Name Flags
index
public boolean moveToFirst();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.jline.console.history.MemoryHistory.size:()I
ifle 3
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.index:I
ifeq 3
1: aload 0
iconst_0
putfield jdk.internal.jline.console.history.MemoryHistory.index:I
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jline/console/history/MemoryHistory;
public void moveToEnd();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual jdk.internal.jline.console.history.MemoryHistory.size:()I
putfield jdk.internal.jline.console.history.MemoryHistory.index:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/jline/console/history/MemoryHistory;
public java.lang.CharSequence current();
descriptor: ()Ljava/lang/CharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.index:I
aload 0
invokevirtual jdk.internal.jline.console.history.MemoryHistory.size:()I
if_icmplt 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.items:Ljava/util/LinkedList;
aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.index:I
invokevirtual java.util.LinkedList.get:(I)Ljava/lang/Object;
checkcast java.lang.CharSequence
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jline/console/history/MemoryHistory;
public boolean previous();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.index:I
ifgt 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield jdk.internal.jline.console.history.MemoryHistory.index:I
iconst_1
isub
putfield jdk.internal.jline.console.history.MemoryHistory.index:I
3: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jline/console/history/MemoryHistory;
public boolean next();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jline.console.history.MemoryHistory.index:I
aload 0
invokevirtual jdk.internal.jline.console.history.MemoryHistory.size:()I
if_icmplt 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield jdk.internal.jline.console.history.MemoryHistory.index:I
iconst_1
iadd
putfield jdk.internal.jline.console.history.MemoryHistory.index:I
3: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jline/console/history/MemoryHistory;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual jdk.internal.jline.console.history.MemoryHistory.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: jdk.internal.jline.console.history.MemoryHistory java.lang.StringBuilder top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.jline.console.history.History$Entry
astore 2
start local 2 3: aload 1
new java.lang.StringBuilder
dup
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/jline/console/history/MemoryHistory;
1 6 1 sb Ljava/lang/StringBuilder;
3 4 2 e Ljdk/internal/jline/console/history/History$Entry;
}
SourceFile: "MemoryHistory.java"
NestMembers:
jdk.internal.jline.console.history.MemoryHistory$EntriesIterator jdk.internal.jline.console.history.MemoryHistory$EntryImpl
InnerClasses:
public abstract Entry = jdk.internal.jline.console.history.History$Entry of jdk.internal.jline.console.history.History
private EntriesIterator = jdk.internal.jline.console.history.MemoryHistory$EntriesIterator of jdk.internal.jline.console.history.MemoryHistory
private EntryImpl = jdk.internal.jline.console.history.MemoryHistory$EntryImpl of jdk.internal.jline.console.history.MemoryHistory