public final class com.oracle.truffle.js.runtime.builtins.JSProxyObject extends com.oracle.truffle.js.runtime.objects.JSClassObject
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.runtime.builtins.JSProxyObject
super_class: com.oracle.truffle.js.runtime.objects.JSClassObject
{
private java.lang.Object proxyTarget;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private com.oracle.truffle.api.object.DynamicObject proxyHandler;
descriptor: Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0002) ACC_PRIVATE
protected void <init>(com.oracle.truffle.api.object.Shape, java.lang.Object, com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/Shape;Ljava/lang/Object;Lcom/oracle/truffle/api/object/DynamicObject;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial com.oracle.truffle.js.runtime.objects.JSClassObject.<init>:(Lcom/oracle/truffle/api/object/Shape;)V
1: aload 0
aload 2
putfield com.oracle.truffle.js.runtime.builtins.JSProxyObject.proxyTarget:Ljava/lang/Object;
2: aload 0
aload 3
putfield com.oracle.truffle.js.runtime.builtins.JSProxyObject.proxyHandler:Lcom/oracle/truffle/api/object/DynamicObject;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/runtime/builtins/JSProxyObject;
0 4 1 shape Lcom/oracle/truffle/api/object/Shape;
0 4 2 proxyTarget Ljava/lang/Object;
0 4 3 proxyHandler Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
shape
proxyTarget
proxyHandler
public com.oracle.truffle.api.object.DynamicObject getProxyHandler();
descriptor: ()Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.builtins.JSProxyObject.proxyHandler:Lcom/oracle/truffle/api/object/DynamicObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSProxyObject;
public java.lang.Object getProxyTarget();
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.js.runtime.builtins.JSProxyObject.proxyTarget:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSProxyObject;
public void revoke();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic com.oracle.truffle.js.runtime.objects.Null.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
putfield com.oracle.truffle.js.runtime.builtins.JSProxyObject.proxyHandler:Lcom/oracle/truffle/api/object/DynamicObject;
1: aload 0
getstatic com.oracle.truffle.js.runtime.objects.Null.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
putfield com.oracle.truffle.js.runtime.builtins.JSProxyObject.proxyTarget:Ljava/lang/Object;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/runtime/builtins/JSProxyObject;
public static com.oracle.truffle.api.object.DynamicObject create(com.oracle.truffle.js.runtime.JSRealm, com.oracle.truffle.js.runtime.builtins.JSObjectFactory, java.lang.Object, com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;Ljava/lang/Object;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
new com.oracle.truffle.js.runtime.builtins.JSProxyObject
dup
aload 1
aload 0
invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory.getShape:(Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/Shape;
aload 2
aload 3
invokespecial com.oracle.truffle.js.runtime.builtins.JSProxyObject.<init>:(Lcom/oracle/truffle/api/object/Shape;Ljava/lang/Object;Lcom/oracle/truffle/api/object/DynamicObject;)V
aload 0
invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory.initProto:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/DynamicObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 realm Lcom/oracle/truffle/js/runtime/JSRealm;
0 1 1 factory Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
0 1 2 target Ljava/lang/Object;
0 1 3 handler Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
realm
factory
target
handler
public boolean isExecutable(com.oracle.truffle.js.nodes.unary.IsCallableNode);
descriptor: (Lcom/oracle/truffle/js/nodes/unary/IsCallableNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual com.oracle.truffle.js.nodes.unary.IsCallableNode.executeBoolean:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSProxyObject;
0 1 1 isCallable Lcom/oracle/truffle/js/nodes/unary/IsCallableNode;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
RuntimeInvisibleParameterAnnotations:
0:
com.oracle.truffle.api.dsl.Cached()
MethodParameters:
Name Flags
isCallable
public java.lang.Object execute(java.lang.Object[], com.oracle.truffle.js.lang.JavaScriptLanguage, com.oracle.truffle.js.runtime.JSRealm, com.oracle.truffle.js.nodes.interop.JSInteropExecuteNode, com.oracle.truffle.js.nodes.interop.ExportValueNode);
descriptor: ([Ljava/lang/Object;Lcom/oracle/truffle/js/lang/JavaScriptLanguage;Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/js/nodes/interop/JSInteropExecuteNode;Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
aload 3
invokevirtual com.oracle.truffle.js.lang.JavaScriptLanguage.interopBoundaryEnter:(Lcom/oracle/truffle/js/runtime/JSRealm;)V
1: aload 4
aload 0
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
aload 1
invokevirtual com.oracle.truffle.js.nodes.interop.JSInteropExecuteNode.execute:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 2: aload 5
aload 6
invokevirtual com.oracle.truffle.js.nodes.interop.ExportValueNode.execute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 8
3: aload 2
aload 3
invokevirtual com.oracle.truffle.js.lang.JavaScriptLanguage.interopBoundaryExit:(Lcom/oracle/truffle/js/runtime/JSRealm;)V
4: aload 8
areturn
end local 6 5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 7
6: aload 2
aload 3
invokevirtual com.oracle.truffle.js.lang.JavaScriptLanguage.interopBoundaryExit:(Lcom/oracle/truffle/js/runtime/JSRealm;)V
7: aload 7
athrow
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 this Lcom/oracle/truffle/js/runtime/builtins/JSProxyObject;
0 8 1 args [Ljava/lang/Object;
0 8 2 language Lcom/oracle/truffle/js/lang/JavaScriptLanguage;
0 8 3 realm Lcom/oracle/truffle/js/runtime/JSRealm;
0 8 4 callNode Lcom/oracle/truffle/js/nodes/interop/JSInteropExecuteNode;
0 8 5 exportNode Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;
2 5 6 result Ljava/lang/Object;
Exception table:
from to target type
1 3 5 any
Exceptions:
throws com.oracle.truffle.api.interop.UnsupportedMessageException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.CachedLanguage()
2:
com.oracle.truffle.api.dsl.CachedContext(value = Lcom/oracle/truffle/js/lang/JavaScriptLanguage;)
3:
com.oracle.truffle.api.dsl.Cached()
4:
com.oracle.truffle.api.dsl.Cached$Shared(value = "exportValue")
com.oracle.truffle.api.dsl.Cached()
MethodParameters:
Name Flags
args
language
realm
callNode
exportNode
public boolean isInstantiable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isConstructor:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSProxyObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
public java.lang.Object instantiate(java.lang.Object[], com.oracle.truffle.js.lang.JavaScriptLanguage, com.oracle.truffle.js.runtime.JSRealm, com.oracle.truffle.js.nodes.interop.JSInteropInstantiateNode, com.oracle.truffle.js.nodes.interop.ExportValueNode);
descriptor: ([Ljava/lang/Object;Lcom/oracle/truffle/js/lang/JavaScriptLanguage;Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/js/nodes/interop/JSInteropInstantiateNode;Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
aload 3
invokevirtual com.oracle.truffle.js.lang.JavaScriptLanguage.interopBoundaryEnter:(Lcom/oracle/truffle/js/runtime/JSRealm;)V
1: aload 4
aload 0
aload 1
invokevirtual com.oracle.truffle.js.nodes.interop.JSInteropInstantiateNode.execute:(Lcom/oracle/truffle/api/object/DynamicObject;[Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 2: aload 5
aload 6
invokevirtual com.oracle.truffle.js.nodes.interop.ExportValueNode.execute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 8
3: aload 2
aload 3
invokevirtual com.oracle.truffle.js.lang.JavaScriptLanguage.interopBoundaryExit:(Lcom/oracle/truffle/js/runtime/JSRealm;)V
4: aload 8
areturn
end local 6 5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 7
6: aload 2
aload 3
invokevirtual com.oracle.truffle.js.lang.JavaScriptLanguage.interopBoundaryExit:(Lcom/oracle/truffle/js/runtime/JSRealm;)V
7: aload 7
athrow
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 this Lcom/oracle/truffle/js/runtime/builtins/JSProxyObject;
0 8 1 args [Ljava/lang/Object;
0 8 2 language Lcom/oracle/truffle/js/lang/JavaScriptLanguage;
0 8 3 realm Lcom/oracle/truffle/js/runtime/JSRealm;
0 8 4 callNode Lcom/oracle/truffle/js/nodes/interop/JSInteropInstantiateNode;
0 8 5 exportNode Lcom/oracle/truffle/js/nodes/interop/ExportValueNode;
2 5 6 result Ljava/lang/Object;
Exception table:
from to target type
1 3 5 any
Exceptions:
throws com.oracle.truffle.api.interop.UnsupportedMessageException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.CachedLanguage()
2:
com.oracle.truffle.api.dsl.CachedContext(value = Lcom/oracle/truffle/js/lang/JavaScriptLanguage;)
3:
com.oracle.truffle.api.dsl.Cached()
4:
com.oracle.truffle.api.dsl.Cached$Shared(value = "exportValue")
com.oracle.truffle.api.dsl.Cached()
MethodParameters:
Name Flags
args
language
realm
callNode
exportNode
public boolean hasMetaObject();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSProxyObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
public java.lang.Object getMetaObject();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.oracle.truffle.js.runtime.interop.JSMetaType.JS_PROXY:Lcom/oracle/truffle/js/runtime/interop/JSMetaType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSProxyObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
}
SourceFile: "JSProxyObject.java"
InnerClasses:
public abstract Shared = com.oracle.truffle.api.dsl.Cached$Shared of com.oracle.truffle.api.dsl.Cached
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportLibrary(value = Lcom/oracle/truffle/api/interop/InteropLibrary;)