public class org.stringtemplate.v4.misc.STLexerMessage extends org.stringtemplate.v4.misc.STMessage
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.stringtemplate.v4.misc.STLexerMessage
super_class: org.stringtemplate.v4.misc.STMessage
{
public java.lang.String msg;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
public org.antlr.runtime.Token templateToken;
descriptor: Lorg/antlr/runtime/Token;
flags: (0x0001) ACC_PUBLIC
public java.lang.String srcName;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
public void <init>(java.lang.String, java.lang.String, org.antlr.runtime.Token, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/antlr/runtime/Token;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 // org.stringtemplate.v4.misc.STLexerMessage this
start local 1 // java.lang.String srcName
start local 2 // java.lang.String msg
start local 3 // org.antlr.runtime.Token templateToken
start local 4 // java.lang.Throwable cause
0: .line 43
aload 0 /* this */
getstatic org.stringtemplate.v4.misc.ErrorType.LEXER_ERROR:Lorg/stringtemplate/v4/misc/ErrorType;
aconst_null
aload 4 /* cause */
aconst_null
invokespecial org.stringtemplate.v4.misc.STMessage.<init>:(Lorg/stringtemplate/v4/misc/ErrorType;Lorg/stringtemplate/v4/ST;Ljava/lang/Throwable;Ljava/lang/Object;)V
1: .line 44
aload 0 /* this */
aload 2 /* msg */
putfield org.stringtemplate.v4.misc.STLexerMessage.msg:Ljava/lang/String;
2: .line 45
aload 0 /* this */
aload 3 /* templateToken */
putfield org.stringtemplate.v4.misc.STLexerMessage.templateToken:Lorg/antlr/runtime/Token;
3: .line 46
aload 0 /* this */
aload 1 /* srcName */
putfield org.stringtemplate.v4.misc.STLexerMessage.srcName:Ljava/lang/String;
4: .line 47
return
end local 4 // java.lang.Throwable cause
end local 3 // org.antlr.runtime.Token templateToken
end local 2 // java.lang.String msg
end local 1 // java.lang.String srcName
end local 0 // org.stringtemplate.v4.misc.STLexerMessage this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/stringtemplate/v4/misc/STLexerMessage;
0 5 1 srcName Ljava/lang/String;
0 5 2 msg Ljava/lang/String;
0 5 3 templateToken Lorg/antlr/runtime/Token;
0 5 4 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
srcName
msg
templateToken
cause
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 // org.stringtemplate.v4.misc.STLexerMessage this
0: .line 51
aload 0 /* this */
getfield org.stringtemplate.v4.misc.STLexerMessage.cause:Ljava/lang/Throwable;
checkcast org.antlr.runtime.RecognitionException
astore 1 /* re */
start local 1 // org.antlr.runtime.RecognitionException re
1: .line 52
aload 1 /* re */
getfield org.antlr.runtime.RecognitionException.line:I
istore 2 /* line */
start local 2 // int line
2: .line 53
aload 1 /* re */
getfield org.antlr.runtime.RecognitionException.charPositionInLine:I
istore 3 /* charPos */
start local 3 // int charPos
3: .line 54
aload 0 /* this */
getfield org.stringtemplate.v4.misc.STLexerMessage.templateToken:Lorg/antlr/runtime/Token;
ifnull 9
4: .line 55
iconst_1
istore 4 /* templateDelimiterSize */
start local 4 // int templateDelimiterSize
5: .line 56
aload 0 /* this */
getfield org.stringtemplate.v4.misc.STLexerMessage.templateToken:Lorg/antlr/runtime/Token;
invokeinterface org.antlr.runtime.Token.getType:()I
iconst_5
if_icmpne 7
6: .line 57
iconst_2
istore 4 /* templateDelimiterSize */
7: .line 59
StackMap locals: org.stringtemplate.v4.misc.STLexerMessage org.antlr.runtime.RecognitionException int int int
StackMap stack:
iload 2 /* line */
aload 0 /* this */
getfield org.stringtemplate.v4.misc.STLexerMessage.templateToken:Lorg/antlr/runtime/Token;
invokeinterface org.antlr.runtime.Token.getLine:()I
iconst_1
isub
iadd
istore 2 /* line */
8: .line 60
iload 3 /* charPos */
aload 0 /* this */
getfield org.stringtemplate.v4.misc.STLexerMessage.templateToken:Lorg/antlr/runtime/Token;
invokeinterface org.antlr.runtime.Token.getCharPositionInLine:()I
iload 4 /* templateDelimiterSize */
iadd
iadd
istore 3 /* charPos */
end local 4 // int templateDelimiterSize
9: .line 62
StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
iload 2 /* line */
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3 /* charPos */
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4 /* filepos */
start local 4 // java.lang.String filepos
10: .line 63
aload 0 /* this */
getfield org.stringtemplate.v4.misc.STLexerMessage.srcName:Ljava/lang/String;
ifnull 12
11: .line 64
new java.lang.StringBuilder
dup
aload 0 /* this */
getfield org.stringtemplate.v4.misc.STLexerMessage.srcName:Ljava/lang/String;
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 4 /* filepos */
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 /* this */
getfield org.stringtemplate.v4.misc.STLexerMessage.error:Lorg/stringtemplate/v4/misc/ErrorType;
getfield org.stringtemplate.v4.misc.ErrorType.message:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0 /* this */
getfield org.stringtemplate.v4.misc.STLexerMessage.msg:Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[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
12: .line 66
StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 4 /* filepos */
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 0 /* this */
getfield org.stringtemplate.v4.misc.STLexerMessage.error:Lorg/stringtemplate/v4/misc/ErrorType;
getfield org.stringtemplate.v4.misc.ErrorType.message:Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0 /* this */
getfield org.stringtemplate.v4.misc.STLexerMessage.msg:Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[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
end local 4 // java.lang.String filepos
end local 3 // int charPos
end local 2 // int line
end local 1 // org.antlr.runtime.RecognitionException re
end local 0 // org.stringtemplate.v4.misc.STLexerMessage this
LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/stringtemplate/v4/misc/STLexerMessage;
1 13 1 re Lorg/antlr/runtime/RecognitionException;
2 13 2 line I
3 13 3 charPos I
5 9 4 templateDelimiterSize I
10 13 4 filepos Ljava/lang/String;
}
SourceFile: "STLexerMessage.java"