public class org.antlr.v4.tool.ANTLRMessage
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.antlr.v4.tool.ANTLRMessage
super_class: java.lang.Object
{
private static final java.lang.Object[] EMPTY_ARGS;
descriptor: [Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.antlr.v4.tool.ErrorType errorType;
descriptor: Lorg/antlr/v4/tool/ErrorType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object[] args;
descriptor: [Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Throwable e;
descriptor: Ljava/lang/Throwable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public java.lang.String fileName;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
public int line;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int charPosition;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public org.antlr.v4.tool.Grammar g;
descriptor: Lorg/antlr/v4/tool/Grammar;
flags: (0x0001) ACC_PUBLIC
public org.antlr.runtime.Token offendingToken;
descriptor: Lorg/antlr/runtime/Token;
flags: (0x0001) ACC_PUBLIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray java.lang.Object
putstatic org.antlr.v4.tool.ANTLRMessage.EMPTY_ARGS:[Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.antlr.v4.tool.ErrorType);
descriptor: (Lorg/antlr/v4/tool/ErrorType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
getstatic org.antlr.runtime.Token.INVALID_TOKEN:Lorg/antlr/runtime/Token;
iconst_0
anewarray java.lang.Object
invokespecial org.antlr.v4.tool.ANTLRMessage.<init>:(Lorg/antlr/v4/tool/ErrorType;Ljava/lang/Throwable;Lorg/antlr/runtime/Token;[Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/ANTLRMessage;
0 2 1 errorType Lorg/antlr/v4/tool/ErrorType;
MethodParameters:
Name Flags
errorType
public void <init>(org.antlr.v4.tool.ErrorType, org.antlr.runtime.Token, java.lang.Object[]);
descriptor: (Lorg/antlr/v4/tool/ErrorType;Lorg/antlr/runtime/Token;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aconst_null
aload 2
aload 3
invokespecial org.antlr.v4.tool.ANTLRMessage.<init>:(Lorg/antlr/v4/tool/ErrorType;Ljava/lang/Throwable;Lorg/antlr/runtime/Token;[Ljava/lang/Object;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/antlr/v4/tool/ANTLRMessage;
0 2 1 errorType Lorg/antlr/v4/tool/ErrorType;
0 2 2 offendingToken Lorg/antlr/runtime/Token;
0 2 3 args [Ljava/lang/Object;
MethodParameters:
Name Flags
errorType
offendingToken
args
public void <init>(org.antlr.v4.tool.ErrorType, java.lang.Throwable, org.antlr.runtime.Token, java.lang.Object[]);
descriptor: (Lorg/antlr/v4/tool/ErrorType;Ljava/lang/Throwable;Lorg/antlr/runtime/Token;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield org.antlr.v4.tool.ANTLRMessage.line:I
2: aload 0
iconst_m1
putfield org.antlr.v4.tool.ANTLRMessage.charPosition:I
3: aload 0
aload 1
putfield org.antlr.v4.tool.ANTLRMessage.errorType:Lorg/antlr/v4/tool/ErrorType;
4: aload 0
aload 2
putfield org.antlr.v4.tool.ANTLRMessage.e:Ljava/lang/Throwable;
5: aload 0
aload 4
putfield org.antlr.v4.tool.ANTLRMessage.args:[Ljava/lang/Object;
6: aload 0
aload 3
putfield org.antlr.v4.tool.ANTLRMessage.offendingToken:Lorg/antlr/runtime/Token;
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/antlr/v4/tool/ANTLRMessage;
0 8 1 errorType Lorg/antlr/v4/tool/ErrorType;
0 8 2 e Ljava/lang/Throwable;
0 8 3 offendingToken Lorg/antlr/runtime/Token;
0 8 4 args [Ljava/lang/Object;
MethodParameters:
Name Flags
errorType
e
offendingToken
args
public org.antlr.v4.tool.ErrorType getErrorType();
descriptor: ()Lorg/antlr/v4/tool/ErrorType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.ANTLRMessage.errorType:Lorg/antlr/v4/tool/ErrorType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/ANTLRMessage;
public java.lang.Object[] getArgs();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.ANTLRMessage.args:[Ljava/lang/Object;
ifnonnull 2
1: getstatic org.antlr.v4.tool.ANTLRMessage.EMPTY_ARGS:[Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.antlr.v4.tool.ANTLRMessage.args:[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/antlr/v4/tool/ANTLRMessage;
public org.stringtemplate.v4.ST getMessageTemplate(boolean);
descriptor: (Z)Lorg/stringtemplate/v4/ST;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: new org.stringtemplate.v4.ST
dup
aload 0
invokevirtual org.antlr.v4.tool.ANTLRMessage.getErrorType:()Lorg/antlr/v4/tool/ErrorType;
getfield org.antlr.v4.tool.ErrorType.msg:Ljava/lang/String;
invokespecial org.stringtemplate.v4.ST.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 2
getfield org.stringtemplate.v4.ST.impl:Lorg/stringtemplate/v4/compiler/CompiledST;
aload 0
getfield org.antlr.v4.tool.ANTLRMessage.errorType:Lorg/antlr/v4/tool/ErrorType;
invokevirtual org.antlr.v4.tool.ErrorType.name:()Ljava/lang/String;
putfield org.stringtemplate.v4.compiler.CompiledST.name:Ljava/lang/String;
2: aload 2
ldc "verbose"
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.stringtemplate.v4.ST.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/stringtemplate/v4/ST;
pop
3: aload 0
invokevirtual org.antlr.v4.tool.ANTLRMessage.getArgs:()[Ljava/lang/Object;
astore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 10
6: StackMap locals: org.stringtemplate.v4.ST java.lang.Object[] int
StackMap stack:
ldc "arg"
astore 5
start local 5 7: iload 4
ifle 8
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
iconst_1
iadd
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
8: StackMap locals: java.lang.String
StackMap stack:
aload 2
aload 5
aload 3
iload 4
aaload
invokevirtual org.stringtemplate.v4.ST.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/stringtemplate/v4/ST;
pop
end local 5 9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
aload 3
arraylength
if_icmplt 6
end local 4 11: aload 3
arraylength
iconst_2
if_icmpge 12
aload 2
ldc "arg2"
aconst_null
invokevirtual org.stringtemplate.v4.ST.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/stringtemplate/v4/ST;
pop
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.antlr.v4.tool.ANTLRMessage.getCause:()Ljava/lang/Throwable;
astore 4
start local 4 13: aload 4
ifnull 17
14: aload 2
ldc "exception"
aload 4
invokevirtual org.stringtemplate.v4.ST.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/stringtemplate/v4/ST;
pop
15: aload 2
ldc "stackTrace"
aload 4
invokevirtual java.lang.Throwable.getStackTrace:()[Ljava/lang/StackTraceElement;
invokevirtual org.stringtemplate.v4.ST.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/stringtemplate/v4/ST;
pop
16: goto 19
17: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
ldc "exception"
aconst_null
invokevirtual org.stringtemplate.v4.ST.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/stringtemplate/v4/ST;
pop
18: aload 2
ldc "stackTrace"
aconst_null
invokevirtual org.stringtemplate.v4.ST.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/stringtemplate/v4/ST;
pop
19: StackMap locals:
StackMap stack:
aload 2
areturn
end local 4 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/tool/ANTLRMessage;
0 20 1 verbose Z
1 20 2 messageST Lorg/stringtemplate/v4/ST;
4 20 3 args [Ljava/lang/Object;
5 11 4 i I
7 9 5 attr Ljava/lang/String;
13 20 4 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
verbose
public java.lang.Throwable getCause();
descriptor: ()Ljava/lang/Throwable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.antlr.v4.tool.ANTLRMessage.e:Ljava/lang/Throwable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/antlr/v4/tool/ANTLRMessage;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Message{errorType="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
invokevirtual org.antlr.v4.tool.ANTLRMessage.getErrorType:()Lorg/antlr/v4/tool/ErrorType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: ldc ", args="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.antlr.v4.tool.ANTLRMessage.getArgs:()[Ljava/lang/Object;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: ldc ", e="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.antlr.v4.tool.ANTLRMessage.getCause:()Ljava/lang/Throwable;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: ldc ", fileName='"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.antlr.v4.tool.ANTLRMessage.fileName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
5: ldc ", line="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.antlr.v4.tool.ANTLRMessage.line:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
6: ldc ", charPosition="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.antlr.v4.tool.ANTLRMessage.charPosition:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
7: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/antlr/v4/tool/ANTLRMessage;
}
SourceFile: "ANTLRMessage.java"