public final class com.oracle.truffle.js.runtime.java.JavaImporter extends com.oracle.truffle.js.runtime.builtins.JSNonProxy implements com.oracle.truffle.js.runtime.builtins.JSConstructorFactory$Default, com.oracle.truffle.js.runtime.builtins.PrototypeSupplier
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.runtime.java.JavaImporter
super_class: com.oracle.truffle.js.runtime.builtins.JSNonProxy
{
public static final java.lang.String CLASS_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "JavaImporter"
private static final com.oracle.truffle.js.runtime.java.JavaImporter INSTANCE;
descriptor: Lcom/oracle/truffle/js/runtime/java/JavaImporter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lcom/oracle/truffle/js/runtime/java/JavaImporter;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.oracle.truffle.js.runtime.java.JavaImporter.$assertionsDisabled:Z
3: new com.oracle.truffle.js.runtime.java.JavaImporter
dup
invokespecial com.oracle.truffle.js.runtime.java.JavaImporter.<init>:()V
putstatic com.oracle.truffle.js.runtime.java.JavaImporter.INSTANCE:Lcom/oracle/truffle/js/runtime/java/JavaImporter;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.js.runtime.builtins.JSNonProxy.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/java/JavaImporter;
public java.lang.String getClassName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "JavaImporter"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/java/JavaImporter;
public java.lang.String getClassName(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.java.JavaImporter.getClassName:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/java/JavaImporter;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
object
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: ldc "JavaImporter"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/java/JavaImporter;
public static com.oracle.truffle.api.object.DynamicObject create(com.oracle.truffle.js.runtime.JSContext, java.lang.Object[]);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;[Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getRealm:()Lcom/oracle/truffle/js/runtime/JSRealm;
astore 2
start local 2 1: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJavaImporterFactory:()Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
astore 3
start local 3 2: new com.oracle.truffle.js.runtime.java.JavaImporterObject
dup
aload 3
aload 2
invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory.getShape:(Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/Shape;
aload 1
invokespecial com.oracle.truffle.js.runtime.java.JavaImporterObject.<init>:(Lcom/oracle/truffle/api/object/Shape;[Ljava/lang/Object;)V
astore 4
start local 4 3: aload 3
aload 4
aload 2
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;
pop
4: getstatic com.oracle.truffle.js.runtime.java.JavaImporter.$assertionsDisabled:Z
ifne 5
aload 4
invokestatic com.oracle.truffle.js.runtime.java.JavaImporter.isJavaImporter:(Ljava/lang/Object;)Z
ifne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: com.oracle.truffle.js.runtime.JSRealm com.oracle.truffle.js.runtime.builtins.JSObjectFactory com.oracle.truffle.js.runtime.java.JavaImporterObject
StackMap stack:
aload 0
aload 4
invokevirtual com.oracle.truffle.js.runtime.JSContext.trackAllocation:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.api.object.DynamicObject
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 context Lcom/oracle/truffle/js/runtime/JSContext;
0 6 1 value [Ljava/lang/Object;
1 6 2 realm Lcom/oracle/truffle/js/runtime/JSRealm;
2 6 3 factory Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
3 6 4 obj Lcom/oracle/truffle/js/runtime/java/JavaImporterObject;
MethodParameters:
Name Flags
context
value
public static boolean isJavaImporter(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof com.oracle.truffle.js.runtime.java.JavaImporterObject
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public boolean hasOwnProperty(com.oracle.truffle.api.object.DynamicObject, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 1
aload 2
aconst_null
invokevirtual com.oracle.truffle.js.runtime.java.JavaImporter.getOwnHelper:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;Lcom/oracle/truffle/api/nodes/Node;)Ljava/lang/Object;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/java/JavaImporter;
0 2 1 thisObj Lcom/oracle/truffle/api/object/DynamicObject;
0 2 2 name Ljava/lang/Object;
MethodParameters:
Name Flags
thisObj
name
public java.lang.Object getOwnHelper(com.oracle.truffle.api.object.DynamicObject, java.lang.Object, java.lang.Object, com.oracle.truffle.api.nodes.Node);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;Lcom/oracle/truffle/api/nodes/Node;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=13, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
instanceof java.lang.String
ifeq 12
1: aload 1
invokestatic com.oracle.truffle.js.runtime.java.JavaImporter.getPackages:(Lcom/oracle/truffle/api/object/DynamicObject;)[Ljava/lang/Object;
astore 5
start local 5 2: aload 1
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.getJSContext:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.getRealm:()Lcom/oracle/truffle/js/runtime/JSRealm;
astore 6
start local 6 3: aload 5
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 11
StackMap locals: com.oracle.truffle.js.runtime.java.JavaImporter com.oracle.truffle.api.object.DynamicObject java.lang.Object java.lang.Object com.oracle.truffle.api.nodes.Node java.lang.Object[] com.oracle.truffle.js.runtime.JSRealm top int int java.lang.Object[]
StackMap stack:
4: aload 10
iload 8
aaload
astore 7
start local 7 5: aload 7
instanceof com.oracle.truffle.js.runtime.java.JavaPackageObject
ifeq 10
6: aload 7
checkcast com.oracle.truffle.js.runtime.java.JavaPackageObject
astore 11
start local 11 7: aload 6
aload 11
aload 3
checkcast java.lang.String
ldc Ljava/lang/Object;
invokestatic com.oracle.truffle.js.runtime.java.JavaPackage.getClass:(Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
astore 12
start local 12 8: aload 12
ifnull 10
9: aload 12
areturn
end local 12 end local 11 end local 7 10: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
11: iload 8
iload 9
if_icmplt 4
end local 6 end local 5 12: StackMap locals: com.oracle.truffle.js.runtime.java.JavaImporter com.oracle.truffle.api.object.DynamicObject java.lang.Object java.lang.Object com.oracle.truffle.api.nodes.Node
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/js/runtime/java/JavaImporter;
0 13 1 store Lcom/oracle/truffle/api/object/DynamicObject;
0 13 2 thisObj Ljava/lang/Object;
0 13 3 name Ljava/lang/Object;
0 13 4 encapsulatingNode Lcom/oracle/truffle/api/nodes/Node;
2 12 5 packages [Ljava/lang/Object;
3 12 6 realm Lcom/oracle/truffle/js/runtime/JSRealm;
5 10 7 pkg Ljava/lang/Object;
7 10 11 javaPackage Lcom/oracle/truffle/js/runtime/java/JavaPackageObject;
8 10 12 found Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
store
thisObj
name
encapsulatingNode
public static java.lang.Object[] getPackages(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)[Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.oracle.truffle.js.runtime.java.JavaImporter.$assertionsDisabled:Z
ifne 1
aload 0
invokestatic com.oracle.truffle.js.runtime.java.JavaImporter.isJavaImporter:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
checkcast com.oracle.truffle.js.runtime.java.JavaImporterObject
invokevirtual com.oracle.truffle.js.runtime.java.JavaImporterObject.getPackages:()[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 importer Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
importer
public java.lang.String toDisplayStringImpl(com.oracle.truffle.api.object.DynamicObject, int, boolean, com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;IZLcom/oracle/truffle/js/runtime/JSContext;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: ldc "[JavaImporter]"
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/java/JavaImporter;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
0 1 2 depth I
0 1 3 allowSideEffects Z
0 1 4 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
object
depth
allowSideEffects
context
public com.oracle.truffle.api.object.DynamicObject createPrototype(com.oracle.truffle.js.runtime.JSRealm, com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
astore 3
start local 3 1: aload 1
invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.createOrdinaryPrototypeObject:(Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 4
start local 4 2: aload 4
ldc "JavaImporter"
invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.putToStringTag:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/String;)V
3: aload 3
aload 4
aload 2
invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.putConstructorProperty:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/DynamicObject;)V
4: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/runtime/java/JavaImporter;
0 5 1 realm Lcom/oracle/truffle/js/runtime/JSRealm;
0 5 2 ctor Lcom/oracle/truffle/api/object/DynamicObject;
1 5 3 context Lcom/oracle/truffle/js/runtime/JSContext;
2 5 4 prototype Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
realm final
ctor
public com.oracle.truffle.api.object.Shape makeInitialShape(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/Shape;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic com.oracle.truffle.js.runtime.java.JavaImporter.instance:()Lcom/oracle/truffle/js/runtime/java/JavaImporter;
aload 1
invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.getProtoChildShape:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/builtins/JSClass;Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/api/object/Shape;
astore 3
start local 3 1: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/java/JavaImporter;
0 2 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 2 2 prototype Lcom/oracle/truffle/api/object/DynamicObject;
1 2 3 initialShape Lcom/oracle/truffle/api/object/Shape;
MethodParameters:
Name Flags
context
prototype
public static com.oracle.truffle.js.runtime.builtins.JSConstructor createConstructor(com.oracle.truffle.js.runtime.JSRealm);
descriptor: (Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/js/runtime/builtins/JSConstructor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic com.oracle.truffle.js.runtime.java.JavaImporter.instance:()Lcom/oracle/truffle/js/runtime/java/JavaImporter;
aload 0
invokevirtual com.oracle.truffle.js.runtime.java.JavaImporter.createConstructorAndPrototype:(Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/js/runtime/builtins/JSConstructor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 realm Lcom/oracle/truffle/js/runtime/JSRealm;
MethodParameters:
Name Flags
realm
public static com.oracle.truffle.js.runtime.java.JavaImporter instance();
descriptor: ()Lcom/oracle/truffle/js/runtime/java/JavaImporter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.oracle.truffle.js.runtime.java.JavaImporter.INSTANCE:Lcom/oracle/truffle/js/runtime/java/JavaImporter;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.oracle.truffle.api.object.DynamicObject getIntrinsicDefaultProto(com.oracle.truffle.js.runtime.JSRealm);
descriptor: (Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getJavaImporterPrototype:()Lcom/oracle/truffle/api/object/DynamicObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/java/JavaImporter;
0 1 1 realm Lcom/oracle/truffle/js/runtime/JSRealm;
MethodParameters:
Name Flags
realm
}
SourceFile: "JavaImporter.java"
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
public abstract Default = com.oracle.truffle.js.runtime.builtins.JSConstructorFactory$Default of com.oracle.truffle.js.runtime.builtins.JSConstructorFactory