public class org.antlr.v4.runtime.dfa.DFASerializer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.antlr.v4.runtime.dfa.DFASerializer
super_class: java.lang.Object
{
private final org.antlr.v4.runtime.dfa.DFA dfa;
descriptor: Lorg/antlr/v4/runtime/dfa/DFA;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.antlr.v4.runtime.Vocabulary vocabulary;
descriptor: Lorg/antlr/v4/runtime/Vocabulary;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.antlr.v4.runtime.dfa.DFA, java.lang.String[]);
descriptor: (Lorg/antlr/v4/runtime/dfa/DFA;[Ljava/lang/String;)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
aload 1
aload 2
invokestatic org.antlr.v4.runtime.VocabularyImpl.fromTokenNames:([Ljava/lang/String;)Lorg/antlr/v4/runtime/Vocabulary;
invokespecial org.antlr.v4.runtime.dfa.DFASerializer.<init>:(Lorg/antlr/v4/runtime/dfa/DFA;Lorg/antlr/v4/runtime/Vocabulary;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/runtime/dfa/DFASerializer;
0 2 1 dfa Lorg/antlr/v4/runtime/dfa/DFA;
0 2 2 tokenNames [Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
dfa
tokenNames
public void <init>(org.antlr.v4.runtime.dfa.DFA, org.antlr.v4.runtime.Vocabulary);
descriptor: (Lorg/antlr/v4/runtime/dfa/DFA;Lorg/antlr/v4/runtime/Vocabulary;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.antlr.v4.runtime.dfa.DFASerializer.dfa:Lorg/antlr/v4/runtime/dfa/DFA;
2: aload 0
aload 2
putfield org.antlr.v4.runtime.dfa.DFASerializer.vocabulary:Lorg/antlr/v4/runtime/Vocabulary;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/antlr/v4/runtime/dfa/DFASerializer;
0 4 1 dfa Lorg/antlr/v4/runtime/dfa/DFA;
0 4 2 vocabulary Lorg/antlr/v4/runtime/Vocabulary;
MethodParameters:
Name Flags
dfa
vocabulary
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.runtime.dfa.DFASerializer.dfa:Lorg/antlr/v4/runtime/dfa/DFA;
getfield org.antlr.v4.runtime.dfa.DFA.s0:Lorg/antlr/v4/runtime/dfa/DFAState;
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 2: aload 0
getfield org.antlr.v4.runtime.dfa.DFASerializer.dfa:Lorg/antlr/v4/runtime/dfa/DFA;
invokevirtual org.antlr.v4.runtime.dfa.DFA.getStates:()Ljava/util/List;
astore 2
start local 2 3: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 16
StackMap locals: org.antlr.v4.runtime.dfa.DFASerializer java.lang.StringBuilder java.util.List top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.antlr.v4.runtime.dfa.DFAState
astore 3
start local 3 5: iconst_0
istore 5
start local 5 6: aload 3
getfield org.antlr.v4.runtime.dfa.DFAState.edges:[Lorg/antlr/v4/runtime/dfa/DFAState;
ifnull 7
aload 3
getfield org.antlr.v4.runtime.dfa.DFAState.edges:[Lorg/antlr/v4/runtime/dfa/DFAState;
arraylength
istore 5
7: StackMap locals: org.antlr.v4.runtime.dfa.DFASerializer java.lang.StringBuilder java.util.List org.antlr.v4.runtime.dfa.DFAState java.util.Iterator int
StackMap stack:
iconst_0
istore 6
start local 6 8: goto 15
9: StackMap locals: int
StackMap stack:
aload 3
getfield org.antlr.v4.runtime.dfa.DFAState.edges:[Lorg/antlr/v4/runtime/dfa/DFAState;
iload 6
aaload
astore 7
start local 7 10: aload 7
ifnull 14
aload 7
getfield org.antlr.v4.runtime.dfa.DFAState.stateNumber:I
ldc 2147483647
if_icmpeq 14
11: aload 1
aload 0
aload 3
invokevirtual org.antlr.v4.runtime.dfa.DFASerializer.getStateString:(Lorg/antlr/v4/runtime/dfa/DFAState;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 0
iload 6
invokevirtual org.antlr.v4.runtime.dfa.DFASerializer.getEdgeLabel:(I)Ljava/lang/String;
astore 8
start local 8 13: aload 1
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "->"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
aload 7
invokevirtual org.antlr.v4.runtime.dfa.DFASerializer.getStateString:(Lorg/antlr/v4/runtime/dfa/DFAState;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 8 end local 7 14: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
15: iload 6
iload 5
if_icmplt 9
end local 6 end local 5 end local 3 16: StackMap locals: org.antlr.v4.runtime.dfa.DFASerializer java.lang.StringBuilder java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
17: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 18: aload 3
invokevirtual java.lang.String.length:()I
ifne 19
aconst_null
areturn
19: StackMap locals: org.antlr.v4.runtime.dfa.DFASerializer java.lang.StringBuilder java.util.List java.lang.String
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/antlr/v4/runtime/dfa/DFASerializer;
2 20 1 buf Ljava/lang/StringBuilder;
3 20 2 states Ljava/util/List<Lorg/antlr/v4/runtime/dfa/DFAState;>;
5 16 3 s Lorg/antlr/v4/runtime/dfa/DFAState;
6 16 5 n I
8 16 6 i I
10 14 7 t Lorg/antlr/v4/runtime/dfa/DFAState;
13 14 8 label Ljava/lang/String;
18 20 3 output Ljava/lang/String;
protected java.lang.String getEdgeLabel(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.antlr.v4.runtime.dfa.DFASerializer.vocabulary:Lorg/antlr/v4/runtime/Vocabulary;
iload 1
iconst_1
isub
invokeinterface org.antlr.v4.runtime.Vocabulary.getDisplayName:(I)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/runtime/dfa/DFASerializer;
0 1 1 i I
MethodParameters:
Name Flags
i
protected java.lang.String getStateString(org.antlr.v4.runtime.dfa.DFAState);
descriptor: (Lorg/antlr/v4/runtime/dfa/DFAState;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getfield org.antlr.v4.runtime.dfa.DFAState.stateNumber:I
istore 2
start local 2 1: new java.lang.StringBuilder
dup
aload 1
getfield org.antlr.v4.runtime.dfa.DFAState.isAcceptState:Z
ifeq 2
ldc ":"
goto 3
StackMap locals: org.antlr.v4.runtime.dfa.DFASerializer org.antlr.v4.runtime.dfa.DFAState int
StackMap stack: new 1 new 1
2: ldc ""
StackMap locals: org.antlr.v4.runtime.dfa.DFASerializer org.antlr.v4.runtime.dfa.DFAState int
StackMap stack: new 1 new 1 java.lang.String
3: invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "s"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
aload 1
getfield org.antlr.v4.runtime.dfa.DFAState.requiresFullContext:Z
ifeq 4
ldc "^"
goto 5
StackMap locals:
StackMap stack: java.lang.StringBuilder
4: ldc ""
StackMap locals: org.antlr.v4.runtime.dfa.DFASerializer org.antlr.v4.runtime.dfa.DFAState int
StackMap stack: java.lang.StringBuilder java.lang.String
5: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 6: aload 1
getfield org.antlr.v4.runtime.dfa.DFAState.isAcceptState:Z
ifeq 10
7: aload 1
getfield org.antlr.v4.runtime.dfa.DFAState.predicates:[Lorg/antlr/v4/runtime/dfa/DFAState$PredPrediction;
ifnull 9
8: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "=>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
getfield org.antlr.v4.runtime.dfa.DFAState.predicates:[Lorg/antlr/v4/runtime/dfa/DFAState$PredPrediction;
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
9: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "=>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
getfield org.antlr.v4.runtime.dfa.DFAState.prediction:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
10: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/antlr/v4/runtime/dfa/DFASerializer;
0 11 1 s Lorg/antlr/v4/runtime/dfa/DFAState;
1 11 2 n I
6 11 3 baseStateStr Ljava/lang/String;
MethodParameters:
Name Flags
s
}
SourceFile: "DFASerializer.java"