final class jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData extends jdk.nashorn.internal.runtime.arrays.TypedArrayData<java.nio.ByteBuffer>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData
super_class: jdk.nashorn.internal.runtime.arrays.TypedArrayData
{
private static final java.lang.invoke.MethodHandle GET_ELEM;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle SET_ELEM;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle RINT_D;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle RINT_O;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=0, args_size=0
0: invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
ldc Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
ldc "getElem"
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
iconst_1
anewarray java.lang.Class
dup
iconst_0
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
invokestatic jdk.nashorn.internal.codegen.CompilerConstants.specialCall:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljdk/nashorn/internal/codegen/CompilerConstants$Call;
invokevirtual jdk.nashorn.internal.codegen.CompilerConstants$Call.methodHandle:()Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.GET_ELEM:Ljava/lang/invoke/MethodHandle;
1: invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
ldc Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
ldc "setElem"
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
iconst_2
anewarray java.lang.Class
dup
iconst_0
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
dup
iconst_1
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
invokestatic jdk.nashorn.internal.codegen.CompilerConstants.specialCall:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljdk/nashorn/internal/codegen/CompilerConstants$Call;
invokevirtual jdk.nashorn.internal.codegen.CompilerConstants$Call.methodHandle:()Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.SET_ELEM:Ljava/lang/invoke/MethodHandle;
2: invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
ldc Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
ldc "rint"
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
iconst_1
anewarray java.lang.Class
dup
iconst_0
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
aastore
invokestatic jdk.nashorn.internal.codegen.CompilerConstants.staticCall:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljdk/nashorn/internal/codegen/CompilerConstants$Call;
invokevirtual jdk.nashorn.internal.codegen.CompilerConstants$Call.methodHandle:()Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.RINT_D:Ljava/lang/invoke/MethodHandle;
3: invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
ldc Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
ldc "rint"
ldc Ljava/lang/Object;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokestatic jdk.nashorn.internal.codegen.CompilerConstants.staticCall:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljdk/nashorn/internal/codegen/CompilerConstants$Call;
invokevirtual jdk.nashorn.internal.codegen.CompilerConstants$Call.methodHandle:()Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.RINT_O:Ljava/lang/invoke/MethodHandle;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.nio.ByteBuffer, int, int);
descriptor: (Ljava/nio/ByteBuffer;II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
iload 3
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
iload 3
iload 2
isub
invokespecial jdk.nashorn.internal.runtime.arrays.TypedArrayData.<init>:(Ljava/nio/Buffer;I)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
0 2 1 nb Ljava/nio/ByteBuffer;
0 2 2 start I
0 2 3 end I
MethodParameters:
Name Flags
nb final
start final
end final
protected java.lang.invoke.MethodHandle getGetElem();
descriptor: ()Ljava/lang/invoke/MethodHandle;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.GET_ELEM:Ljava/lang/invoke/MethodHandle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
protected java.lang.invoke.MethodHandle getSetElem();
descriptor: ()Ljava/lang/invoke/MethodHandle;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.SET_ELEM:Ljava/lang/invoke/MethodHandle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
public java.lang.Class<?> getElementType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
Signature: ()Ljava/lang/Class<*>;
public java.lang.Class<?> getBoxedElementType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
Signature: ()Ljava/lang/Class<*>;
private int getElem(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.nb:Ljava/nio/Buffer;
checkcast java.nio.ByteBuffer
iload 1
invokevirtual java.nio.ByteBuffer.get:(I)B
sipush 255
iand
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.IndexOutOfBoundsException
pop
3: new java.lang.ClassCastException
dup
invokespecial java.lang.ClassCastException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
0 4 1 index I
Exception table:
from to target type
0 1 2 Class java.lang.IndexOutOfBoundsException
MethodParameters:
Name Flags
index final
public java.lang.invoke.MethodHandle getElementSetter(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial jdk.nashorn.internal.runtime.arrays.TypedArrayData.getElementSetter:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
astore 2
start local 2 1: aload 2
ifnull 6
2: aload 1
ldc Ljava/lang/Object;
if_acmpne 4
3: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 2
iconst_2
iconst_1
anewarray java.lang.invoke.MethodHandle
dup
iconst_0
getstatic jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.RINT_O:Ljava/lang/invoke/MethodHandle;
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.filterArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
areturn
4: StackMap locals: java.lang.invoke.MethodHandle
StackMap stack:
aload 1
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
if_acmpne 6
5: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 2
iconst_2
iconst_1
anewarray java.lang.invoke.MethodHandle
dup
iconst_0
getstatic jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.RINT_D:Ljava/lang/invoke/MethodHandle;
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.filterArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
areturn
6: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
0 7 1 elementType Ljava/lang/Class<*>;
1 7 2 setter Ljava/lang/invoke/MethodHandle;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
elementType final
private void setElem(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
getfield jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.nb:Ljava/nio/Buffer;
checkcast java.nio.ByteBuffer
invokevirtual java.nio.ByteBuffer.limit:()I
if_icmpge 11
1: iload 2
sipush -256
iand
ifne 4
2: iload 2
i2b
istore 3
start local 3 3: goto 7
end local 3 4: StackMap locals:
StackMap stack:
iload 2
ifge 5
iconst_0
goto 6
StackMap locals:
StackMap stack:
5: iconst_m1
StackMap locals:
StackMap stack: int
6: istore 3
start local 3 7: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.nb:Ljava/nio/Buffer;
checkcast java.nio.ByteBuffer
iload 1
iload 3
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
end local 3 8: goto 11
StackMap locals: jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData int int
StackMap stack: java.lang.IndexOutOfBoundsException
9: pop
10: new java.lang.ClassCastException
dup
invokespecial java.lang.ClassCastException.<init>:()V
athrow
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
0 12 1 index I
0 12 2 elem I
3 4 3 clamped B
7 8 3 clamped B
Exception table:
from to target type
0 8 9 Class java.lang.IndexOutOfBoundsException
MethodParameters:
Name Flags
index final
elem final
public boolean isClamped();
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 Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
public boolean isUnsigned();
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 Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
public int getInt(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.getElem:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
0 1 1 index I
MethodParameters:
Name Flags
index final
public int getIntOptimistic(int, int);
descriptor: (II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.getElem:(I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
0 1 1 index I
0 1 2 programPoint I
MethodParameters:
Name Flags
index final
programPoint final
public double getDouble(int);
descriptor: (I)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.getInt:(I)I
i2d
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
0 1 1 index I
MethodParameters:
Name Flags
index final
public double getDoubleOptimistic(int, int);
descriptor: (II)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.getElem:(I)I
i2d
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
0 1 1 index I
0 1 2 programPoint I
MethodParameters:
Name Flags
index final
programPoint final
public java.lang.Object getObject(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.getInt:(I)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
0 1 1 index I
MethodParameters:
Name Flags
index final
public jdk.nashorn.internal.runtime.arrays.ArrayData set(int, java.lang.Object, boolean);
descriptor: (ILjava/lang/Object;Z)Ljdk/nashorn/internal/runtime/arrays/ArrayData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
invokestatic jdk.nashorn.internal.runtime.JSType.toNumber:(Ljava/lang/Object;)D
iload 3
invokevirtual jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.set:(IDZ)Ljdk/nashorn/internal/runtime/arrays/ArrayData;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
0 1 1 index I
0 1 2 value Ljava/lang/Object;
0 1 3 strict Z
MethodParameters:
Name Flags
index final
value final
strict final
public jdk.nashorn.internal.runtime.arrays.ArrayData set(int, int, boolean);
descriptor: (IIZ)Ljdk/nashorn/internal/runtime/arrays/ArrayData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iload 2
invokevirtual jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.setElem:(II)V
1: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
0 2 1 index I
0 2 2 value I
0 2 3 strict Z
MethodParameters:
Name Flags
index final
value final
strict final
public jdk.nashorn.internal.runtime.arrays.ArrayData set(int, double, boolean);
descriptor: (IDZ)Ljdk/nashorn/internal/runtime/arrays/ArrayData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
iload 1
dload 2
invokestatic jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.rint:(D)D
d2i
iload 4
invokevirtual jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.set:(IIZ)Ljdk/nashorn/internal/runtime/arrays/ArrayData;
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeUint8ClampedArray$Uint8ClampedArrayData;
0 1 1 index I
0 1 2 value D
0 1 4 strict Z
MethodParameters:
Name Flags
index final
value final
strict final
private static double rint(double);
descriptor: (D)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: dload 0
invokestatic java.lang.Math.rint:(D)D
d2i
i2d
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 rint D
MethodParameters:
Name Flags
rint final
private static java.lang.Object rint(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.runtime.JSType.toNumber:(Ljava/lang/Object;)D
invokestatic jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData.rint:(D)D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 rint Ljava/lang/Object;
MethodParameters:
Name Flags
rint final
}
Signature: Ljdk/nashorn/internal/runtime/arrays/TypedArrayData<Ljava/nio/ByteBuffer;>;
SourceFile: "NativeUint8ClampedArray.java"
NestHost: jdk.nashorn.internal.objects.NativeUint8ClampedArray
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Call = jdk.nashorn.internal.codegen.CompilerConstants$Call of jdk.nashorn.internal.codegen.CompilerConstants
private final Uint8ClampedArrayData = jdk.nashorn.internal.objects.NativeUint8ClampedArray$Uint8ClampedArrayData of jdk.nashorn.internal.objects.NativeUint8ClampedArray