public class sun.awt.image.PixelConverter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.image.PixelConverter
super_class: java.lang.Object
{
public static final sun.awt.image.PixelConverter instance;
descriptor: Lsun/awt/image/PixelConverter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
protected int alphaMask;
descriptor: I
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.awt.image.PixelConverter
dup
invokespecial sun.awt.image.PixelConverter.<init>:()V
putstatic sun.awt.image.PixelConverter.instance:Lsun/awt/image/PixelConverter;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield sun.awt.image.PixelConverter.alphaMask:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/image/PixelConverter;
public int rgbToPixel(int, java.awt.image.ColorModel);
descriptor: (ILjava/awt/image/ColorModel;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
iload 1
aconst_null
invokevirtual java.awt.image.ColorModel.getDataElements:(ILjava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 1: aload 2
invokevirtual java.awt.image.ColorModel.getTransferType:()I
tableswitch { // 0 - 3
0: 2
1: 10
2: 10
3: 15
default: 16
}
2: StackMap locals: java.lang.Object
StackMap stack:
aload 3
checkcast byte[]
astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: aload 4
arraylength
tableswitch { // 1 - 3
1: 8
2: 7
3: 6
default: 5
}
5: StackMap locals: byte[] int
StackMap stack:
aload 4
iconst_3
baload
bipush 24
ishl
istore 5
6: StackMap locals:
StackMap stack:
iload 5
aload 4
iconst_2
baload
sipush 255
iand
bipush 16
ishl
ior
istore 5
7: StackMap locals:
StackMap stack:
iload 5
aload 4
iconst_1
baload
sipush 255
iand
bipush 8
ishl
ior
istore 5
8: StackMap locals:
StackMap stack:
iload 5
aload 4
iconst_0
baload
sipush 255
iand
ior
istore 5
9: iload 5
ireturn
end local 5 end local 4 10: StackMap locals:
StackMap stack:
aload 3
checkcast short[]
astore 6
start local 6 11: aload 6
arraylength
iconst_1
if_icmple 12
aload 6
iconst_1
saload
bipush 16
ishl
goto 13
StackMap locals: sun.awt.image.PixelConverter int java.awt.image.ColorModel java.lang.Object top top short[]
StackMap stack:
12: iconst_0
13: StackMap locals:
StackMap stack: int
aload 6
iconst_0
saload
ldc 65535
iand
14: ior
ireturn
end local 6 15: StackMap locals: sun.awt.image.PixelConverter int java.awt.image.ColorModel java.lang.Object
StackMap stack:
aload 3
checkcast int[]
iconst_0
iaload
ireturn
16: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/awt/image/PixelConverter;
0 17 1 rgb I
0 17 2 cm Ljava/awt/image/ColorModel;
1 17 3 obj Ljava/lang/Object;
3 10 4 bytearr [B
4 10 5 pix I
11 15 6 shortarr [S
MethodParameters:
Name Flags
rgb
cm
public int pixelToRgb(int, java.awt.image.ColorModel);
descriptor: (ILjava/awt/image/ColorModel;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/image/PixelConverter;
0 1 1 pixel I
0 1 2 cm Ljava/awt/image/ColorModel;
MethodParameters:
Name Flags
pixel
cm
public final int getAlphaMask();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.image.PixelConverter.alphaMask:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/image/PixelConverter;
}
SourceFile: "PixelConverter.java"
NestMembers:
sun.awt.image.PixelConverter$Argb sun.awt.image.PixelConverter$ArgbBm sun.awt.image.PixelConverter$ArgbPre sun.awt.image.PixelConverter$Bgrx sun.awt.image.PixelConverter$ByteGray sun.awt.image.PixelConverter$Rgba sun.awt.image.PixelConverter$RgbaPre sun.awt.image.PixelConverter$Rgbx sun.awt.image.PixelConverter$Ushort4444Argb sun.awt.image.PixelConverter$Ushort555Rgb sun.awt.image.PixelConverter$Ushort555Rgbx sun.awt.image.PixelConverter$Ushort565Rgb sun.awt.image.PixelConverter$UshortGray sun.awt.image.PixelConverter$Xbgr sun.awt.image.PixelConverter$Xrgb
InnerClasses:
public Argb = sun.awt.image.PixelConverter$Argb of sun.awt.image.PixelConverter
public ArgbBm = sun.awt.image.PixelConverter$ArgbBm of sun.awt.image.PixelConverter
public ArgbPre = sun.awt.image.PixelConverter$ArgbPre of sun.awt.image.PixelConverter
public Bgrx = sun.awt.image.PixelConverter$Bgrx of sun.awt.image.PixelConverter
public ByteGray = sun.awt.image.PixelConverter$ByteGray of sun.awt.image.PixelConverter
public Rgba = sun.awt.image.PixelConverter$Rgba of sun.awt.image.PixelConverter
public RgbaPre = sun.awt.image.PixelConverter$RgbaPre of sun.awt.image.PixelConverter
public Rgbx = sun.awt.image.PixelConverter$Rgbx of sun.awt.image.PixelConverter
public Ushort4444Argb = sun.awt.image.PixelConverter$Ushort4444Argb of sun.awt.image.PixelConverter
public Ushort555Rgb = sun.awt.image.PixelConverter$Ushort555Rgb of sun.awt.image.PixelConverter
public Ushort555Rgbx = sun.awt.image.PixelConverter$Ushort555Rgbx of sun.awt.image.PixelConverter
public Ushort565Rgb = sun.awt.image.PixelConverter$Ushort565Rgb of sun.awt.image.PixelConverter
public UshortGray = sun.awt.image.PixelConverter$UshortGray of sun.awt.image.PixelConverter
public Xbgr = sun.awt.image.PixelConverter$Xbgr of sun.awt.image.PixelConverter
public Xrgb = sun.awt.image.PixelConverter$Xrgb of sun.awt.image.PixelConverter