public final class com.oracle.truffle.trufflenode.info.Script
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.trufflenode.info.Script
super_class: java.lang.Object
{
private final int id;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.js.nodes.ScriptNode scriptNode;
descriptor: Lcom/oracle/truffle/js/nodes/ScriptNode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object parseResult;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.js.runtime.JSRealm realm;
descriptor: Lcom/oracle/truffle/js/runtime/JSRealm;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean graalInternal;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.oracle.truffle.js.nodes.ScriptNode, java.lang.Object, com.oracle.truffle.js.runtime.JSRealm, int);
descriptor: (Lcom/oracle/truffle/js/nodes/ScriptNode;Ljava/lang/Object;Lcom/oracle/truffle/js/runtime/JSRealm;I)V
flags: (0x0001) ACC_PUBLIC
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
aload 1
putfield com.oracle.truffle.trufflenode.info.Script.scriptNode:Lcom/oracle/truffle/js/nodes/ScriptNode;
2: aload 0
aload 2
putfield com.oracle.truffle.trufflenode.info.Script.parseResult:Ljava/lang/Object;
3: aload 0
aload 3
putfield com.oracle.truffle.trufflenode.info.Script.realm:Lcom/oracle/truffle/js/runtime/JSRealm;
4: aload 0
iload 4
putfield com.oracle.truffle.trufflenode.info.Script.id:I
5: aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.ScriptNode.getRootNode:()Lcom/oracle/truffle/api/nodes/RootNode;
invokevirtual com.oracle.truffle.api.nodes.RootNode.getSourceSection:()Lcom/oracle/truffle/api/source/SourceSection;
invokevirtual com.oracle.truffle.api.source.SourceSection.getSource:()Lcom/oracle/truffle/api/source/Source;
invokestatic com.oracle.truffle.trufflenode.info.Script.isGraalInternalScript:(Lcom/oracle/truffle/api/source/Source;)Z
putfield com.oracle.truffle.trufflenode.info.Script.graalInternal:Z
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/trufflenode/info/Script;
0 7 1 scriptNode Lcom/oracle/truffle/js/nodes/ScriptNode;
0 7 2 parseResult Ljava/lang/Object;
0 7 3 realm Lcom/oracle/truffle/js/runtime/JSRealm;
0 7 4 id I
MethodParameters:
Name Flags
scriptNode
parseResult
realm
id
public com.oracle.truffle.js.nodes.ScriptNode getScriptNode();
descriptor: ()Lcom/oracle/truffle/js/nodes/ScriptNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.trufflenode.info.Script.scriptNode:Lcom/oracle/truffle/js/nodes/ScriptNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/trufflenode/info/Script;
public java.lang.Object getParseResult();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.trufflenode.info.Script.parseResult:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/trufflenode/info/Script;
public com.oracle.truffle.js.runtime.JSRealm getRealm();
descriptor: ()Lcom/oracle/truffle/js/runtime/JSRealm;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.trufflenode.info.Script.realm:Lcom/oracle/truffle/js/runtime/JSRealm;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/trufflenode/info/Script;
public int getId();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.trufflenode.info.Script.id:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/trufflenode/info/Script;
public boolean isGraalInternal();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.trufflenode.info.Script.graalInternal:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/trufflenode/info/Script;
private static boolean isGraalInternalScript(com.oracle.truffle.api.source.Source);
descriptor: (Lcom/oracle/truffle/api/source/Source;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.api.source.Source.getName:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ldc "graal/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 2
aload 1
ldc "internal/graal/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 2
aload 1
ldc "internal/worker.js"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 2
aload 1
ldc "inspector.js"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 2
iconst_0
ireturn
StackMap locals: java.lang.String
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 source Lcom/oracle/truffle/api/source/Source;
1 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
source
}
SourceFile: "Script.java"