public class sun.lwawt.macosx.CImage$Creator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.lwawt.macosx.CImage$Creator
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CImage$Creator;
public java.awt.Image createImageUsingNativeSize(long);
descriptor: (J)Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifne 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
lload 1
invokestatic sun.lwawt.macosx.CImage.nativeGetNSImageSize:(J)Ljava/awt/geom/Dimension2D;
astore 3
start local 3 2: aload 0
lload 1
aload 3
invokevirtual java.awt.geom.Dimension2D.getWidth:()D
aload 3
invokevirtual java.awt.geom.Dimension2D.getHeight:()D
invokevirtual sun.lwawt.macosx.CImage$Creator.createImage:(JDD)Ljava/awt/Image;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/CImage$Creator;
0 3 1 image J
2 3 3 size Ljava/awt/geom/Dimension2D;
MethodParameters:
Name Flags
image final
java.awt.Image createImage(long, double, double);
descriptor: (JDD)Ljava/awt/Image;
flags: (0x0000)
Code:
stack=7, locals=7, args_size=4
start local 0 start local 1 start local 3 start local 5 0: lload 1
lconst_0
lcmp
ifne 1
new java.lang.Error
dup
ldc "Unable to instantiate CImage with null native image reference."
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
lload 1
dload 3
dload 5
invokevirtual sun.lwawt.macosx.CImage$Creator.createImageWithSize:(JDD)Ljava/awt/Image;
areturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CImage$Creator;
0 2 1 image J
0 2 3 width D
0 2 5 height D
MethodParameters:
Name Flags
image
width
height
public java.awt.Image createImageWithSize(long, double, double);
descriptor: (JDD)Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 3 start local 5 0: new sun.lwawt.macosx.CImage
dup
lload 1
invokespecial sun.lwawt.macosx.CImage.<init>:(J)V
astore 7
start local 7 1: aload 7
dload 3
dload 5
invokevirtual sun.lwawt.macosx.CImage.resize:(DD)Lsun/lwawt/macosx/CImage;
pop
2: aload 7
invokevirtual sun.lwawt.macosx.CImage.toImage:()Ljava/awt/Image;
areturn
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/CImage$Creator;
0 3 1 image J
0 3 3 width D
0 3 5 height D
1 3 7 img Lsun/lwawt/macosx/CImage;
MethodParameters:
Name Flags
image final
width final
height final
public java.awt.Image createImageOfFile(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokestatic sun.lwawt.macosx.CImage.nativeCreateNSImageOfFileFromLaunchServices:(Ljava/lang/String;)J
iload 2
i2d
iload 3
i2d
invokevirtual sun.lwawt.macosx.CImage$Creator.createImage:(JDD)Ljava/awt/Image;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CImage$Creator;
0 1 1 file Ljava/lang/String;
0 1 2 width I
0 1 3 height I
MethodParameters:
Name Flags
file final
width final
height final
public java.awt.Image createImageFromFile(java.lang.String, double, double);
descriptor: (Ljava/lang/String;DD)Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 1
invokestatic sun.lwawt.macosx.CImage.nativeCreateNSImageFromFileContents:(Ljava/lang/String;)J
lstore 6
start local 6 1: lload 6
dload 2
dload 4
invokestatic sun.lwawt.macosx.CImage.nativeSetNSImageSize:(JDD)V
2: aload 0
lload 6
dload 2
dload 4
invokevirtual sun.lwawt.macosx.CImage$Creator.createImage:(JDD)Ljava/awt/Image;
areturn
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/CImage$Creator;
0 3 1 file Ljava/lang/String;
0 3 2 width D
0 3 4 height D
1 3 6 image J
MethodParameters:
Name Flags
file final
width final
height final
public java.awt.Image createSystemImageFromSelector(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokestatic sun.lwawt.macosx.CImage$Creator.getSelectorAsInt:(Ljava/lang/String;)I
invokestatic sun.lwawt.macosx.CImage.nativeCreateNSImageFromIconSelector:(I)J
iload 2
i2d
iload 3
i2d
invokevirtual sun.lwawt.macosx.CImage$Creator.createImage:(JDD)Ljava/awt/Image;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CImage$Creator;
0 1 1 iconSelector Ljava/lang/String;
0 1 2 width I
0 1 3 height I
MethodParameters:
Name Flags
iconSelector final
width final
height final
public java.awt.Image createImageFromName(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokestatic sun.lwawt.macosx.CImage.nativeCreateNSImageFromImageName:(Ljava/lang/String;)J
iload 2
i2d
iload 3
i2d
invokevirtual sun.lwawt.macosx.CImage$Creator.createImage:(JDD)Ljava/awt/Image;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CImage$Creator;
0 1 1 name Ljava/lang/String;
0 1 2 width I
0 1 3 height I
MethodParameters:
Name Flags
name final
width final
height final
public java.awt.Image createImageFromName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic sun.lwawt.macosx.CImage.nativeCreateNSImageFromImageName:(Ljava/lang/String;)J
invokevirtual sun.lwawt.macosx.CImage$Creator.createImageUsingNativeSize:(J)Ljava/awt/Image;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CImage$Creator;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
private static int[] imageToArray(java.awt.Image, boolean);
descriptor: (Ljava/awt/Image;Z)[I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
iload 1
ifeq 10
aload 0
instanceof java.awt.image.BufferedImage
ifne 10
2: new java.awt.MediaTracker
dup
new java.awt.Label
dup
invokespecial java.awt.Label.<init>:()V
invokespecial java.awt.MediaTracker.<init>:(Ljava/awt/Component;)V
astore 2
start local 2 3: aload 2
aload 0
iconst_0
invokevirtual java.awt.MediaTracker.addImage:(Ljava/awt/Image;I)V
4: aload 2
iconst_0
invokevirtual java.awt.MediaTracker.waitForID:(I)V
5: goto 8
StackMap locals: java.awt.Image int java.awt.MediaTracker
StackMap stack: java.lang.InterruptedException
6: pop
7: aconst_null
areturn
8: StackMap locals:
StackMap stack:
aload 2
iconst_0
invokevirtual java.awt.MediaTracker.isErrorID:(I)Z
ifeq 10
9: aconst_null
areturn
end local 2 10: StackMap locals:
StackMap stack:
aload 0
aconst_null
invokevirtual java.awt.Image.getWidth:(Ljava/awt/image/ImageObserver;)I
istore 2
start local 2 11: aload 0
aconst_null
invokevirtual java.awt.Image.getHeight:(Ljava/awt/image/ImageObserver;)I
istore 3
start local 3 12: iload 2
iflt 13
iload 3
ifge 14
13: StackMap locals: int int
StackMap stack:
aconst_null
areturn
14: StackMap locals:
StackMap stack:
new java.awt.image.BufferedImage
dup
iload 2
iload 3
iconst_3
invokespecial java.awt.image.BufferedImage.<init>:(III)V
astore 4
start local 4 15: aload 4
invokevirtual java.awt.image.BufferedImage.createGraphics:()Ljava/awt/Graphics2D;
astore 5
start local 5 16: aload 5
getstatic java.awt.AlphaComposite.Src:Ljava/awt/AlphaComposite;
invokevirtual java.awt.Graphics2D.setComposite:(Ljava/awt/Composite;)V
17: aload 5
aload 0
iconst_0
iconst_0
aconst_null
invokevirtual java.awt.Graphics2D.drawImage:(Ljava/awt/Image;IILjava/awt/image/ImageObserver;)Z
pop
18: aload 5
invokevirtual java.awt.Graphics2D.dispose:()V
19: aload 4
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
invokevirtual java.awt.image.DataBufferInt.getData:()[I
areturn
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 20 0 image Ljava/awt/Image;
0 20 1 prepareImage Z
3 10 2 mt Ljava/awt/MediaTracker;
11 20 2 w I
12 20 3 h I
15 20 4 bimg Ljava/awt/image/BufferedImage;
16 20 5 g2 Ljava/awt/Graphics2D;
Exception table:
from to target type
4 5 6 Class java.lang.InterruptedException
MethodParameters:
Name Flags
image
prepareImage
public byte[] getPlatformImageBytes(java.awt.Image);
descriptor: (Ljava/awt/Image;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
invokestatic sun.lwawt.macosx.CImage$Creator.imageToArray:(Ljava/awt/Image;Z)[I
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: int[]
StackMap stack:
aload 2
aload 1
aconst_null
invokevirtual java.awt.Image.getWidth:(Ljava/awt/image/ImageObserver;)I
aload 1
aconst_null
invokevirtual java.awt.Image.getHeight:(Ljava/awt/image/ImageObserver;)I
invokestatic sun.lwawt.macosx.CImage.nativeGetPlatformImageBytes:([III)[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/CImage$Creator;
0 4 1 image Ljava/awt/Image;
1 4 2 buffer [I
MethodParameters:
Name Flags
image final
public java.awt.Image createImageFromPlatformImageBytes(byte[]);
descriptor: ([B)Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic sun.lwawt.macosx.CImage.nativeCreateNSImageFromBytes:([B)J
invokevirtual sun.lwawt.macosx.CImage$Creator.createImageUsingNativeSize:(J)Ljava/awt/Image;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CImage$Creator;
0 1 1 buffer [B
MethodParameters:
Name Flags
buffer final
public sun.lwawt.macosx.CImage createFromImage(java.awt.Image);
descriptor: (Ljava/awt/Image;)Lsun/lwawt/macosx/CImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual sun.lwawt.macosx.CImage$Creator.createFromImage:(Ljava/awt/Image;Z)Lsun/lwawt/macosx/CImage;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CImage$Creator;
0 1 1 image Ljava/awt/Image;
MethodParameters:
Name Flags
image final
public sun.lwawt.macosx.CImage createFromImageImmediately(java.awt.Image);
descriptor: (Ljava/awt/Image;)Lsun/lwawt/macosx/CImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual sun.lwawt.macosx.CImage$Creator.createFromImage:(Ljava/awt/Image;Z)Lsun/lwawt/macosx/CImage;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CImage$Creator;
0 1 1 image Ljava/awt/Image;
MethodParameters:
Name Flags
image final
private sun.lwawt.macosx.CImage createFromImage(java.awt.Image, boolean);
descriptor: (Ljava/awt/Image;Z)Lsun/lwawt/macosx/CImage;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof sun.awt.image.MultiResolutionImage
ifeq 4
1: aload 1
checkcast sun.awt.image.MultiResolutionImage
invokeinterface sun.awt.image.MultiResolutionImage.getResolutionVariants:()Ljava/util/List;
2: astore 3
start local 3 3: aload 0
aload 3
iload 2
invokevirtual sun.lwawt.macosx.CImage$Creator.createFromImages:(Ljava/util/List;Z)Lsun/lwawt/macosx/CImage;
areturn
end local 3 4: StackMap locals:
StackMap stack:
aload 1
iload 2
invokestatic sun.lwawt.macosx.CImage$Creator.imageToArray:(Ljava/awt/Image;Z)[I
astore 3
start local 3 5: aload 3
ifnonnull 7
6: aconst_null
areturn
7: StackMap locals: int[]
StackMap stack:
new sun.lwawt.macosx.CImage
dup
aload 3
aload 1
aconst_null
invokevirtual java.awt.Image.getWidth:(Ljava/awt/image/ImageObserver;)I
aload 1
aconst_null
invokevirtual java.awt.Image.getHeight:(Ljava/awt/image/ImageObserver;)I
invokestatic sun.lwawt.macosx.CImage.nativeCreateNSImageFromArray:([III)J
invokespecial sun.lwawt.macosx.CImage.<init>:(J)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/lwawt/macosx/CImage$Creator;
0 8 1 image Ljava/awt/Image;
0 8 2 prepareImage Z
3 4 3 resolutionVariants Ljava/util/List<Ljava/awt/Image;>;
5 8 3 buffer [I
MethodParameters:
Name Flags
image final
prepareImage final
public sun.lwawt.macosx.CImage createFromImages(java.util.List<java.awt.Image>);
descriptor: (Ljava/util/List;)Lsun/lwawt/macosx/CImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual sun.lwawt.macosx.CImage$Creator.createFromImages:(Ljava/util/List;Z)Lsun/lwawt/macosx/CImage;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CImage$Creator;
0 1 1 images Ljava/util/List<Ljava/awt/Image;>;
Signature: (Ljava/util/List<Ljava/awt/Image;>;)Lsun/lwawt/macosx/CImage;
MethodParameters:
Name Flags
images final
private sun.lwawt.macosx.CImage createFromImages(java.util.List<java.awt.Image>, boolean);
descriptor: (Ljava/util/List;Z)Lsun/lwawt/macosx/CImage;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.List.size:()I
istore 3
start local 3 3: iload 3
anewarray int[]
astore 4
start local 4 4: iload 3
newarray 10
astore 5
start local 5 5: iload 3
newarray 10
astore 6
start local 6 6: iconst_0
istore 3
7: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 15
StackMap locals: sun.lwawt.macosx.CImage$Creator java.util.List int int int[][] int[] int[] top java.util.Iterator
StackMap stack:
8: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.awt.Image
astore 7
start local 7 9: aload 4
iload 3
aload 7
iload 2
invokestatic sun.lwawt.macosx.CImage$Creator.imageToArray:(Ljava/awt/Image;Z)[I
aastore
10: aload 4
iload 3
aaload
ifnonnull 12
11: goto 15
12: StackMap locals: sun.lwawt.macosx.CImage$Creator java.util.List int int int[][] int[] int[] java.awt.Image java.util.Iterator
StackMap stack:
aload 5
iload 3
aload 7
aconst_null
invokevirtual java.awt.Image.getWidth:(Ljava/awt/image/ImageObserver;)I
iastore
13: aload 6
iload 3
aload 7
aconst_null
invokevirtual java.awt.Image.getHeight:(Ljava/awt/image/ImageObserver;)I
iastore
14: iinc 3 1
end local 7 15: StackMap locals: sun.lwawt.macosx.CImage$Creator java.util.List int int int[][] int[] int[] top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
16: iload 3
ifne 18
17: aconst_null
areturn
18: StackMap locals: sun.lwawt.macosx.CImage$Creator java.util.List int int int[][] int[] int[]
StackMap stack:
new sun.lwawt.macosx.CImage
dup
19: aload 4
iload 3
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast int[][]
20: aload 5
iload 3
invokestatic java.util.Arrays.copyOf:([II)[I
21: aload 6
iload 3
invokestatic java.util.Arrays.copyOf:([II)[I
22: invokestatic sun.lwawt.macosx.CImage.nativeCreateNSImageFromArrays:([[I[I[I)J
invokespecial sun.lwawt.macosx.CImage.<init>:(J)V
areturn
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 23 0 this Lsun/lwawt/macosx/CImage$Creator;
0 23 1 images Ljava/util/List<Ljava/awt/Image;>;
0 23 2 prepareImage Z
3 23 3 num I
4 23 4 buffers [[I
5 23 5 w [I
6 23 6 h [I
9 15 7 img Ljava/awt/Image;
Signature: (Ljava/util/List<Ljava/awt/Image;>;Z)Lsun/lwawt/macosx/CImage;
MethodParameters:
Name Flags
images final
prepareImage final
static int getSelectorAsInt(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.getBytes:()[B
astore 1
start local 1 1: aload 1
arraylength
iconst_4
invokestatic java.lang.Math.min:(II)I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 8
5: StackMap locals: java.lang.String byte[] int int int
StackMap stack:
iload 4
ifle 6
iload 3
bipush 8
ishl
istore 3
6: StackMap locals:
StackMap stack:
iload 3
aload 1
iload 4
baload
sipush 255
iand
ior
istore 3
7: iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 2
if_icmplt 5
end local 4 9: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 fromString Ljava/lang/String;
1 10 1 b [B
2 10 2 len I
3 10 3 result I
4 9 4 i I
MethodParameters:
Name Flags
fromString final
}
SourceFile: "CImage.java"
NestHost: sun.lwawt.macosx.CImage
InnerClasses:
public Creator = sun.lwawt.macosx.CImage$Creator of sun.lwawt.macosx.CImage