public class sun.lwawt.macosx.CImage extends sun.lwawt.macosx.CFRetainedResource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.lwawt.macosx.CImage
super_class: sun.lwawt.macosx.CFRetainedResource
{
static sun.lwawt.macosx.CImage$Creator creator;
descriptor: Lsun/lwawt/macosx/CImage$Creator;
flags: (0x0008) ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.lwawt.macosx.CImage$Creator
dup
invokespecial sun.lwawt.macosx.CImage$Creator.<init>:()V
putstatic sun.lwawt.macosx.CImage.creator:Lsun/lwawt/macosx/CImage$Creator;
return
LocalVariableTable:
Start End Slot Name Signature
private static native long nativeCreateNSImageFromArray(int[], int, int);
descriptor: ([III)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
buffer
w
h
private static native long nativeCreateNSImageFromArrays(int[][], int[], int[]);
descriptor: ([[I[I[I)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
buffers
w
h
private static native long nativeCreateNSImageFromFileContents(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
file
private static native long nativeCreateNSImageOfFileFromLaunchServices(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
file
private static native long nativeCreateNSImageFromImageName(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
name
private static native long nativeCreateNSImageFromIconSelector(int);
descriptor: (I)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
selector
private static native void nativeCopyNSImageIntoArray(long, int[], int, int, int, int);
descriptor: (J[IIIII)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
image
buffer
sw
sh
dw
dh
private static native java.awt.geom.Dimension2D nativeGetNSImageSize(long);
descriptor: (J)Ljava/awt/geom/Dimension2D;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
image
private static native void nativeSetNSImageSize(long, double, double);
descriptor: (JDD)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
image
w
h
private static native void nativeResizeNSImageRepresentations(long, double, double);
descriptor: (JDD)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
image
w
h
private static native java.awt.geom.Dimension2D[] nativeGetNSImageRepresentationSizes(long, double, double);
descriptor: (JDD)[Ljava/awt/geom/Dimension2D;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
image
w
h
static sun.lwawt.macosx.CImage$Creator getCreator();
descriptor: ()Lsun/lwawt/macosx/CImage$Creator;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.lwawt.macosx.CImage.creator:Lsun/lwawt/macosx/CImage$Creator;
areturn
LocalVariableTable:
Start End Slot Name Signature
void <init>(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
iconst_1
invokespecial sun.lwawt.macosx.CFRetainedResource.<init>:(JZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CImage;
0 2 1 nsImagePtr J
MethodParameters:
Name Flags
nsImagePtr
private java.awt.image.BufferedImage toImage();
descriptor: ()Ljava/awt/image/BufferedImage;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=12, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CImage.ptr:J
lconst_0
lcmp
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
astore 1
start local 1 3: aload 0
new sun.lwawt.macosx.CImage$1
dup
aload 0
aload 1
invokespecial sun.lwawt.macosx.CImage$1.<init>:(Lsun/lwawt/macosx/CImage;Ljava/util/concurrent/atomic/AtomicReference;)V
invokevirtual sun.lwawt.macosx.CImage.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
4: aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.awt.geom.Dimension2D
astore 2
start local 2 5: aload 2
ifnonnull 7
6: aconst_null
areturn
7: StackMap locals: java.util.concurrent.atomic.AtomicReference java.awt.geom.Dimension2D
StackMap stack:
aload 2
invokevirtual java.awt.geom.Dimension2D.getWidth:()D
d2i
istore 3
start local 3 8: aload 2
invokevirtual java.awt.geom.Dimension2D.getHeight:()D
d2i
istore 4
start local 4 9: new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
astore 5
start local 5 10: aload 0
new sun.lwawt.macosx.CImage$2
dup
aload 0
aload 5
aload 2
invokespecial sun.lwawt.macosx.CImage$2.<init>:(Lsun/lwawt/macosx/CImage;Ljava/util/concurrent/atomic/AtomicReference;Ljava/awt/geom/Dimension2D;)V
invokevirtual sun.lwawt.macosx.CImage.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
11: aload 5
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.awt.geom.Dimension2D[]
astore 6
start local 6 12: aload 6
ifnull 13
aload 6
arraylength
iconst_2
if_icmpge 14
13: StackMap locals: sun.lwawt.macosx.CImage java.util.concurrent.atomic.AtomicReference java.awt.geom.Dimension2D int int java.util.concurrent.atomic.AtomicReference java.awt.geom.Dimension2D[]
StackMap stack:
aload 0
iload 3
iload 4
iload 3
iload 4
invokevirtual sun.lwawt.macosx.CImage.toImage:(IIII)Ljava/awt/image/BufferedImage;
areturn
14: StackMap locals:
StackMap stack:
aload 6
arraylength
anewarray java.awt.image.BufferedImage
astore 7
start local 7 15: iconst_0
istore 8
start local 8 16: iconst_0
istore 9
start local 9 17: goto 24
18: StackMap locals: java.awt.image.BufferedImage[] int int
StackMap stack:
aload 6
iload 9
aaload
invokevirtual java.awt.geom.Dimension2D.getWidth:()D
d2i
istore 10
start local 10 19: aload 6
iload 9
aaload
invokevirtual java.awt.geom.Dimension2D.getHeight:()D
d2i
istore 11
start local 11 20: iload 11
iload 3
if_icmpgt 22
iload 11
iload 4
if_icmpgt 22
21: iload 9
istore 8
22: StackMap locals: int int
StackMap stack:
aload 7
iload 9
aload 0
iload 3
iload 4
iload 10
iload 11
invokevirtual sun.lwawt.macosx.CImage.toImage:(IIII)Ljava/awt/image/BufferedImage;
aastore
end local 11 end local 10 23: iinc 9 1
StackMap locals:
StackMap stack:
24: iload 9
aload 6
arraylength
if_icmplt 18
end local 9 25: new sun.awt.image.MultiResolutionBufferedImage
dup
iconst_3
26: iload 8
aload 7
27: invokespecial sun.awt.image.MultiResolutionBufferedImage.<init>:(II[Ljava/awt/Image;)V
areturn
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 28 0 this Lsun/lwawt/macosx/CImage;
3 28 1 sizeRef Ljava/util/concurrent/atomic/AtomicReference<Ljava/awt/geom/Dimension2D;>;
5 28 2 size Ljava/awt/geom/Dimension2D;
8 28 3 w I
9 28 4 h I
10 28 5 repRef Ljava/util/concurrent/atomic/AtomicReference<[Ljava/awt/geom/Dimension2D;>;
12 28 6 sizes [Ljava/awt/geom/Dimension2D;
15 28 7 images [Ljava/awt/image/BufferedImage;
16 28 8 currentImageIndex I
17 25 9 i I
19 23 10 imageRepWidth I
20 23 11 imageRepHeight I
private java.awt.image.BufferedImage toImage(int, int, int, int);
descriptor: (IIII)Ljava/awt/image/BufferedImage;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.awt.image.BufferedImage
dup
iload 3
iload 4
iconst_3
invokespecial java.awt.image.BufferedImage.<init>:(III)V
astore 5
start local 5 1: aload 5
invokevirtual java.awt.image.BufferedImage.getRaster:()Ljava/awt/image/WritableRaster;
invokevirtual java.awt.image.WritableRaster.getDataBuffer:()Ljava/awt/image/DataBuffer;
checkcast java.awt.image.DataBufferInt
astore 6
start local 6 2: aload 6
iconst_0
invokestatic sun.awt.image.SunWritableRaster.stealData:(Ljava/awt/image/DataBufferInt;I)[I
astore 7
start local 7 3: aload 0
new sun.lwawt.macosx.CImage$3
dup
aload 0
aload 7
iload 1
iload 2
iload 3
iload 4
invokespecial sun.lwawt.macosx.CImage$3.<init>:(Lsun/lwawt/macosx/CImage;[IIIII)V
invokevirtual sun.lwawt.macosx.CImage.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
4: aload 6
invokestatic sun.awt.image.SunWritableRaster.markDirty:(Ljava/awt/image/DataBuffer;)V
5: aload 5
areturn
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 6 0 this Lsun/lwawt/macosx/CImage;
0 6 1 srcWidth I
0 6 2 srcHeight I
0 6 3 dstWidth I
0 6 4 dstHeight I
1 6 5 bimg Ljava/awt/image/BufferedImage;
2 6 6 dbi Ljava/awt/image/DataBufferInt;
3 6 7 buffer [I
MethodParameters:
Name Flags
srcWidth final
srcHeight final
dstWidth final
dstHeight final
sun.lwawt.macosx.CImage resize(double, double);
descriptor: (DD)Lsun/lwawt/macosx/CImage;
flags: (0x0000)
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
new sun.lwawt.macosx.CImage$4
dup
aload 0
dload 1
dload 3
invokespecial sun.lwawt.macosx.CImage$4.<init>:(Lsun/lwawt/macosx/CImage;DD)V
invokevirtual sun.lwawt.macosx.CImage.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
1: aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CImage;
0 2 1 w D
0 2 3 h D
MethodParameters:
Name Flags
w final
h final
void resizeRepresentations(double, double);
descriptor: (DD)V
flags: (0x0000)
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
new sun.lwawt.macosx.CImage$5
dup
aload 0
dload 1
dload 3
invokespecial sun.lwawt.macosx.CImage$5.<init>:(Lsun/lwawt/macosx/CImage;DD)V
invokevirtual sun.lwawt.macosx.CImage.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
1: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CImage;
0 2 1 w D
0 2 3 h D
MethodParameters:
Name Flags
w final
h final
}
SourceFile: "CImage.java"
NestMembers:
sun.lwawt.macosx.CImage$1 sun.lwawt.macosx.CImage$2 sun.lwawt.macosx.CImage$3 sun.lwawt.macosx.CImage$4 sun.lwawt.macosx.CImage$5 sun.lwawt.macosx.CImage$Creator
InnerClasses:
public abstract CFNativeAction = sun.lwawt.macosx.CFRetainedResource$CFNativeAction of sun.lwawt.macosx.CFRetainedResource
sun.lwawt.macosx.CImage$1
sun.lwawt.macosx.CImage$2
sun.lwawt.macosx.CImage$3
sun.lwawt.macosx.CImage$4
sun.lwawt.macosx.CImage$5
public Creator = sun.lwawt.macosx.CImage$Creator of sun.lwawt.macosx.CImage