abstract class com.sun.prism.Image$BaseAccessor<I extends java.nio.Buffer> extends com.sun.prism.Image$Accessor<I>
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.prism.Image$BaseAccessor
super_class: com.sun.prism.Image$Accessor
{
javafx.scene.image.PixelFormat<I> theFormat;
descriptor: Ljavafx/scene/image/PixelFormat;
flags: (0x0000)
Signature: Ljavafx/scene/image/PixelFormat<TI;>;
com.sun.javafx.image.PixelGetter<I> theGetter;
descriptor: Lcom/sun/javafx/image/PixelGetter;
flags: (0x0000)
Signature: Lcom/sun/javafx/image/PixelGetter<TI;>;
com.sun.javafx.image.PixelSetter<I> theSetter;
descriptor: Lcom/sun/javafx/image/PixelSetter;
flags: (0x0000)
Signature: Lcom/sun/javafx/image/PixelSetter<TI;>;
I theBuffer;
descriptor: Ljava/nio/Buffer;
flags: (0x0000)
Signature: TI;
int pixelElems;
descriptor: I
flags: (0x0000)
int scanlineElems;
descriptor: I
flags: (0x0000)
int offsetElems;
descriptor: I
flags: (0x0000)
final com.sun.prism.Image this$0;
descriptor: Lcom/sun/prism/Image;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(javafx.scene.image.PixelFormat<I>, I, );
descriptor: (Lcom/sun/prism/Image;Ljavafx/scene/image/PixelFormat;Ljava/nio/Buffer;I)V
flags: (0x0000)
Code:
stack=7, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 2
invokestatic com.sun.javafx.image.PixelUtils.getGetter:(Ljavafx/scene/image/PixelFormat;)Lcom/sun/javafx/image/PixelGetter;
aload 2
invokestatic com.sun.prism.Image.getSetterIfWritable:(Ljavafx/scene/image/PixelFormat;)Lcom/sun/javafx/image/PixelSetter;
1: aload 3
iload 4
invokespecial com.sun.prism.Image$BaseAccessor.<init>:(Lcom/sun/prism/Image;Ljavafx/scene/image/PixelFormat;Lcom/sun/javafx/image/PixelGetter;Lcom/sun/javafx/image/PixelSetter;Ljava/nio/Buffer;I)V
2: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/Image$BaseAccessor<TI;>;
0 3 2 theFormat Ljavafx/scene/image/PixelFormat<TI;>;
0 3 3 buffer TI;
0 3 4 pixelStride I
Signature: (Ljavafx/scene/image/PixelFormat<TI;>;TI;I)V
MethodParameters:
Name Flags
this$0 final
theFormat
buffer
pixelStride
void <init>(javafx.scene.image.PixelFormat<I>, com.sun.javafx.image.PixelGetter<I>, com.sun.javafx.image.PixelSetter<I>, I, );
descriptor: (Lcom/sun/prism/Image;Ljavafx/scene/image/PixelFormat;Lcom/sun/javafx/image/PixelGetter;Lcom/sun/javafx/image/PixelSetter;Ljava/nio/Buffer;I)V
flags: (0x0000)
Code:
stack=4, locals=7, args_size=7
start local 0 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
putfield com.sun.prism.Image$BaseAccessor.this$0:Lcom/sun/prism/Image;
1: aload 0
aload 1
invokespecial com.sun.prism.Image$Accessor.<init>:(Lcom/sun/prism/Image;)V
2: aload 0
aload 2
putfield com.sun.prism.Image$BaseAccessor.theFormat:Ljavafx/scene/image/PixelFormat;
3: aload 0
aload 3
putfield com.sun.prism.Image$BaseAccessor.theGetter:Lcom/sun/javafx/image/PixelGetter;
4: aload 0
aload 4
putfield com.sun.prism.Image$BaseAccessor.theSetter:Lcom/sun/javafx/image/PixelSetter;
5: aload 0
aload 5
putfield com.sun.prism.Image$BaseAccessor.theBuffer:Ljava/nio/Buffer;
6: aload 0
iload 6
putfield com.sun.prism.Image$BaseAccessor.pixelElems:I
7: aload 0
aload 1
getfield com.sun.prism.Image.scanlineStride:I
aload 1
getfield com.sun.prism.Image.pixelFormat:Lcom/sun/prism/PixelFormat;
invokevirtual com.sun.prism.PixelFormat.getDataType:()Lcom/sun/prism/PixelFormat$DataType;
invokevirtual com.sun.prism.PixelFormat$DataType.getSizeInBytes:()I
idiv
putfield com.sun.prism.Image$BaseAccessor.scanlineElems:I
8: aload 0
aload 1
getfield com.sun.prism.Image.minY:I
aload 0
getfield com.sun.prism.Image$BaseAccessor.scanlineElems:I
imul
aload 1
getfield com.sun.prism.Image.minX:I
iload 6
imul
iadd
putfield com.sun.prism.Image$BaseAccessor.offsetElems:I
9: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/prism/Image$BaseAccessor<TI;>;
0 10 2 theFormat Ljavafx/scene/image/PixelFormat<TI;>;
0 10 3 getter Lcom/sun/javafx/image/PixelGetter<TI;>;
0 10 4 setter Lcom/sun/javafx/image/PixelSetter<TI;>;
0 10 5 buffer TI;
0 10 6 pixelStride I
Signature: (Ljavafx/scene/image/PixelFormat<TI;>;Lcom/sun/javafx/image/PixelGetter<TI;>;Lcom/sun/javafx/image/PixelSetter<TI;>;TI;I)V
MethodParameters:
Name Flags
this$0 final
theFormat
getter
setter
buffer
pixelStride
public int getIndex(int, int);
descriptor: (II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iflt 1
iload 2
iflt 1
iload 1
aload 0
getfield com.sun.prism.Image$BaseAccessor.this$0:Lcom/sun/prism/Image;
getfield com.sun.prism.Image.width:I
if_icmpge 1
iload 2
aload 0
getfield com.sun.prism.Image$BaseAccessor.this$0:Lcom/sun/prism/Image;
getfield com.sun.prism.Image.height:I
if_icmplt 2
1: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
new java.lang.StringBuilder
dup
iload 1
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.Image$BaseAccessor.offsetElems:I
iload 2
aload 0
getfield com.sun.prism.Image$BaseAccessor.scanlineElems:I
imul
iadd
iload 1
aload 0
getfield com.sun.prism.Image$BaseAccessor.pixelElems:I
imul
iadd
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/Image$BaseAccessor<TI;>;
0 3 1 x I
0 3 2 y I
MethodParameters:
Name Flags
x
y
public I getBuffer();
descriptor: ()Ljava/nio/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.Image$BaseAccessor.theBuffer:Ljava/nio/Buffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/Image$BaseAccessor<TI;>;
Signature: ()TI;
public com.sun.javafx.image.PixelGetter<I> getGetter();
descriptor: ()Lcom/sun/javafx/image/PixelGetter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.Image$BaseAccessor.theGetter:Lcom/sun/javafx/image/PixelGetter;
ifnonnull 2
1: new java.lang.UnsupportedOperationException
dup
ldc "Unsupported Image type"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.Image$BaseAccessor.theGetter:Lcom/sun/javafx/image/PixelGetter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/Image$BaseAccessor<TI;>;
Signature: ()Lcom/sun/javafx/image/PixelGetter<TI;>;
public com.sun.javafx.image.PixelSetter<I> getSetter();
descriptor: ()Lcom/sun/javafx/image/PixelSetter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.Image$BaseAccessor.theSetter:Lcom/sun/javafx/image/PixelSetter;
ifnonnull 2
1: new java.lang.UnsupportedOperationException
dup
ldc "Unsupported Image type"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.Image$BaseAccessor.theSetter:Lcom/sun/javafx/image/PixelSetter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/Image$BaseAccessor<TI;>;
Signature: ()Lcom/sun/javafx/image/PixelSetter<TI;>;
public javafx.scene.image.PixelFormat<I> getPlatformPixelFormat();
descriptor: ()Ljavafx/scene/image/PixelFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.Image$BaseAccessor.theFormat:Ljavafx/scene/image/PixelFormat;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/Image$BaseAccessor<TI;>;
Signature: ()Ljavafx/scene/image/PixelFormat<TI;>;
public boolean isWritable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.Image$BaseAccessor.theSetter:Lcom/sun/javafx/image/PixelSetter;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/Image$BaseAccessor<TI;>;
public com.sun.javafx.tk.PlatformImage promoteToWritableImage();
descriptor: ()Lcom/sun/javafx/tk/PlatformImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.Image$BaseAccessor.this$0:Lcom/sun/prism/Image;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/Image$BaseAccessor<TI;>;
public int getArgb(int, int);
descriptor: (II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.prism.Image$BaseAccessor.getGetter:()Lcom/sun/javafx/image/PixelGetter;
aload 0
invokevirtual com.sun.prism.Image$BaseAccessor.getBuffer:()Ljava/nio/Buffer;
aload 0
iload 1
iload 2
invokevirtual com.sun.prism.Image$BaseAccessor.getIndex:(II)I
invokeinterface com.sun.javafx.image.PixelGetter.getArgb:(Ljava/nio/Buffer;I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/Image$BaseAccessor<TI;>;
0 1 1 x I
0 1 2 y I
MethodParameters:
Name Flags
x
y
public void setArgb(int, int, int);
descriptor: (III)V
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
invokevirtual com.sun.prism.Image$BaseAccessor.getSetter:()Lcom/sun/javafx/image/PixelSetter;
aload 0
invokevirtual com.sun.prism.Image$BaseAccessor.getBuffer:()Ljava/nio/Buffer;
aload 0
iload 1
iload 2
invokevirtual com.sun.prism.Image$BaseAccessor.getIndex:(II)I
iload 3
invokeinterface com.sun.javafx.image.PixelSetter.setArgb:(Ljava/nio/Buffer;II)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 Lcom/sun/prism/Image$BaseAccessor<TI;>;
0 2 1 x I
0 2 2 y I
0 2 3 argb I
MethodParameters:
Name Flags
x
y
argb
public <T extends java.nio.Buffer> void getPixels(int, int, int, int, javafx.scene.image.WritablePixelFormat<T>, T, );
descriptor: (IIIILjavafx/scene/image/WritablePixelFormat;Ljava/nio/Buffer;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=11, 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 5
invokestatic com.sun.javafx.image.PixelUtils.getSetter:(Ljavafx/scene/image/WritablePixelFormat;)Lcom/sun/javafx/image/PixelSetter;
astore 8
start local 8 1: aload 0
invokevirtual com.sun.prism.Image$BaseAccessor.getGetter:()Lcom/sun/javafx/image/PixelGetter;
aload 8
invokestatic com.sun.javafx.image.PixelUtils.getConverter:(Lcom/sun/javafx/image/PixelGetter;Lcom/sun/javafx/image/PixelSetter;)Lcom/sun/javafx/image/PixelConverter;
2: astore 9
start local 9 3: aload 6
invokevirtual java.nio.Buffer.position:()I
istore 10
start local 10 4: aload 9
aload 0
invokevirtual com.sun.prism.Image$BaseAccessor.getBuffer:()Ljava/nio/Buffer;
aload 0
iload 1
iload 2
invokevirtual com.sun.prism.Image$BaseAccessor.getIndex:(II)I
aload 0
getfield com.sun.prism.Image$BaseAccessor.scanlineElems:I
5: aload 6
iload 10
iload 7
6: iload 3
iload 4
7: invokeinterface com.sun.javafx.image.PixelConverter.convert:(Ljava/nio/Buffer;IILjava/nio/Buffer;IIII)V
8: return
end local 10 end local 9 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 9 0 this Lcom/sun/prism/Image$BaseAccessor<TI;>;
0 9 1 x I
0 9 2 y I
0 9 3 w I
0 9 4 h I
0 9 5 pixelformat Ljavafx/scene/image/WritablePixelFormat<TT;>;
0 9 6 dstbuf TT;
0 9 7 dstScanlineElems I
1 9 8 setter Lcom/sun/javafx/image/PixelSetter<TT;>;
3 9 9 converter Lcom/sun/javafx/image/PixelConverter<TI;TT;>;
4 9 10 dstoff I
Signature: <T:Ljava/nio/Buffer;>(IIIILjavafx/scene/image/WritablePixelFormat<TT;>;TT;I)V
MethodParameters:
Name Flags
x
y
w
h
pixelformat
dstbuf
dstScanlineElems
public <T extends java.nio.Buffer> void setPixels(int, int, int, int, javafx.scene.image.PixelFormat<T>, T, );
descriptor: (IIIILjavafx/scene/image/PixelFormat;Ljava/nio/Buffer;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=11, 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 5
invokestatic com.sun.javafx.image.PixelUtils.getGetter:(Ljavafx/scene/image/PixelFormat;)Lcom/sun/javafx/image/PixelGetter;
astore 8
start local 8 1: aload 8
aload 0
invokevirtual com.sun.prism.Image$BaseAccessor.getSetter:()Lcom/sun/javafx/image/PixelSetter;
invokestatic com.sun.javafx.image.PixelUtils.getConverter:(Lcom/sun/javafx/image/PixelGetter;Lcom/sun/javafx/image/PixelSetter;)Lcom/sun/javafx/image/PixelConverter;
2: astore 9
start local 9 3: aload 6
invokevirtual java.nio.Buffer.position:()I
istore 10
start local 10 4: aload 9
aload 6
iload 10
iload 7
5: aload 0
invokevirtual com.sun.prism.Image$BaseAccessor.getBuffer:()Ljava/nio/Buffer;
aload 0
iload 1
iload 2
invokevirtual com.sun.prism.Image$BaseAccessor.getIndex:(II)I
aload 0
getfield com.sun.prism.Image$BaseAccessor.scanlineElems:I
6: iload 3
iload 4
7: invokeinterface com.sun.javafx.image.PixelConverter.convert:(Ljava/nio/Buffer;IILjava/nio/Buffer;IIII)V
8: return
end local 10 end local 9 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 9 0 this Lcom/sun/prism/Image$BaseAccessor<TI;>;
0 9 1 x I
0 9 2 y I
0 9 3 w I
0 9 4 h I
0 9 5 pixelformat Ljavafx/scene/image/PixelFormat<TT;>;
0 9 6 srcbuf TT;
0 9 7 srcScanlineBytes I
1 9 8 getter Lcom/sun/javafx/image/PixelGetter<TT;>;
3 9 9 converter Lcom/sun/javafx/image/PixelConverter<TT;TI;>;
4 9 10 srcoff I
Signature: <T:Ljava/nio/Buffer;>(IIIILjavafx/scene/image/PixelFormat<TT;>;TT;I)V
MethodParameters:
Name Flags
x
y
w
h
pixelformat
srcbuf
srcScanlineBytes
}
Signature: <I:Ljava/nio/Buffer;>Lcom/sun/prism/Image$Accessor<TI;>;
SourceFile: "Image.java"
NestHost: com.sun.prism.Image
InnerClasses:
abstract Accessor = com.sun.prism.Image$Accessor of com.sun.prism.Image
abstract BaseAccessor = com.sun.prism.Image$BaseAccessor of com.sun.prism.Image
public final DataType = com.sun.prism.PixelFormat$DataType of com.sun.prism.PixelFormat