public final class com.sun.webkit.SharedBuffer
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.webkit.SharedBuffer
super_class: java.lang.Object
{
private long nativePointer;
descriptor: J
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic com.sun.webkit.SharedBuffer.twkCreate:()J
putfield com.sun.webkit.SharedBuffer.nativePointer:J
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/webkit/SharedBuffer;
private void <init>(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: lload 1
lconst_0
lcmp
ifne 3
2: new java.lang.IllegalArgumentException
dup
ldc "nativePointer is 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: com.sun.webkit.SharedBuffer long
StackMap stack:
aload 0
lload 1
putfield com.sun.webkit.SharedBuffer.nativePointer:J
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/webkit/SharedBuffer;
0 5 1 nativePointer J
MethodParameters:
Name Flags
nativePointer
private static com.sun.webkit.SharedBuffer fwkCreate(long);
descriptor: (J)Lcom/sun/webkit/SharedBuffer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new com.sun.webkit.SharedBuffer
dup
lload 0
invokespecial com.sun.webkit.SharedBuffer.<init>:(J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 nativePointer J
MethodParameters:
Name Flags
nativePointer
long size();
descriptor: ()J
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.webkit.SharedBuffer.nativePointer:J
lconst_0
lcmp
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "nativePointer is 0"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.webkit.SharedBuffer.nativePointer:J
invokestatic com.sun.webkit.SharedBuffer.twkSize:(J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/webkit/SharedBuffer;
int getSomeData(long, byte[], int, int);
descriptor: (J[BII)I
flags: (0x0000)
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 3 start local 4 start local 5 0: aload 0
getfield com.sun.webkit.SharedBuffer.nativePointer:J
lconst_0
lcmp
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "nativePointer is 0"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifge 4
3: new java.lang.IndexOutOfBoundsException
dup
ldc "position is negative"
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
lload 1
aload 0
invokevirtual com.sun.webkit.SharedBuffer.size:()J
lcmp
ifle 8
5: new java.lang.IndexOutOfBoundsException
dup
6: ldc "position is greater than size"
7: invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 3
ifnonnull 10
9: new java.lang.NullPointerException
dup
ldc "buffer is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
iload 4
ifge 12
11: new java.lang.IndexOutOfBoundsException
dup
ldc "offset is negative"
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
iload 5
ifge 14
13: new java.lang.IndexOutOfBoundsException
dup
ldc "length is negative"
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
iload 5
aload 3
arraylength
iload 4
isub
if_icmple 18
15: new java.lang.IndexOutOfBoundsException
dup
16: ldc "length is greater than buffer.length - offset"
17: invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.webkit.SharedBuffer.nativePointer:J
lload 1
aload 3
iload 4
iload 5
invokestatic com.sun.webkit.SharedBuffer.twkGetSomeData:(JJ[BII)I
ireturn
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/webkit/SharedBuffer;
0 19 1 position J
0 19 3 buffer [B
0 19 4 offset I
0 19 5 length I
MethodParameters:
Name Flags
position
buffer
offset
length
void append(byte[], int, int);
descriptor: ([BII)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.webkit.SharedBuffer.nativePointer:J
lconst_0
lcmp
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "nativePointer is 0"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "buffer is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 2
ifge 6
5: new java.lang.IndexOutOfBoundsException
dup
ldc "offset is negative"
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
iload 3
ifge 8
7: new java.lang.IndexOutOfBoundsException
dup
ldc "length is negative"
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
iload 3
aload 1
arraylength
iload 2
isub
if_icmple 12
9: new java.lang.IndexOutOfBoundsException
dup
10: ldc "length is greater than buffer.length - offset"
11: invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.webkit.SharedBuffer.nativePointer:J
aload 1
iload 2
iload 3
invokestatic com.sun.webkit.SharedBuffer.twkAppend:(J[BII)V
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/webkit/SharedBuffer;
0 14 1 buffer [B
0 14 2 offset I
0 14 3 length I
MethodParameters:
Name Flags
buffer
offset
length
void dispose();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.webkit.SharedBuffer.nativePointer:J
lconst_0
lcmp
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "nativePointer is 0"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.webkit.SharedBuffer.nativePointer:J
invokestatic com.sun.webkit.SharedBuffer.twkDispose:(J)V
3: aload 0
lconst_0
putfield com.sun.webkit.SharedBuffer.nativePointer:J
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/webkit/SharedBuffer;
private static native long twkCreate();
descriptor: ()J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native long twkSize(long);
descriptor: (J)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
nativePointer
private static native int twkGetSomeData(long, long, byte[], int, int);
descriptor: (JJ[BII)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
nativePointer
position
buffer
offset
length
private static native void twkAppend(long, byte[], int, int);
descriptor: (J[BII)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
nativePointer
buffer
offset
length
private static native void twkDispose(long);
descriptor: (J)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
nativePointer
}
SourceFile: "SharedBuffer.java"