class jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker
super_class: java.lang.Object
{
private int missingOpeningBracket;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.List<java.lang.Integer> nested;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/Integer;>;
private int openBrackets;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int cursor;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String nextClosingBracket;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
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>(jdk.internal.org.jline.reader.impl.DefaultParser, int);
descriptor: (Ljdk/internal/org/jline/reader/impl/DefaultParser;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.this$0:Ljdk/internal/org/jline/reader/impl/DefaultParser;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.missingOpeningBracket:I
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.nested:Ljava/util/List;
3: aload 0
iconst_0
putfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.openBrackets:I
4: aload 0
iload 2
putfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.cursor:I
5: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$BracketChecker;
0 6 2 cursor I
MethodParameters:
Name Flags
this$0 final
cursor
public void check(java.lang.CharSequence, int);
descriptor: (Ljava/lang/CharSequence;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.this$0:Ljdk/internal/org/jline/reader/impl/DefaultParser;
getfield jdk.internal.org.jline.reader.impl.DefaultParser.openingBrackets:[C
ifnull 1
iload 2
ifge 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.this$0:Ljdk/internal/org/jline/reader/impl/DefaultParser;
getfield jdk.internal.org.jline.reader.impl.DefaultParser.openingBrackets:[C
aload 1
iload 2
invokevirtual jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.bracketId:([CLjava/lang/CharSequence;I)I
istore 3
start local 3 3: iload 3
iflt 6
4: aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.nested:Ljava/util/List;
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: goto 12
6: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.this$0:Ljdk/internal/org/jline/reader/impl/DefaultParser;
getfield jdk.internal.org.jline.reader.impl.DefaultParser.closingBrackets:[C
aload 1
iload 2
invokevirtual jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.bracketId:([CLjava/lang/CharSequence;I)I
istore 3
7: iload 3
iflt 12
8: aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.nested:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 11
iload 3
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.nested:Ljava/util/List;
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.nested:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
if_icmpne 11
9: aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.nested:Ljava/util/List;
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.nested:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.missingOpeningBracket:I
12: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.cursor:I
iload 2
if_icmple 16
13: aload 0
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.nested:Ljava/util/List;
invokeinterface java.util.List.size:()I
putfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.openBrackets:I
14: aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.nested:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifle 16
15: aload 0
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.this$0:Ljdk/internal/org/jline/reader/impl/DefaultParser;
getfield jdk.internal.org.jline.reader.impl.DefaultParser.closingBrackets:[C
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.nested:Ljava/util/List;
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.nested:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
caload
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
putfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.nextClosingBracket:Ljava/lang/String;
16: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$BracketChecker;
0 17 1 buffer Ljava/lang/CharSequence;
0 17 2 pos I
3 17 3 bid I
MethodParameters:
Name Flags
buffer final
pos final
public boolean isOpeningBracketMissing();
descriptor: ()Z
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$BracketChecker.missingOpeningBracket:I
iconst_m1
if_icmpeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$BracketChecker;
public java.lang.String getMissingOpeningBracket();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.isOpeningBracketMissing:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.this$0:Ljdk/internal/org/jline/reader/impl/DefaultParser;
getfield jdk.internal.org.jline.reader.impl.DefaultParser.openingBrackets:[C
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.missingOpeningBracket:I
caload
invokestatic java.lang.Character.toString:(C)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$BracketChecker;
public boolean isClosingBracketMissing();
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.DefaultParser$BracketChecker.nested:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$BracketChecker;
public java.lang.String getMissingClosingBrackets();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.isClosingBracketMissing:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 3: aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.nested:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
istore 2
start local 2 4: goto 7
5: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 1
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.this$0:Ljdk/internal/org/jline/reader/impl/DefaultParser;
getfield jdk.internal.org.jline.reader.impl.DefaultParser.closingBrackets:[C
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.nested:Ljava/util/List;
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
caload
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: iinc 2 -1
StackMap locals:
StackMap stack:
7: iload 2
iconst_m1
if_icmpgt 5
end local 2 8: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$BracketChecker;
3 9 1 out Ljava/lang/StringBuilder;
4 8 2 i I
public int getOpenBrackets();
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$BracketChecker.openBrackets:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$BracketChecker;
public java.lang.String getNextClosingBracket();
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$BracketChecker.nested:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_2
if_icmpne 1
aload 0
getfield jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker.nextClosingBracket:Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$BracketChecker;
private int bracketId(char[], java.lang.CharSequence, int);
descriptor: ([CLjava/lang/CharSequence;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 2
iload 3
invokeinterface java.lang.CharSequence.charAt:(I)C
aload 1
iload 4
caload
if_icmpne 4
3: iload 4
ireturn
4: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
aload 1
arraylength
if_icmplt 2
end local 4 6: iconst_m1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/org/jline/reader/impl/DefaultParser$BracketChecker;
0 7 1 brackets [C
0 7 2 buffer Ljava/lang/CharSequence;
0 7 3 pos I
1 6 4 i I
MethodParameters:
Name Flags
brackets final
buffer final
pos final
}
SourceFile: "DefaultParser.java"
NestHost: jdk.internal.org.jline.reader.impl.DefaultParser
InnerClasses:
private BracketChecker = jdk.internal.org.jline.reader.impl.DefaultParser$BracketChecker of jdk.internal.org.jline.reader.impl.DefaultParser