public final class jdk.nashorn.internal.objects.NativeJava
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.objects.NativeJava
super_class: java.lang.Object
{
private static jdk.nashorn.internal.runtime.PropertyMap $nasgenmap$;
descriptor: Ljdk/nashorn/internal/runtime/PropertyMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/objects/NativeJava;
public static boolean isType(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.dynalink.beans.StaticClass
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
0 1 1 type Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
MethodParameters:
Name Flags
self final
type final
public static java.lang.Object synchronizedFunc(java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof jdk.nashorn.internal.runtime.ScriptFunction
ifeq 2
1: aload 1
checkcast jdk.nashorn.internal.runtime.ScriptFunction
aload 2
invokevirtual jdk.nashorn.internal.runtime.ScriptFunction.createSynchronized:(Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/ScriptFunction;
areturn
2: StackMap locals:
StackMap stack:
ldc "not.a.function"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
invokestatic jdk.nashorn.internal.runtime.ScriptRuntime.safeToString:(Ljava/lang/Object;)Ljava/lang/String;
aastore
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 self Ljava/lang/Object;
0 3 1 func Ljava/lang/Object;
0 3 2 obj Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(name = "synchronized", attributes = 2, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
MethodParameters:
Name Flags
self final
func final
obj final
public static boolean isJavaMethod(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.isDynamicMethod:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
0 1 1 obj Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
MethodParameters:
Name Flags
self final
obj final
public static boolean isJavaFunction(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.isCallable:(Ljava/lang/Object;)Z
ifeq 1
aload 1
instanceof jdk.nashorn.internal.runtime.ScriptFunction
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 self Ljava/lang/Object;
0 2 1 obj Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
MethodParameters:
Name Flags
self final
obj final
public static boolean isJavaObject(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
instanceof jdk.nashorn.internal.runtime.ScriptObject
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 self Ljava/lang/Object;
0 2 1 obj Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
MethodParameters:
Name Flags
self final
obj final
public static boolean isScriptObject(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.nashorn.internal.runtime.ScriptObject
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
0 1 1 obj Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
MethodParameters:
Name Flags
self final
obj final
public static boolean isScriptFunction(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.nashorn.internal.runtime.ScriptFunction
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
0 1 1 obj Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
MethodParameters:
Name Flags
self final
obj final
public static java.lang.Object type(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.nashorn.internal.objects.NativeJava.type:(Ljava/lang/Object;)Ljdk/dynalink/beans/StaticClass;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
0 1 1 objTypeName Ljava/lang/Object;
Exceptions:
throws java.lang.ClassNotFoundException
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
MethodParameters:
Name Flags
self final
objTypeName final
private static jdk.dynalink.beans.StaticClass type(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljdk/dynalink/beans/StaticClass;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.nashorn.internal.objects.NativeJava.type:(Ljava/lang/String;)Ljava/lang/Class;
invokestatic jdk.dynalink.beans.StaticClass.forClass:(Ljava/lang/Class;)Ljdk/dynalink/beans/StaticClass;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 objTypeName Ljava/lang/Object;
Exceptions:
throws java.lang.ClassNotFoundException
MethodParameters:
Name Flags
objTypeName final
private static java.lang.Class<?> type(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "[]"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
invokestatic jdk.nashorn.internal.objects.NativeJava.arrayType:(Ljava/lang/String;)Ljava/lang/Class;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.nashorn.internal.objects.NativeJava.simpleType:(Ljava/lang/String;)Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 typeName Ljava/lang/String;
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
typeName final
public static java.lang.Object typeName(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.dynalink.beans.StaticClass
ifeq 2
1: aload 1
checkcast jdk.dynalink.beans.StaticClass
invokevirtual jdk.dynalink.beans.StaticClass.getRepresentedClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.Class
ifeq 4
3: aload 1
checkcast java.lang.Class
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 self Ljava/lang/Object;
0 5 1 type Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
MethodParameters:
Name Flags
self final
type final
public static java.lang.Object to(java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof jdk.nashorn.internal.runtime.ScriptObject
ifne 4
aload 1
instanceof jdk.nashorn.api.scripting.JSObject
ifne 4
3: ldc "not.an.object"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
invokestatic jdk.nashorn.internal.runtime.ScriptRuntime.safeToString:(Ljava/lang/Object;)Ljava/lang/String;
aastore
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
4: StackMap locals:
StackMap stack:
aload 2
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
if_acmpne 7
5: ldc [Ljava/lang/Object;
astore 3
start local 3 6: goto 12
end local 3 7: StackMap locals:
StackMap stack:
aload 2
instanceof jdk.dynalink.beans.StaticClass
ifeq 10
8: aload 2
checkcast jdk.dynalink.beans.StaticClass
astore 4
start local 4 9: goto 11
end local 4 10: StackMap locals:
StackMap stack:
aload 2
invokestatic jdk.nashorn.internal.objects.NativeJava.type:(Ljava/lang/Object;)Ljdk/dynalink/beans/StaticClass;
astore 4
start local 4 11: StackMap locals: java.lang.Object java.lang.Object java.lang.Object top jdk.dynalink.beans.StaticClass
StackMap stack:
aload 4
invokevirtual jdk.dynalink.beans.StaticClass.getRepresentedClass:()Ljava/lang/Class;
astore 3
end local 4 start local 3 12: StackMap locals: java.lang.Object java.lang.Object java.lang.Object java.lang.Class
StackMap stack:
aload 3
invokevirtual java.lang.Class.isArray:()Z
ifeq 20
13: aload 0
instanceof jdk.dynalink.SecureLookupSupplier
ifeq 16
14: aload 1
aload 3
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
aload 0
checkcast jdk.dynalink.SecureLookupSupplier
invokestatic jdk.nashorn.internal.runtime.JSType.toJavaArrayWithLookup:(Ljava/lang/Object;Ljava/lang/Class;Ljdk/dynalink/SecureLookupSupplier;)Ljava/lang/Object;
15: areturn
16: StackMap locals:
StackMap stack:
aload 1
aload 3
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
invokestatic jdk.nashorn.internal.runtime.JSType.toJavaArray:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
17: areturn
18: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 19: aload 4
ldc "java.array.conversion.failed"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 3
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
end local 4 20: StackMap locals:
StackMap stack:
aload 3
ldc Ljava/util/List;
if_acmpeq 21
aload 3
ldc Ljava/util/Deque;
if_acmpeq 21
aload 3
ldc Ljava/util/Queue;
if_acmpeq 21
aload 3
ldc Ljava/util/Collection;
if_acmpne 22
21: StackMap locals:
StackMap stack:
aload 1
invokestatic jdk.nashorn.internal.runtime.ListAdapter.create:(Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/ListAdapter;
areturn
22: StackMap locals:
StackMap stack:
ldc "unsupported.java.to.type"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 3
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 self Ljava/lang/Object;
0 23 1 obj Ljava/lang/Object;
0 23 2 objType Ljava/lang/Object;
6 7 3 targetClass Ljava/lang/Class<*>;
12 23 3 targetClass Ljava/lang/Class<*>;
9 10 4 targetType Ljdk/dynalink/beans/StaticClass;
11 12 4 targetType Ljdk/dynalink/beans/StaticClass;
19 20 4 exp Ljava/lang/Exception;
Exception table:
from to target type
13 15 18 Class java.lang.Exception
16 17 18 Class java.lang.Exception
Exceptions:
throws java.lang.ClassNotFoundException
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
MethodParameters:
Name Flags
self final
obj final
objType final
public static jdk.nashorn.internal.objects.NativeArray from(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeArray;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.util.Collection
ifeq 4
3: new jdk.nashorn.internal.objects.NativeArray
dup
aload 1
checkcast java.util.Collection
invokeinterface java.util.Collection.toArray:()[Ljava/lang/Object;
invokestatic jdk.nashorn.api.scripting.ScriptUtils.unwrapArray:([Ljava/lang/Object;)[Ljava/lang/Object;
invokespecial jdk.nashorn.internal.objects.NativeArray.<init>:([Ljava/lang/Object;)V
areturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.Object[]
ifeq 6
5: new jdk.nashorn.internal.objects.NativeArray
dup
aload 1
checkcast java.lang.Object[]
invokevirtual java.lang.Object[].clone:()Ljava/lang/Object;
checkcast java.lang.Object[]
invokestatic jdk.nashorn.api.scripting.ScriptUtils.unwrapArray:([Ljava/lang/Object;)[Ljava/lang/Object;
invokespecial jdk.nashorn.internal.objects.NativeArray.<init>:([Ljava/lang/Object;)V
areturn
6: StackMap locals:
StackMap stack:
aload 1
instanceof int[]
ifeq 8
7: new jdk.nashorn.internal.objects.NativeArray
dup
aload 1
checkcast int[]
invokevirtual int[].clone:()Ljava/lang/Object;
checkcast int[]
invokespecial jdk.nashorn.internal.objects.NativeArray.<init>:([I)V
areturn
8: StackMap locals:
StackMap stack:
aload 1
instanceof double[]
ifeq 10
9: new jdk.nashorn.internal.objects.NativeArray
dup
aload 1
checkcast double[]
invokevirtual double[].clone:()Ljava/lang/Object;
checkcast double[]
invokespecial jdk.nashorn.internal.objects.NativeArray.<init>:([D)V
areturn
10: StackMap locals:
StackMap stack:
aload 1
instanceof long[]
ifeq 12
11: new jdk.nashorn.internal.objects.NativeArray
dup
aload 1
checkcast long[]
invokevirtual long[].clone:()Ljava/lang/Object;
checkcast long[]
invokespecial jdk.nashorn.internal.objects.NativeArray.<init>:([J)V
areturn
12: StackMap locals:
StackMap stack:
aload 1
instanceof byte[]
ifeq 14
13: new jdk.nashorn.internal.objects.NativeArray
dup
aload 1
checkcast byte[]
invokestatic jdk.nashorn.internal.objects.NativeJava.copyArray:([B)[I
invokespecial jdk.nashorn.internal.objects.NativeArray.<init>:([I)V
areturn
14: StackMap locals:
StackMap stack:
aload 1
instanceof short[]
ifeq 16
15: new jdk.nashorn.internal.objects.NativeArray
dup
aload 1
checkcast short[]
invokestatic jdk.nashorn.internal.objects.NativeJava.copyArray:([S)[I
invokespecial jdk.nashorn.internal.objects.NativeArray.<init>:([I)V
areturn
16: StackMap locals:
StackMap stack:
aload 1
instanceof char[]
ifeq 18
17: new jdk.nashorn.internal.objects.NativeArray
dup
aload 1
checkcast char[]
invokestatic jdk.nashorn.internal.objects.NativeJava.copyArray:([C)[I
invokespecial jdk.nashorn.internal.objects.NativeArray.<init>:([I)V
areturn
18: StackMap locals:
StackMap stack:
aload 1
instanceof float[]
ifeq 20
19: new jdk.nashorn.internal.objects.NativeArray
dup
aload 1
checkcast float[]
invokestatic jdk.nashorn.internal.objects.NativeJava.copyArray:([F)[D
invokespecial jdk.nashorn.internal.objects.NativeArray.<init>:([D)V
areturn
20: StackMap locals:
StackMap stack:
aload 1
instanceof boolean[]
ifeq 22
21: new jdk.nashorn.internal.objects.NativeArray
dup
aload 1
checkcast boolean[]
invokestatic jdk.nashorn.internal.objects.NativeJava.copyArray:([Z)[Ljava/lang/Object;
invokespecial jdk.nashorn.internal.objects.NativeArray.<init>:([Ljava/lang/Object;)V
areturn
22: StackMap locals:
StackMap stack:
ldc "cant.convert.to.javascript.array"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 self Ljava/lang/Object;
0 23 1 objArray Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
MethodParameters:
Name Flags
self final
objArray final
public static java.util.List<java.lang.String> getProperties();
descriptor: (Ljava/lang/Object;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
instanceof jdk.dynalink.beans.StaticClass
ifeq 9
1: aload 0
checkcast jdk.dynalink.beans.StaticClass
invokevirtual jdk.dynalink.beans.StaticClass.getRepresentedClass:()Ljava/lang/Class;
astore 1
start local 1 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 3: aload 1
iconst_1
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.checkReflectionAccess:(Ljava/lang/Class;Z)V
4: aload 2
aload 1
invokestatic jdk.dynalink.beans.BeansLinker.getReadableStaticPropertyNames:(Ljava/lang/Class;)Ljava/util/Set;
invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
5: aload 2
aload 1
invokestatic jdk.dynalink.beans.BeansLinker.getStaticMethodNames:(Ljava/lang/Class;)Ljava/util/Set;
invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
6: goto 8
StackMap locals: java.lang.Object java.lang.Class java.util.ArrayList
StackMap stack: java.lang.Exception
7: pop
8: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 9: StackMap locals:
StackMap stack:
aload 0
instanceof jdk.nashorn.api.scripting.JSObject
ifeq 14
10: aload 0
checkcast jdk.nashorn.api.scripting.JSObject
astore 1
start local 1 11: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 12: aload 2
aload 1
invokeinterface jdk.nashorn.api.scripting.JSObject.keySet:()Ljava/util/Set;
invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
13: aload 2
areturn
end local 2 end local 1 14: StackMap locals:
StackMap stack:
aload 0
ifnull 23
aload 0
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
if_acmpeq 23
15: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 1
start local 1 16: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 17: aload 1
iconst_0
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.checkReflectionAccess:(Ljava/lang/Class;Z)V
18: aload 2
aload 1
invokestatic jdk.dynalink.beans.BeansLinker.getReadableInstancePropertyNames:(Ljava/lang/Class;)Ljava/util/Set;
invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
19: aload 2
aload 1
invokestatic jdk.dynalink.beans.BeansLinker.getInstanceMethodNames:(Ljava/lang/Class;)Ljava/util/Set;
invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
20: goto 22
StackMap locals: java.lang.Object java.lang.Class java.util.ArrayList
StackMap stack: java.lang.Exception
21: pop
22: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 23: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 object Ljava/lang/Object;
2 9 1 clazz Ljava/lang/Class<*>;
3 9 2 props Ljava/util/ArrayList<Ljava/lang/String;>;
11 14 1 jsObj Ljdk/nashorn/api/scripting/JSObject;
12 14 2 props Ljava/util/ArrayList<Ljava/lang/String;>;
16 23 1 clazz Ljava/lang/Class<*>;
17 23 2 props Ljava/util/ArrayList<Ljava/lang/String;>;
Exception table:
from to target type
3 6 7 Class java.lang.Exception
17 20 21 Class java.lang.Exception
Signature: (Ljava/lang/Object;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
object final
private static int[] copyArray(byte[]);
descriptor: ([B)[I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
arraylength
newarray 10
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int[] int
StackMap stack:
aload 1
iload 2
aload 0
iload 2
baload
iastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 in [B
1 7 1 out [I
2 6 2 i I
MethodParameters:
Name Flags
in final
private static int[] copyArray(short[]);
descriptor: ([S)[I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
arraylength
newarray 10
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int[] int
StackMap stack:
aload 1
iload 2
aload 0
iload 2
saload
iastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 in [S
1 7 1 out [I
2 6 2 i I
MethodParameters:
Name Flags
in final
private static int[] copyArray(char[]);
descriptor: ([C)[I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
arraylength
newarray 10
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int[] int
StackMap stack:
aload 1
iload 2
aload 0
iload 2
caload
iastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 in [C
1 7 1 out [I
2 6 2 i I
MethodParameters:
Name Flags
in final
private static double[] copyArray(float[]);
descriptor: ([F)[D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
arraylength
newarray 7
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: double[] int
StackMap stack:
aload 1
iload 2
aload 0
iload 2
faload
f2d
dastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 in [F
1 7 1 out [D
2 6 2 i I
MethodParameters:
Name Flags
in final
private static java.lang.Object[] copyArray(boolean[]);
descriptor: ([Z)[Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
arraylength
anewarray java.lang.Object
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 1
iload 2
aload 0
iload 2
baload
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 in [Z
1 7 1 out [Ljava/lang/Object;
2 6 2 i I
MethodParameters:
Name Flags
in final
private static java.lang.Class<?> simpleType(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
invokestatic jdk.dynalink.linker.support.TypeUtilities.getPrimitiveTypeByName:(Ljava/lang/String;)Ljava/lang/Class;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
areturn
3: StackMap locals: java.lang.Class
StackMap stack:
invokestatic jdk.nashorn.internal.objects.Global.getThisContext:()Ljdk/nashorn/internal/runtime/Context;
astore 2
start local 2 4: aload 2
aload 0
invokevirtual jdk.nashorn.internal.runtime.Context.findClass:(Ljava/lang/String;)Ljava/lang/Class;
5: areturn
6: StackMap locals: java.lang.String java.lang.Class jdk.nashorn.internal.runtime.Context
StackMap stack: java.lang.ClassNotFoundException
astore 3
start local 3 7: new java.lang.StringBuilder
dup
aload 0
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 4
start local 4 8: aload 4
invokevirtual java.lang.StringBuilder.length:()I
istore 5
start local 5 9: StackMap locals: java.lang.ClassNotFoundException java.lang.StringBuilder int
StackMap stack:
aload 4
ldc "."
iload 5
iconst_1
isub
invokevirtual java.lang.StringBuilder.lastIndexOf:(Ljava/lang/String;I)I
istore 5
10: iload 5
iconst_m1
if_icmpne 12
11: aload 3
athrow
12: StackMap locals:
StackMap stack:
aload 4
iload 5
bipush 36
invokevirtual java.lang.StringBuilder.setCharAt:(IC)V
13: aload 2
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.nashorn.internal.runtime.Context.findClass:(Ljava/lang/String;)Ljava/lang/Class;
14: areturn
15: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
pop
16: goto 9
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 17 0 typeName Ljava/lang/String;
1 17 1 primClass Ljava/lang/Class<*>;
4 17 2 ctx Ljdk/nashorn/internal/runtime/Context;
7 17 3 e Ljava/lang/ClassNotFoundException;
8 17 4 nextName Ljava/lang/StringBuilder;
9 17 5 lastDot I
Exception table:
from to target type
4 5 6 Class java.lang.ClassNotFoundException
13 14 15 Class java.lang.ClassNotFoundException
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
typeName final
private static java.lang.Class<?> arrayType(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
aload 0
invokevirtual java.lang.String.length:()I
iconst_2
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic jdk.nashorn.internal.objects.NativeJava.type:(Ljava/lang/String;)Ljava/lang/Class;
iconst_0
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 typeName Ljava/lang/String;
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
typeName final
public static java.lang.Object extend(java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
ldc "extend.expects.at.least.one.argument"
iconst_0
anewarray java.lang.String
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
2: StackMap locals:
StackMap stack:
aload 1
arraylength
istore 2
start local 2 3: aload 1
iload 2
iconst_1
isub
aaload
instanceof jdk.nashorn.internal.runtime.ScriptObject
ifeq 8
4: aload 1
iload 2
iconst_1
isub
aaload
checkcast jdk.nashorn.internal.runtime.ScriptObject
astore 4
start local 4 5: iload 2
iconst_1
isub
istore 3
start local 3 6: iload 3
ifne 10
7: ldc "extend.expects.at.least.one.type.argument"
iconst_0
anewarray java.lang.String
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
end local 4 end local 3 8: StackMap locals: int
StackMap stack:
aconst_null
astore 4
start local 4 9: iload 2
istore 3
start local 3 10: StackMap locals: int jdk.nashorn.internal.runtime.ScriptObject
StackMap stack:
iload 3
anewarray java.lang.Class
astore 5
start local 5 11: iconst_0
istore 6
start local 6 12: goto 15
13: StackMap locals: java.lang.Class[] int
StackMap stack:
aload 5
iload 6
aload 1
iload 6
aaload
checkcast jdk.dynalink.beans.StaticClass
invokevirtual jdk.dynalink.beans.StaticClass.getRepresentedClass:()Ljava/lang/Class;
aastore
14: iinc 6 1
StackMap locals:
StackMap stack:
15: iload 6
iload 3
if_icmplt 13
end local 6 16: goto 19
StackMap locals: java.lang.Object java.lang.Object[] int int jdk.nashorn.internal.runtime.ScriptObject java.lang.Class[]
StackMap stack: java.lang.ClassCastException
17: pop
18: ldc "extend.expects.java.types"
iconst_0
anewarray java.lang.String
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
19: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.invoke.MethodHandles$Lookup
ifeq 22
20: aload 0
checkcast java.lang.invoke.MethodHandles$Lookup
astore 6
start local 6 21: goto 23
end local 6 22: StackMap locals:
StackMap stack:
invokestatic java.lang.invoke.MethodHandles.publicLookup:()Ljava/lang/invoke/MethodHandles$Lookup;
astore 6
start local 6 23: StackMap locals: java.lang.invoke.MethodHandles$Lookup
StackMap stack:
aload 5
aload 4
aload 6
invokestatic jdk.nashorn.internal.runtime.linker.JavaAdapterFactory.getAdapterClassFor:([Ljava/lang/Class;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/invoke/MethodHandles$Lookup;)Ljdk/dynalink/beans/StaticClass;
areturn
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 24 0 self Ljava/lang/Object;
0 24 1 types [Ljava/lang/Object;
3 24 2 l I
6 8 3 typesLen I
10 24 3 typesLen I
5 8 4 classOverrides Ljdk/nashorn/internal/runtime/ScriptObject;
9 24 4 classOverrides Ljdk/nashorn/internal/runtime/ScriptObject;
11 24 5 stypes [Ljava/lang/Class;
12 16 6 i I
21 22 6 lookup Ljava/lang/invoke/MethodHandles$Lookup;
23 24 6 lookup Ljava/lang/invoke/MethodHandles$Lookup;
Exception table:
from to target type
11 16 17 Class java.lang.ClassCastException
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
MethodParameters:
Name Flags
self final
types final
public static java.lang.Object _super(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.createSuperAdapter:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
0 1 1 adapter Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;, name = "super")
MethodParameters:
Name Flags
self final
adapter final
public static java.lang.Object asJSONCompatible(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
invokestatic jdk.nashorn.api.scripting.ScriptObjectMirror.wrapAsJSONCompatible:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
0 1 1 obj Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
MethodParameters:
Name Flags
self final
obj final
}
SourceFile: "NativeJava.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.ScriptClass(value = "Java")