public final class jdk.nashorn.internal.objects.NativeBoolean 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.objects.NativeBoolean
super_class: jdk.nashorn.internal.runtime.ScriptObject
{
private final boolean value;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final java.lang.invoke.MethodHandle WRAPFILTER;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle PROTOFILTER;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static jdk.nashorn.internal.runtime.PropertyMap $nasgenmap$;
descriptor: Ljdk/nashorn/internal/runtime/PropertyMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: ldc "wrapFilter"
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
ldc Ljdk/nashorn/internal/objects/NativeBoolean;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.type:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokestatic jdk.nashorn.internal.objects.NativeBoolean.findOwnMH:(Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.objects.NativeBoolean.WRAPFILTER:Ljava/lang/invoke/MethodHandle;
1: ldc "protoFilter"
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
ldc Ljava/lang/Object;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.type:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokestatic jdk.nashorn.internal.objects.NativeBoolean.findOwnMH:(Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.objects.NativeBoolean.PROTOFILTER:Ljava/lang/invoke/MethodHandle;
2: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(boolean, jdk.nashorn.internal.runtime.ScriptObject, jdk.nashorn.internal.runtime.PropertyMap);
descriptor: (ZLjdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/PropertyMap;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
aload 3
invokespecial jdk.nashorn.internal.runtime.ScriptObject.<init>:(Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/PropertyMap;)V
1: aload 0
iload 1
putfield jdk.nashorn.internal.objects.NativeBoolean.value:Z
2: return
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/objects/NativeBoolean;
0 3 1 value Z
0 3 2 proto Ljdk/nashorn/internal/runtime/ScriptObject;
0 3 3 map Ljdk/nashorn/internal/runtime/PropertyMap;
MethodParameters:
Name Flags
value final
proto final
map final
void <init>(boolean, jdk.nashorn.internal.objects.Global);
descriptor: (ZLjdk/nashorn/internal/objects/Global;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokevirtual jdk.nashorn.internal.objects.Global.getBooleanPrototype:()Ljdk/nashorn/internal/runtime/ScriptObject;
getstatic jdk.nashorn.internal.objects.NativeBoolean.$nasgenmap$:Ljdk/nashorn/internal/runtime/PropertyMap;
invokespecial jdk.nashorn.internal.objects.NativeBoolean.<init>:(ZLjdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/PropertyMap;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/objects/NativeBoolean;
0 2 1 flag Z
0 2 2 global Ljdk/nashorn/internal/objects/Global;
MethodParameters:
Name Flags
flag final
global final
void <init>(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokespecial jdk.nashorn.internal.objects.NativeBoolean.<init>:(ZLjdk/nashorn/internal/objects/Global;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/objects/NativeBoolean;
0 2 1 flag Z
MethodParameters:
Name Flags
flag final
public java.lang.String safeToString();
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 "[Boolean "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual jdk.nashorn.internal.objects.NativeBoolean.toString:()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/objects/NativeBoolean;
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: aload 0
invokevirtual jdk.nashorn.internal.objects.NativeBoolean.getValue:()Z
invokestatic java.lang.Boolean.toString:(Z)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeBoolean;
public boolean getValue();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.objects.NativeBoolean.booleanValue:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeBoolean;
public boolean booleanValue();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.objects.NativeBoolean.value:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeBoolean;
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 "Boolean"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeBoolean;
public static java.lang.String toString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeBoolean.getBoolean:(Ljava/lang/Object;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static boolean valueOf(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
invokestatic jdk.nashorn.internal.objects.NativeBoolean.getBoolean:(Ljava/lang/Object;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static java.lang.Object constructor(boolean, java.lang.Object, java.lang.Object);
descriptor: (ZLjava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic jdk.nashorn.internal.runtime.JSType.toBoolean:(Ljava/lang/Object;)Z
istore 3
start local 3 1: iload 0
ifeq 3
2: new jdk.nashorn.internal.objects.NativeBoolean
dup
iload 3
invokespecial jdk.nashorn.internal.objects.NativeBoolean.<init>:(Z)V
areturn
3: StackMap locals: int
StackMap stack:
iload 3
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 newObj Z
0 4 1 self Ljava/lang/Object;
0 4 2 value Ljava/lang/Object;
1 4 3 flag Z
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Constructor(arity = 1)
MethodParameters:
Name Flags
newObj final
self final
value final
private static java.lang.Boolean getBoolean(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Boolean;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.lang.Boolean
ifeq 2
1: aload 0
checkcast java.lang.Boolean
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof jdk.nashorn.internal.objects.NativeBoolean
ifeq 4
3: aload 0
checkcast jdk.nashorn.internal.objects.NativeBoolean
invokevirtual jdk.nashorn.internal.objects.NativeBoolean.getValue:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
4: StackMap locals:
StackMap stack:
aload 0
ifnull 6
aload 0
invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getBooleanPrototype:()Ljdk/nashorn/internal/runtime/ScriptObject;
if_acmpne 6
5: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
6: StackMap locals:
StackMap stack:
ldc "not.a.boolean"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
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 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 self Ljava/lang/Object;
MethodParameters:
Name Flags
self final
public static jdk.dynalink.linker.GuardedInvocation lookupPrimitive(jdk.dynalink.linker.LinkRequest, java.lang.Object);
descriptor: (Ljdk/dynalink/linker/LinkRequest;Ljava/lang/Object;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc Ljava/lang/Boolean;
new jdk.nashorn.internal.objects.NativeBoolean
dup
aload 1
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokespecial jdk.nashorn.internal.objects.NativeBoolean.<init>:(Z)V
getstatic jdk.nashorn.internal.objects.NativeBoolean.WRAPFILTER:Ljava/lang/invoke/MethodHandle;
getstatic jdk.nashorn.internal.objects.NativeBoolean.PROTOFILTER:Ljava/lang/invoke/MethodHandle;
invokestatic jdk.nashorn.internal.runtime.linker.PrimitiveLookup.lookupPrimitive:(Ljdk/dynalink/linker/LinkRequest;Ljava/lang/Class;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljdk/dynalink/linker/GuardedInvocation;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 request Ljdk/dynalink/linker/LinkRequest;
0 1 1 receiver Ljava/lang/Object;
MethodParameters:
Name Flags
request final
receiver final
private static jdk.nashorn.internal.objects.NativeBoolean wrapFilter(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeBoolean;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.nashorn.internal.objects.NativeBoolean
dup
aload 0
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokespecial jdk.nashorn.internal.objects.NativeBoolean.<init>:(Z)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 receiver Ljava/lang/Object;
MethodParameters:
Name Flags
receiver final
private static java.lang.Object protoFilter(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getBooleanPrototype:()Ljdk/nashorn/internal/runtime/ScriptObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 object Ljava/lang/Object;
MethodParameters:
Name Flags
object final
private static java.lang.invoke.MethodHandle findOwnMH(java.lang.String, java.lang.invoke.MethodType);
descriptor: (Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
ldc Ljdk/nashorn/internal/objects/NativeBoolean;
aload 0
aload 1
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 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
0 1 1 type Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
name final
type final
}
SourceFile: "NativeBoolean.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.ScriptClass(value = "Boolean")