public abstract class com.sun.pisces.AbstractSurface implements com.sun.pisces.Surface
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.pisces.AbstractSurface
super_class: java.lang.Object
{
private long nativePtr;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int width;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int height;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lconst_0
putfield com.sun.pisces.AbstractSurface.nativePtr:J
2: iload 1
ifge 4
3: new java.lang.IllegalArgumentException
dup
ldc "WIDTH must be positive"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: com.sun.pisces.AbstractSurface int int
StackMap stack:
iload 2
ifge 6
5: new java.lang.IllegalArgumentException
dup
ldc "HEIGHT must be positive"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
bipush 32
iload 1
invokestatic java.lang.Integer.numberOfLeadingZeros:(I)I
isub
bipush 32
iadd
iload 2
invokestatic java.lang.Integer.numberOfLeadingZeros:(I)I
isub
istore 3
start local 3 7: iload 3
bipush 31
if_icmple 9
8: new java.lang.IllegalArgumentException
dup
ldc "WIDTH * HEIGHT is too large"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: int
StackMap stack:
aload 0
iload 1
putfield com.sun.pisces.AbstractSurface.width:I
10: aload 0
iload 2
putfield com.sun.pisces.AbstractSurface.height:I
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/pisces/AbstractSurface;
0 12 1 width I
0 12 2 height I
7 12 3 nbits I
MethodParameters:
Name Flags
width
height
protected void addDisposerRecord();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
new com.sun.pisces.AbstractSurface$AbstractSurfaceDisposerRecord
dup
aload 0
getfield com.sun.pisces.AbstractSurface.nativePtr:J
invokespecial com.sun.pisces.AbstractSurface$AbstractSurfaceDisposerRecord.<init>:(J)V
invokestatic com.sun.prism.impl.Disposer.addRecord:(Ljava/lang/Object;Lcom/sun/prism/impl/Disposer$Record;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/pisces/AbstractSurface;
public final void getRGB(int[], int, int, int, int, int, int);
descriptor: ([IIIIIII)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=8, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
arraylength
iload 2
iload 3
iload 4
iload 5
iload 6
iload 7
invokevirtual com.sun.pisces.AbstractSurface.rgbCheck:(IIIIIII)V
1: aload 0
aload 1
iload 2
iload 3
iload 4
iload 5
iload 6
iload 7
invokevirtual com.sun.pisces.AbstractSurface.getRGBImpl:([IIIIIII)V
2: return
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 3 0 this Lcom/sun/pisces/AbstractSurface;
0 3 1 argb [I
0 3 2 offset I
0 3 3 scanLength I
0 3 4 x I
0 3 5 y I
0 3 6 width I
0 3 7 height I
MethodParameters:
Name Flags
argb
offset
scanLength
x
y
width
height
private native void getRGBImpl(int[], int, int, int, int, int, int);
descriptor: ([IIIIIII)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
argb
offset
scanLength
x
y
width
height
public final void setRGB(int[], int, int, int, int, int, int);
descriptor: ([IIIIIII)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=8, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
arraylength
iload 2
iload 3
iload 4
iload 5
iload 6
iload 7
invokevirtual com.sun.pisces.AbstractSurface.rgbCheck:(IIIIIII)V
1: aload 0
aload 1
iload 2
iload 3
iload 4
iload 5
iload 6
iload 7
invokevirtual com.sun.pisces.AbstractSurface.setRGBImpl:([IIIIIII)V
2: return
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 3 0 this Lcom/sun/pisces/AbstractSurface;
0 3 1 argb [I
0 3 2 offset I
0 3 3 scanLength I
0 3 4 x I
0 3 5 y I
0 3 6 width I
0 3 7 height I
MethodParameters:
Name Flags
argb
offset
scanLength
x
y
width
height
private native void setRGBImpl(int[], int, int, int, int, int, int);
descriptor: ([IIIIIII)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
argb
offset
scanLength
x
y
width
height
private void rgbCheck(int, int, int, int, int, int, int);
descriptor: (IIIIIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: iload 4
iflt 1
iload 4
aload 0
getfield com.sun.pisces.AbstractSurface.width:I
if_icmplt 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "X is out of surface"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 5
iflt 3
iload 5
aload 0
getfield com.sun.pisces.AbstractSurface.height:I
if_icmplt 4
3: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Y is out of surface"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 6
ifge 6
5: new java.lang.IllegalArgumentException
dup
ldc "WIDTH must be positive"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
iload 7
ifge 8
7: new java.lang.IllegalArgumentException
dup
ldc "HEIGHT must be positive"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
iload 4
iload 6
iadd
aload 0
getfield com.sun.pisces.AbstractSurface.width:I
if_icmple 10
9: new java.lang.IllegalArgumentException
dup
ldc "X+WIDTH is out of surface"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
iload 5
iload 7
iadd
aload 0
getfield com.sun.pisces.AbstractSurface.height:I
if_icmple 12
11: new java.lang.IllegalArgumentException
dup
ldc "Y+HEIGHT is out of surface"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
iload 2
ifge 14
13: new java.lang.IllegalArgumentException
dup
ldc "OFFSET must be positive"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
iload 3
ifge 16
15: new java.lang.IllegalArgumentException
dup
ldc "SCAN-LENGTH must be positive"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
iload 3
iload 6
if_icmpge 18
17: new java.lang.IllegalArgumentException
dup
ldc "SCAN-LENGTH must be >= WIDTH"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
bipush 32
iload 3
invokestatic java.lang.Integer.numberOfLeadingZeros:(I)I
isub
bipush 32
iadd
iload 7
invokestatic java.lang.Integer.numberOfLeadingZeros:(I)I
isub
istore 8
start local 8 19: iload 8
bipush 31
if_icmple 21
20: new java.lang.IllegalArgumentException
dup
ldc "SCAN-LENGTH * HEIGHT is too large"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals: int
StackMap stack:
iload 2
iload 3
iload 7
iconst_1
isub
imul
iadd
iload 6
iadd
iload 1
if_icmple 23
22: new java.lang.IllegalArgumentException
dup
ldc "STRIDE * HEIGHT exceeds length of data"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack:
return
end local 8 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 24 0 this Lcom/sun/pisces/AbstractSurface;
0 24 1 arr_length I
0 24 2 offset I
0 24 3 scanLength I
0 24 4 x I
0 24 5 y I
0 24 6 width I
0 24 7 height I
19 24 8 nbits I
MethodParameters:
Name Flags
arr_length
offset
scanLength
x
y
width
height
private static native void disposeNative(long);
descriptor: (J)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
nativeHandle
public final int getWidth();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.pisces.AbstractSurface.width:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/pisces/AbstractSurface;
public final int getHeight();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.pisces.AbstractSurface.height:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/pisces/AbstractSurface;
}
SourceFile: "AbstractSurface.java"
NestMembers:
com.sun.pisces.AbstractSurface$AbstractSurfaceDisposerRecord
InnerClasses:
private AbstractSurfaceDisposerRecord = com.sun.pisces.AbstractSurface$AbstractSurfaceDisposerRecord of com.sun.pisces.AbstractSurface
public abstract Record = com.sun.prism.impl.Disposer$Record of com.sun.prism.impl.Disposer