public final class jdk.nashorn.internal.runtime.NativeJavaPackage extends jdk.nashorn.internal.runtime.ScriptObject
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.runtime.NativeJavaPackage
super_class: jdk.nashorn.internal.runtime.ScriptObject
{
private static final jdk.nashorn.internal.lookup.MethodHandleFunctionality MH;
descriptor: Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle CLASS_NOT_FOUND;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle TYPE_GUARD;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.getFunctionality:()Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
putstatic jdk.nashorn.internal.runtime.NativeJavaPackage.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
1: ldc "classNotFound"
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljdk/nashorn/internal/runtime/NativeJavaPackage;
aastore
invokestatic jdk.nashorn.internal.runtime.NativeJavaPackage.findOwnMH:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.NativeJavaPackage.CLASS_NOT_FOUND:Ljava/lang/invoke/MethodHandle;
2: ldc Ljdk/nashorn/internal/runtime/NativeJavaPackage;
invokestatic jdk.dynalink.linker.support.Guards.getClassGuard:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.NativeJavaPackage.TYPE_GUARD:Ljava/lang/invoke/MethodHandle;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljava/lang/String;Ljdk/nashorn/internal/runtime/ScriptObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
aconst_null
invokespecial jdk.nashorn.internal.runtime.ScriptObject.<init>:(Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/PropertyMap;)V
1: aload 1
invokestatic jdk.nashorn.internal.runtime.Context.checkPackageAccess:(Ljava/lang/String;)V
2: aload 0
aload 1
putfield jdk.nashorn.internal.runtime.NativeJavaPackage.name:Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/runtime/NativeJavaPackage;
0 4 1 name Ljava/lang/String;
0 4 2 proto Ljdk/nashorn/internal/runtime/ScriptObject;
MethodParameters:
Name Flags
name final
proto final
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 "JavaPackage"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/NativeJavaPackage;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.nashorn.internal.runtime.NativeJavaPackage
ifeq 2
1: aload 0
getfield jdk.nashorn.internal.runtime.NativeJavaPackage.name:Ljava/lang/String;
aload 1
checkcast jdk.nashorn.internal.runtime.NativeJavaPackage
getfield jdk.nashorn.internal.runtime.NativeJavaPackage.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/NativeJavaPackage;
0 3 1 other Ljava/lang/Object;
MethodParameters:
Name Flags
other final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.NativeJavaPackage.name:Ljava/lang/String;
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield jdk.nashorn.internal.runtime.NativeJavaPackage.name:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/NativeJavaPackage;
public java.lang.String getName();
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.internal.runtime.NativeJavaPackage.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/NativeJavaPackage;
public java.lang.String safeToString();
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.internal.runtime.NativeJavaPackage.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/NativeJavaPackage;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "[JavaPackage "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.nashorn.internal.runtime.NativeJavaPackage.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/NativeJavaPackage;
public getDefaultValue(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Ljava/lang/String;
if_acmpne 2
1: aload 0
invokevirtual jdk.nashorn.internal.runtime.NativeJavaPackage.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial jdk.nashorn.internal.runtime.ScriptObject.getDefaultValue:(Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/NativeJavaPackage;
0 3 1 hint Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
hint final
protected jdk.dynalink.linker.GuardedInvocation findNewMethod(jdk.dynalink.CallSiteDescriptor, jdk.dynalink.linker.LinkRequest);
descriptor: (Ljdk/dynalink/CallSiteDescriptor;Ljdk/dynalink/linker/LinkRequest;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic jdk.nashorn.internal.runtime.NativeJavaPackage.createClassNotFoundInvocation:(Ljdk/dynalink/CallSiteDescriptor;)Ljdk/dynalink/linker/GuardedInvocation;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/NativeJavaPackage;
0 1 1 desc Ljdk/dynalink/CallSiteDescriptor;
0 1 2 request Ljdk/dynalink/linker/LinkRequest;
MethodParameters:
Name Flags
desc final
request final
protected jdk.dynalink.linker.GuardedInvocation findCallMethod(jdk.dynalink.CallSiteDescriptor, jdk.dynalink.linker.LinkRequest);
descriptor: (Ljdk/dynalink/CallSiteDescriptor;Ljdk/dynalink/linker/LinkRequest;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic jdk.nashorn.internal.runtime.NativeJavaPackage.createClassNotFoundInvocation:(Ljdk/dynalink/CallSiteDescriptor;)Ljdk/dynalink/linker/GuardedInvocation;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/NativeJavaPackage;
0 1 1 desc Ljdk/dynalink/CallSiteDescriptor;
0 1 2 request Ljdk/dynalink/linker/LinkRequest;
MethodParameters:
Name Flags
desc final
request final
private static jdk.dynalink.linker.GuardedInvocation createClassNotFoundInvocation(jdk.dynalink.CallSiteDescriptor);
descriptor: (Ljdk/dynalink/CallSiteDescriptor;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.dynalink.CallSiteDescriptor.getMethodType:()Ljava/lang/invoke/MethodType;
astore 1
start local 1 1: new jdk.dynalink.linker.GuardedInvocation
dup
2: getstatic jdk.nashorn.internal.runtime.NativeJavaPackage.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.NativeJavaPackage.CLASS_NOT_FOUND:Ljava/lang/invoke/MethodHandle;
iconst_1
aload 1
invokevirtual java.lang.invoke.MethodType.parameterList:()Ljava/util/List;
iconst_1
aload 1
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
invokeinterface java.util.List.subList:(II)Ljava/util/List;
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.dropArguments:(Ljava/lang/invoke/MethodHandle;ILjava/util/List;)Ljava/lang/invoke/MethodHandle;
3: aload 1
iconst_0
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
ldc Ljdk/nashorn/internal/runtime/NativeJavaPackage;
if_acmpne 4
aconst_null
goto 5
StackMap locals: jdk.dynalink.CallSiteDescriptor java.lang.invoke.MethodType
StackMap stack: new 1 new 1 java.lang.invoke.MethodHandle
4: getstatic jdk.nashorn.internal.runtime.NativeJavaPackage.TYPE_GUARD:Ljava/lang/invoke/MethodHandle;
5: StackMap locals: jdk.dynalink.CallSiteDescriptor java.lang.invoke.MethodType
StackMap stack: new 1 new 1 java.lang.invoke.MethodHandle java.lang.invoke.MethodHandle
invokespecial jdk.dynalink.linker.GuardedInvocation.<init>:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 desc Ljdk/dynalink/CallSiteDescriptor;
1 6 1 type Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
desc final
private static void classNotFound(jdk.nashorn.internal.runtime.NativeJavaPackage);
descriptor: (Ljdk/nashorn/internal/runtime/NativeJavaPackage;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.ClassNotFoundException
dup
aload 0
getfield jdk.nashorn.internal.runtime.NativeJavaPackage.name:Ljava/lang/String;
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 pkg Ljdk/nashorn/internal/runtime/NativeJavaPackage;
Exceptions:
throws java.lang.ClassNotFoundException
MethodParameters:
Name Flags
pkg final
public static java.lang.Object __noSuchProperty__(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.AssertionError
dup
ldc "__noSuchProperty__ placeholder called"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
0 1 1 name Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
name final
public static java.lang.Object __noSuchMethod__(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=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.AssertionError
dup
ldc "__noSuchMethod__ placeholder called"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
0 1 1 args [Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
args final
public jdk.dynalink.linker.GuardedInvocation noSuchProperty(jdk.dynalink.CallSiteDescriptor, jdk.dynalink.linker.LinkRequest);
descriptor: (Ljdk/dynalink/CallSiteDescriptor;Ljdk/dynalink/linker/LinkRequest;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.getOperand:(Ljdk/dynalink/CallSiteDescriptor;)Ljava/lang/String;
astore 3
start local 3 1: aload 0
aload 3
invokevirtual jdk.nashorn.internal.runtime.NativeJavaPackage.createProperty:(Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 0
aload 1
aload 2
invokespecial jdk.nashorn.internal.runtime.ScriptObject.lookup:(Ljdk/dynalink/CallSiteDescriptor;Ljdk/dynalink/linker/LinkRequest;)Ljdk/dynalink/linker/GuardedInvocation;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/NativeJavaPackage;
0 3 1 desc Ljdk/dynalink/CallSiteDescriptor;
0 3 2 request Ljdk/dynalink/linker/LinkRequest;
1 3 3 propertyName Ljava/lang/String;
MethodParameters:
Name Flags
desc final
request final
protected java.lang.Object invokeNoSuchProperty(java.lang.Object, boolean, int);
descriptor: (Ljava/lang/Object;ZI)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
instanceof java.lang.String
ifne 2
1: aload 0
aload 1
iload 2
iload 3
invokespecial jdk.nashorn.internal.runtime.ScriptObject.invokeNoSuchProperty:(Ljava/lang/Object;ZI)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast java.lang.String
invokevirtual jdk.nashorn.internal.runtime.NativeJavaPackage.createProperty:(Ljava/lang/String;)Ljava/lang/Object;
astore 4
start local 4 3: iload 3
invokestatic jdk.nashorn.internal.runtime.UnwarrantedOptimismException.isValid:(I)Z
ifeq 5
4: new jdk.nashorn.internal.runtime.UnwarrantedOptimismException
dup
aload 4
iload 3
invokespecial jdk.nashorn.internal.runtime.UnwarrantedOptimismException.<init>:(Ljava/lang/Object;I)V
athrow
5: StackMap locals: java.lang.Object
StackMap stack:
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 6 0 this Ljdk/nashorn/internal/runtime/NativeJavaPackage;
0 6 1 key Ljava/lang/Object;
0 6 2 isScope Z
0 6 3 programPoint I
3 6 4 retval Ljava/lang/Object;
MethodParameters:
Name Flags
key final
isScope final
programPoint final
public jdk.dynalink.linker.GuardedInvocation noSuchMethod(jdk.dynalink.CallSiteDescriptor, jdk.dynalink.linker.LinkRequest);
descriptor: (Ljdk/dynalink/CallSiteDescriptor;Ljdk/dynalink/linker/LinkRequest;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual jdk.nashorn.internal.runtime.NativeJavaPackage.noSuchProperty:(Ljdk/dynalink/CallSiteDescriptor;Ljdk/dynalink/linker/LinkRequest;)Ljdk/dynalink/linker/GuardedInvocation;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/NativeJavaPackage;
0 1 1 desc Ljdk/dynalink/CallSiteDescriptor;
0 1 2 request Ljdk/dynalink/linker/LinkRequest;
MethodParameters:
Name Flags
desc final
request final
private static java.lang.invoke.MethodHandle findOwnMH(java.lang.String, java.lang.Class<?>, java.lang.Class<?>[]);
descriptor: (Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.nashorn.internal.runtime.NativeJavaPackage.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
ldc Ljdk/nashorn/internal/runtime/NativeJavaPackage;
aload 0
getstatic jdk.nashorn.internal.runtime.NativeJavaPackage.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 1
aload 2
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.type:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.findStatic:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
0 1 1 rtype Ljava/lang/Class<*>;
0 1 2 types [Ljava/lang/Class;
Signature: (Ljava/lang/String;Ljava/lang/Class<*>;[Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
name final
rtype final
types final
private java.lang.Object createProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.runtime.NativeJavaPackage.name:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 1
aload 1
goto 2
StackMap locals:
StackMap stack:
1: new java.lang.StringBuilder
dup
aload 0
getfield jdk.nashorn.internal.runtime.NativeJavaPackage.name:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: astore 2
start local 2 3: invokestatic jdk.nashorn.internal.runtime.Context.getContextTrusted:()Ljdk/nashorn/internal/runtime/Context;
astore 3
start local 3 4: aconst_null
astore 4
start local 4 5: aload 3
aload 2
invokevirtual jdk.nashorn.internal.runtime.Context.findClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
6: goto 8
StackMap locals: jdk.nashorn.internal.runtime.NativeJavaPackage java.lang.String java.lang.String jdk.nashorn.internal.runtime.Context java.lang.Class
StackMap stack: java.lang.Throwable
7: pop
8: StackMap locals:
StackMap stack:
aload 1
bipush 40
invokevirtual java.lang.String.indexOf:(I)I
istore 5
start local 5 9: aload 1
bipush 41
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 6
start local 6 10: iload 5
iconst_m1
if_icmpne 11
iload 6
iconst_m1
if_icmpeq 25
11: StackMap locals: int int
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
istore 7
start local 7 12: iload 5
iconst_m1
if_icmpeq 13
iload 6
iload 7
if_icmpeq 14
13: StackMap locals: int
StackMap stack:
ldc "improper.constructor.signature"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
aastore
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
14: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
getfield jdk.nashorn.internal.runtime.NativeJavaPackage.name:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 8
start local 8 15: aload 3
aload 8
invokevirtual jdk.nashorn.internal.runtime.Context.findClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
16: goto 19
StackMap locals: jdk.nashorn.internal.runtime.NativeJavaPackage java.lang.String java.lang.String jdk.nashorn.internal.runtime.Context java.lang.Class int int int java.lang.String
StackMap stack: java.lang.Throwable
17: astore 9
start local 9 18: aload 9
ldc "no.such.java.class"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 8
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 9 19: StackMap locals:
StackMap stack:
aload 4
aload 1
iload 5
iconst_1
iadd
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
20: invokestatic jdk.dynalink.beans.BeansLinker.getConstructorMethod:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
astore 9
start local 9 21: aload 9
ifnull 24
22: aload 0
aload 1
aload 9
iconst_0
invokevirtual jdk.nashorn.internal.runtime.NativeJavaPackage.set:(Ljava/lang/Object;Ljava/lang/Object;I)V
23: aload 9
areturn
24: StackMap locals: java.lang.Object
StackMap stack:
ldc "no.such.java.constructor"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
aastore
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
end local 9 end local 8 end local 7 25: StackMap locals:
StackMap stack:
aload 4
ifnonnull 28
26: new jdk.nashorn.internal.runtime.NativeJavaPackage
dup
aload 2
aload 0
invokevirtual jdk.nashorn.internal.runtime.NativeJavaPackage.getProto:()Ljdk/nashorn/internal/runtime/ScriptObject;
invokespecial jdk.nashorn.internal.runtime.NativeJavaPackage.<init>:(Ljava/lang/String;Ljdk/nashorn/internal/runtime/ScriptObject;)V
astore 7
start local 7 27: goto 29
end local 7 28: StackMap locals:
StackMap stack:
aload 4
invokestatic jdk.dynalink.beans.StaticClass.forClass:(Ljava/lang/Class;)Ljdk/dynalink/beans/StaticClass;
astore 7
start local 7 29: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 1
aload 7
iconst_0
invokevirtual jdk.nashorn.internal.runtime.NativeJavaPackage.set:(Ljava/lang/Object;Ljava/lang/Object;I)V
30: aload 7
areturn
end local 7 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 31 0 this Ljdk/nashorn/internal/runtime/NativeJavaPackage;
0 31 1 propertyName Ljava/lang/String;
3 31 2 fullName Ljava/lang/String;
4 31 3 context Ljdk/nashorn/internal/runtime/Context;
5 31 4 javaClass Ljava/lang/Class<*>;
9 31 5 openBrace I
10 31 6 closeBrace I
12 25 7 lastChar I
15 25 8 className Ljava/lang/String;
18 19 9 e Ljava/lang/Throwable;
21 25 9 constructor Ljava/lang/Object;
27 28 7 propertyValue Ljava/lang/Object;
29 31 7 propertyValue Ljava/lang/Object;
Exception table:
from to target type
5 6 7 Class java.lang.NoClassDefFoundError
5 6 7 Class java.lang.ClassNotFoundException
15 16 17 Class java.lang.NoClassDefFoundError
15 16 17 Class java.lang.ClassNotFoundException
MethodParameters:
Name Flags
propertyName final
}
SourceFile: "NativeJavaPackage.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles