public class jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList implements jdk.internal.org.jline.reader.ParsedLine, jdk.internal.org.jline.reader.CompletingParsedLine
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList
super_class: java.lang.Object
{
private final java.lang.String line;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<java.lang.String> words;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private final int wordIndex;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int wordCursor;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int cursor;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String openingQuote;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int rawWordCursor;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int rawWordLength;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final jdk.internal.org.jline.reader.impl.DefaultParser this$0;
descriptor: Ljdk/internal/org/jline/reader/impl/DefaultParser;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(java.lang.String, java.util.List<java.lang.String>, int, int, );
descriptor: (Ljdk/internal/org/jline/reader/impl/DefaultParser;Ljava/lang/String;Ljava/util/List;III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=7, args_size=7
start local 0 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
aload 3
iload 4
iload 5
iload 6
1: aconst_null
iload 5
aload 3
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.length:()I
invokespecial jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.<init>:(Ljdk/internal/org/jline/reader/impl/DefaultParser;Ljava/lang/String;Ljava/util/List;IIILjava/lang/String;II)V
2: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList;
0 3 2 line Ljava/lang/String;
0 3 3 words Ljava/util/List<Ljava/lang/String;>;
0 3 4 wordIndex I
0 3 5 wordCursor I
0 3 6 cursor I
Signature: (Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;III)V
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
this$0 final
line final
words final
wordIndex final
wordCursor final
cursor final
public void <init>(java.lang.String, java.util.List<java.lang.String>, int, int, int, java.lang.String, int, );
descriptor: (Ljdk/internal/org/jline/reader/impl/DefaultParser;Ljava/lang/String;Ljava/util/List;IIILjava/lang/String;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=10, args_size=10
start local 0 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: aload 0
aload 1
putfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.this$0:Ljdk/internal/org/jline/reader/impl/DefaultParser;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
aload 2
putfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.line:Ljava/lang/String;
3: aload 0
aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.words:Ljava/util/List;
4: aload 0
iload 4
putfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.wordIndex:I
5: aload 0
iload 5
putfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.wordCursor:I
6: aload 0
iload 6
putfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.cursor:I
7: aload 0
aload 7
putfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.openingQuote:Ljava/lang/String;
8: aload 0
iload 8
putfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.rawWordCursor:I
9: aload 0
iload 9
putfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.rawWordLength:I
10: return
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList;
0 11 2 line Ljava/lang/String;
0 11 3 words Ljava/util/List<Ljava/lang/String;>;
0 11 4 wordIndex I
0 11 5 wordCursor I
0 11 6 cursor I
0 11 7 openingQuote Ljava/lang/String;
0 11 8 rawWordCursor I
0 11 9 rawWordLength I
Signature: (Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;IIILjava/lang/String;II)V
MethodParameters:
Name Flags
this$0 final
line final
words final
wordIndex final
wordCursor final
cursor final
openingQuote final
rawWordCursor final
rawWordLength final
public int wordIndex();
descriptor: ()I
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.DefaultParser$ArgumentList.wordIndex:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList;
public java.lang.String word();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.wordIndex:I
iflt 1
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.wordIndex:I
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.words:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 2
1: StackMap locals:
StackMap stack:
ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.words:Ljava/util/List;
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.wordIndex:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList;
public int wordCursor();
descriptor: ()I
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.DefaultParser$ArgumentList.wordCursor:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList;
public java.util.List<java.lang.String> words();
descriptor: ()Ljava/util/List;
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.DefaultParser$ArgumentList.words:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public int cursor();
descriptor: ()I
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.DefaultParser$ArgumentList.cursor:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList;
public java.lang.String line();
descriptor: ()Ljava/lang/String;
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.DefaultParser$ArgumentList.line:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList;
public java.lang.CharSequence escape(java.lang.CharSequence, boolean);
descriptor: (Ljava/lang/CharSequence;Z)Ljava/lang/CharSequence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
aload 1
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/CharSequence;)V
astore 3
start local 3 1: aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.openingQuote:Ljava/lang/String;
astore 5
start local 5 2: iconst_0
istore 6
start local 6 3: aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.openingQuote:Ljava/lang/String;
ifnonnull 11
4: iconst_0
istore 7
start local 7 5: goto 10
6: StackMap locals: jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList java.lang.CharSequence int java.lang.StringBuilder top java.lang.String int int
StackMap stack:
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.this$0:Ljdk/internal/org/jline/reader/impl/DefaultParser;
aload 3
iload 7
invokevirtual jdk.internal.org.jline.reader.impl.DefaultParser.isQuoteChar:(Ljava/lang/CharSequence;I)Z
ifeq 9
7: iconst_1
istore 6
8: goto 11
9: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
10: iload 7
aload 3
invokevirtual java.lang.StringBuilder.length:()I
if_icmplt 6
end local 7 11: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.this$0:Ljdk/internal/org/jline/reader/impl/DefaultParser;
getfield jdk.internal.org.jline.reader.impl.DefaultParser.escapeChars:[C
ifnull 26
12: aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.openingQuote:Ljava/lang/String;
ifnull 15
13: aload 0
aload 3
invokedynamic test(Ljdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList;Ljava/lang/StringBuilder;)Ljava/util/function/Predicate;
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;)Z
jdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList.lambda$0(Ljava/lang/StringBuilder;Ljava/lang/Integer;)Z (7)
(Ljava/lang/Integer;)Z
astore 4
start local 4 14: goto 19
end local 4 15: StackMap locals:
StackMap stack:
iload 6
ifeq 18
16: aload 0
aload 3
invokedynamic test(Ljdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList;Ljava/lang/StringBuilder;)Ljava/util/function/Predicate;
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;)Z
jdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList.lambda$1(Ljava/lang/StringBuilder;Ljava/lang/Integer;)Z (7)
(Ljava/lang/Integer;)Z
astore 4
start local 4 17: goto 19
end local 4 18: StackMap locals:
StackMap stack:
aload 0
aload 3
invokedynamic test(Ljdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList;Ljava/lang/StringBuilder;)Ljava/util/function/Predicate;
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;)Z
jdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList.lambda$2(Ljava/lang/StringBuilder;Ljava/lang/Integer;)Z (7)
(Ljava/lang/Integer;)Z
astore 4
start local 4 19: StackMap locals: jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList java.lang.CharSequence int java.lang.StringBuilder java.util.function.Predicate java.lang.String int
StackMap stack:
iconst_0
istore 7
start local 7 20: goto 24
21: StackMap locals: int
StackMap stack:
aload 4
iload 7
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.function.Predicate.test:(Ljava/lang/Object;)Z
ifeq 23
22: aload 3
iload 7
iinc 7 1
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.this$0:Ljdk/internal/org/jline/reader/impl/DefaultParser;
getfield jdk.internal.org.jline.reader.impl.DefaultParser.escapeChars:[C
iconst_0
caload
invokevirtual java.lang.StringBuilder.insert:(IC)Ljava/lang/StringBuilder;
pop
23: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
24: iload 7
aload 3
invokevirtual java.lang.StringBuilder.length:()I
if_icmplt 21
end local 7 25: goto 34
end local 4 StackMap locals: jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList java.lang.CharSequence int java.lang.StringBuilder top java.lang.String int
StackMap stack:
26: aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.openingQuote:Ljava/lang/String;
ifnonnull 34
iload 6
ifne 34
27: iconst_0
istore 7
start local 7 28: goto 33
29: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.this$0:Ljdk/internal/org/jline/reader/impl/DefaultParser;
aload 3
iload 7
invokevirtual jdk.internal.org.jline.reader.impl.DefaultParser.isDelimiterChar:(Ljava/lang/CharSequence;I)Z
ifeq 32
30: ldc "'"
astore 5
31: goto 34
32: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
33: iload 7
aload 3
invokevirtual java.lang.StringBuilder.length:()I
if_icmplt 29
end local 7 34: StackMap locals:
StackMap stack:
aload 5
ifnull 38
35: aload 3
iconst_0
aload 5
invokevirtual java.lang.StringBuilder.insert:(ILjava/lang/String;)Ljava/lang/StringBuilder;
pop
36: iload 2
ifeq 38
37: aload 3
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
38: StackMap locals:
StackMap stack:
aload 3
areturn
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList;
0 39 1 candidate Ljava/lang/CharSequence;
0 39 2 complete Z
1 39 3 sb Ljava/lang/StringBuilder;
14 15 4 needToBeEscaped Ljava/util/function/Predicate<Ljava/lang/Integer;>;
17 18 4 needToBeEscaped Ljava/util/function/Predicate<Ljava/lang/Integer;>;
19 26 4 needToBeEscaped Ljava/util/function/Predicate<Ljava/lang/Integer;>;
2 39 5 quote Ljava/lang/String;
3 39 6 middleQuotes Z
5 11 7 i I
20 25 7 i I
28 34 7 i I
MethodParameters:
Name Flags
candidate
complete
public int rawWordCursor();
descriptor: ()I
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.DefaultParser$ArgumentList.rawWordCursor:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList;
public int rawWordLength();
descriptor: ()I
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.DefaultParser$ArgumentList.rawWordLength:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList;
private boolean lambda$0(java.lang.StringBuilder, java.lang.Integer);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/Integer;)Z
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.this$0:Ljdk/internal/org/jline/reader/impl/DefaultParser;
aload 1
aload 2
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.lang.StringBuilder.charAt:(I)C
invokevirtual jdk.internal.org.jline.reader.impl.DefaultParser.isRawEscapeChar:(C)Z
ifne 1
aload 1
aload 2
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.lang.StringBuilder.charAt:(I)C
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.openingQuote:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList;
0 3 2 i Ljava/lang/Integer;
private boolean lambda$1(java.lang.StringBuilder, java.lang.Integer);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/Integer;)Z
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.this$0:Ljdk/internal/org/jline/reader/impl/DefaultParser;
aload 1
aload 2
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.lang.StringBuilder.charAt:(I)C
invokevirtual jdk.internal.org.jline.reader.impl.DefaultParser.isRawEscapeChar:(C)Z
ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList;
0 1 2 i Ljava/lang/Integer;
private boolean lambda$2(java.lang.StringBuilder, java.lang.Integer);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/Integer;)Z
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.this$0:Ljdk/internal/org/jline/reader/impl/DefaultParser;
aload 1
aload 2
invokevirtual java.lang.Integer.intValue:()I
invokevirtual jdk.internal.org.jline.reader.impl.DefaultParser.isDelimiterChar:(Ljava/lang/CharSequence;I)Z
ifne 1
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.this$0:Ljdk/internal/org/jline/reader/impl/DefaultParser;
aload 1
aload 2
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.lang.StringBuilder.charAt:(I)C
invokevirtual jdk.internal.org.jline.reader.impl.DefaultParser.isRawEscapeChar:(C)Z
ifne 1
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList.this$0:Ljdk/internal/org/jline/reader/impl/DefaultParser;
aload 1
aload 2
invokevirtual java.lang.Integer.intValue:()I
invokevirtual java.lang.StringBuilder.charAt:(I)C
invokevirtual jdk.internal.org.jline.reader.impl.DefaultParser.isRawQuoteChar:(C)Z
ifne 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$ArgumentList;
0 3 2 i Ljava/lang/Integer;
}
SourceFile: "DefaultParser.java"
NestHost: jdk.internal.org.jline.reader.impl.DefaultParser
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public ArgumentList = jdk.internal.org.jline.reader.impl.DefaultParser$ArgumentList of jdk.internal.org.jline.reader.impl.DefaultParser