public class com.sun.tools.example.debug.expr.TokenMgrError extends java.lang.Error
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.example.debug.expr.TokenMgrError
super_class: java.lang.Error
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -6236440836177601522
static final int LEXICAL_ERROR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final int STATIC_LEXER_ERROR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int INVALID_LEXICAL_STATE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int LOOP_DETECTED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3
int errorCode;
descriptor: I
flags: (0x0000)
protected static final java.lang.String addEscapes(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=5, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 1: iconst_0
istore 3
start local 3 2: goto 28
3: StackMap locals: java.lang.String java.lang.StringBuffer top int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
lookupswitch { // 9
0: 4
8: 5
9: 7
10: 9
12: 11
13: 13
34: 15
39: 17
92: 19
default: 21
}
4: StackMap locals:
StackMap stack:
goto 27
5: StackMap locals:
StackMap stack:
aload 1
ldc "\\b"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
6: goto 27
7: StackMap locals:
StackMap stack:
aload 1
ldc "\\t"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
8: goto 27
9: StackMap locals:
StackMap stack:
aload 1
ldc "\\n"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
10: goto 27
11: StackMap locals:
StackMap stack:
aload 1
ldc "\\f"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
12: goto 27
13: StackMap locals:
StackMap stack:
aload 1
ldc "\\r"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
14: goto 27
15: StackMap locals:
StackMap stack:
aload 1
ldc "\\\""
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
16: goto 27
17: StackMap locals:
StackMap stack:
aload 1
ldc "\\'"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
18: goto 27
19: StackMap locals:
StackMap stack:
aload 1
ldc "\\\\"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
20: goto 27
21: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
dup
istore 2
start local 2 22: bipush 32
if_icmplt 23
iload 2
bipush 126
if_icmple 26
23: StackMap locals: java.lang.String java.lang.StringBuffer int int
StackMap stack:
new java.lang.StringBuilder
dup
ldc "0000"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
bipush 16
invokestatic java.lang.Integer.toString:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 24: aload 1
new java.lang.StringBuilder
dup
ldc "\\u"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
aload 4
invokevirtual java.lang.String.length:()I
iconst_4
isub
aload 4
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
end local 4 25: goto 27
26: StackMap locals:
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
end local 2 27: StackMap locals: java.lang.String java.lang.StringBuffer top int
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
28: iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 3 29: aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 str Ljava/lang/String;
1 30 1 retval Ljava/lang/StringBuffer;
22 27 2 ch C
2 29 3 i I
24 25 4 s Ljava/lang/String;
MethodParameters:
Name Flags
str
private static final java.lang.String LexicalError(boolean, int, int, int, java.lang.String, char);
descriptor: (ZIIILjava/lang/String;C)Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: new java.lang.StringBuilder
dup
ldc "Lexical error at line "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", column "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ". Encountered: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: iload 0
ifeq 4
ldc "<EOF> "
goto 5
StackMap locals:
StackMap stack: java.lang.StringBuilder
4: new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokestatic com.sun.tools.example.debug.expr.TokenMgrError.addEscapes:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "), "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: int int int int java.lang.String int
StackMap stack: java.lang.StringBuilder java.lang.String
5: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc "after : \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokestatic com.sun.tools.example.debug.expr.TokenMgrError.addEscapes:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 EOFSeen Z
0 8 1 lexState I
0 8 2 errorLine I
0 8 3 errorColumn I
0 8 4 errorAfter Ljava/lang/String;
0 8 5 curChar C
MethodParameters:
Name Flags
EOFSeen
lexState
errorLine
errorColumn
errorAfter
curChar
public java.lang.String getMessage();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Error.getMessage:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/expr/TokenMgrError;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Error.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/expr/TokenMgrError;
public void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)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
aload 1
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
1: aload 0
iload 2
putfield com.sun.tools.example.debug.expr.TokenMgrError.errorCode:I
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/expr/TokenMgrError;
0 3 1 message Ljava/lang/String;
0 3 2 reason I
MethodParameters:
Name Flags
message
reason
public void <init>(boolean, int, int, int, java.lang.String, char, int);
descriptor: (ZIIILjava/lang/String;CI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
iload 1
iload 2
iload 3
iload 4
aload 5
iload 6
invokestatic com.sun.tools.example.debug.expr.TokenMgrError.LexicalError:(ZIIILjava/lang/String;C)Ljava/lang/String;
iload 7
invokespecial com.sun.tools.example.debug.expr.TokenMgrError.<init>:(Ljava/lang/String;I)V
1: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/expr/TokenMgrError;
0 2 1 EOFSeen Z
0 2 2 lexState I
0 2 3 errorLine I
0 2 4 errorColumn I
0 2 5 errorAfter Ljava/lang/String;
0 2 6 curChar C
0 2 7 reason I
MethodParameters:
Name Flags
EOFSeen
lexState
errorLine
errorColumn
errorAfter
curChar
reason
}
SourceFile: "TokenMgrError.java"