final class jdk.nashorn.api.tree.DiagnosticImpl implements jdk.nashorn.api.tree.Diagnostic
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.api.tree.DiagnosticImpl
super_class: java.lang.Object
{
private final jdk.nashorn.internal.runtime.ParserException exp;
descriptor: Ljdk/nashorn/internal/runtime/ParserException;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.api.tree.Diagnostic$Kind kind;
descriptor: Ljdk/nashorn/api/tree/Diagnostic$Kind;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(jdk.nashorn.internal.runtime.ParserException, jdk.nashorn.api.tree.Diagnostic$Kind);
descriptor: (Ljdk/nashorn/internal/runtime/ParserException;Ljdk/nashorn/api/tree/Diagnostic$Kind;)V
flags: (0x0000)
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 jdk.nashorn.api.tree.DiagnosticImpl.exp:Ljdk/nashorn/internal/runtime/ParserException;
2: aload 0
aload 2
putfield jdk.nashorn.api.tree.DiagnosticImpl.kind:Ljdk/nashorn/api/tree/Diagnostic$Kind;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/api/tree/DiagnosticImpl;
0 4 1 exp Ljdk/nashorn/internal/runtime/ParserException;
0 4 2 kind Ljdk/nashorn/api/tree/Diagnostic$Kind;
MethodParameters:
Name Flags
exp final
kind final
public jdk.nashorn.api.tree.Diagnostic$Kind getKind();
descriptor: ()Ljdk/nashorn/api/tree/Diagnostic$Kind;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.DiagnosticImpl.kind:Ljdk/nashorn/api/tree/Diagnostic$Kind;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/DiagnosticImpl;
public long getPosition();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.DiagnosticImpl.exp:Ljdk/nashorn/internal/runtime/ParserException;
invokevirtual jdk.nashorn.internal.runtime.ParserException.getPosition:()I
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/DiagnosticImpl;
public java.lang.String getFileName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.DiagnosticImpl.exp:Ljdk/nashorn/internal/runtime/ParserException;
invokevirtual jdk.nashorn.internal.runtime.ParserException.getFileName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/DiagnosticImpl;
public long getLineNumber();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.DiagnosticImpl.exp:Ljdk/nashorn/internal/runtime/ParserException;
invokevirtual jdk.nashorn.internal.runtime.ParserException.getLineNumber:()I
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/DiagnosticImpl;
public long getColumnNumber();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.DiagnosticImpl.exp:Ljdk/nashorn/internal/runtime/ParserException;
invokevirtual jdk.nashorn.internal.runtime.ParserException.getColumnNumber:()I
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/DiagnosticImpl;
public java.lang.String getCode();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.DiagnosticImpl.exp:Ljdk/nashorn/internal/runtime/ParserException;
invokevirtual jdk.nashorn.internal.runtime.ParserException.getToken:()J
lstore 1
start local 1 1: lload 1
lconst_0
lcmp
ifge 2
aconst_null
goto 3
StackMap locals: long
StackMap stack:
2: aconst_null
lload 1
iconst_1
invokestatic jdk.nashorn.internal.parser.Token.toString:(Ljdk/nashorn/internal/runtime/Source;JZ)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/api/tree/DiagnosticImpl;
1 4 1 token J
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
getfield jdk.nashorn.api.tree.DiagnosticImpl.exp:Ljdk/nashorn/internal/runtime/ParserException;
invokevirtual jdk.nashorn.internal.runtime.ParserException.getMessage:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/DiagnosticImpl;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.api.tree.DiagnosticImpl.getMessage:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/DiagnosticImpl;
}
SourceFile: "DiagnosticImpl.java"
InnerClasses:
public final Kind = jdk.nashorn.api.tree.Diagnostic$Kind of jdk.nashorn.api.tree.Diagnostic