public abstract class jdk.nashorn.internal.objects.ArrayBufferView$Factory
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.nashorn.internal.objects.ArrayBufferView$Factory
super_class: java.lang.Object
{
final int bytesPerElement;
descriptor: I
flags: (0x0010) ACC_FINAL
final int maxElementLength;
descriptor: I
flags: (0x0010) ACC_FINAL
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield jdk.nashorn.internal.objects.ArrayBufferView$Factory.bytesPerElement:I
2: aload 0
ldc 2147483647
iload 1
idiv
putfield jdk.nashorn.internal.objects.ArrayBufferView$Factory.maxElementLength:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/objects/ArrayBufferView$Factory;
0 4 1 bytesPerElement I
MethodParameters:
Name Flags
bytesPerElement final
public final jdk.nashorn.internal.objects.ArrayBufferView construct(int);
descriptor: (I)Ljdk/nashorn/internal/objects/ArrayBufferView;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield jdk.nashorn.internal.objects.ArrayBufferView$Factory.maxElementLength:I
if_icmple 2
1: ldc "inappropriate.array.buffer.length"
iconst_1
anewarray java.lang.String
dup
iconst_0
iload 1
invokestatic jdk.nashorn.internal.runtime.JSType.toString:(I)Ljava/lang/String;
aastore
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.rangeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
new jdk.nashorn.internal.objects.NativeArrayBuffer
dup
iload 1
aload 0
getfield jdk.nashorn.internal.objects.ArrayBufferView$Factory.bytesPerElement:I
imul
invokespecial jdk.nashorn.internal.objects.NativeArrayBuffer.<init>:(I)V
iconst_0
iload 1
invokevirtual jdk.nashorn.internal.objects.ArrayBufferView$Factory.construct:(Ljdk/nashorn/internal/objects/NativeArrayBuffer;II)Ljdk/nashorn/internal/objects/ArrayBufferView;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/objects/ArrayBufferView$Factory;
0 3 1 elementLength I
MethodParameters:
Name Flags
elementLength final
public abstract jdk.nashorn.internal.objects.ArrayBufferView construct(jdk.nashorn.internal.objects.NativeArrayBuffer, int, int);
descriptor: (Ljdk/nashorn/internal/objects/NativeArrayBuffer;II)Ljdk/nashorn/internal/objects/ArrayBufferView;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
buffer final
byteOffset final
elementLength final
public abstract jdk.nashorn.internal.runtime.arrays.TypedArrayData<?> createArrayData(java.nio.ByteBuffer, int, int);
descriptor: (Ljava/nio/ByteBuffer;II)Ljdk/nashorn/internal/runtime/arrays/TypedArrayData;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/nio/ByteBuffer;II)Ljdk/nashorn/internal/runtime/arrays/TypedArrayData<*>;
MethodParameters:
Name Flags
nb final
start final
end final
public abstract java.lang.String getClassName();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
}
SourceFile: "ArrayBufferView.java"
NestHost: jdk.nashorn.internal.objects.ArrayBufferView
InnerClasses:
protected abstract Factory = jdk.nashorn.internal.objects.ArrayBufferView$Factory of jdk.nashorn.internal.objects.ArrayBufferView