public class sun.awt.image.PixelConverter$ByteGray extends sun.awt.image.PixelConverter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.image.PixelConverter$ByteGray
super_class: sun.awt.image.PixelConverter
{
static final double RED_MULT;
descriptor: D
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0.299
static final double GRN_MULT;
descriptor: D
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0.587
static final double BLU_MULT;
descriptor: D
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0.114
public static final sun.awt.image.PixelConverter instance;
descriptor: Lsun/awt/image/PixelConverter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.awt.image.PixelConverter$ByteGray
dup
invokespecial sun.awt.image.PixelConverter$ByteGray.<init>:()V
putstatic sun.awt.image.PixelConverter$ByteGray.instance:Lsun/awt/image/PixelConverter;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.image.PixelConverter.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/image/PixelConverter$ByteGray;
public int rgbToPixel(int, java.awt.image.ColorModel);
descriptor: (ILjava/awt/image/ColorModel;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 1
bipush 16
ishr
sipush 255
iand
istore 3
start local 3 1: iload 1
bipush 8
ishr
sipush 255
iand
istore 4
start local 4 2: iload 1
sipush 255
iand
istore 5
start local 5 3: iload 3
i2d
ldc 0.299
dmul
4: iload 4
i2d
ldc 0.587
dmul
5: dadd
6: iload 5
i2d
ldc 0.114
dmul
7: dadd
8: ldc 0.5
9: dadd
d2i
ireturn
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 10 0 this Lsun/awt/image/PixelConverter$ByteGray;
0 10 1 rgb I
0 10 2 cm Ljava/awt/image/ColorModel;
1 10 3 red I
2 10 4 grn I
3 10 5 blu I
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=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc 65280
iload 1
ior
bipush 8
ishl
iload 1
ior
bipush 8
ishl
iload 1
ior
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/image/PixelConverter$ByteGray;
0 1 1 pixel I
0 1 2 cm Ljava/awt/image/ColorModel;
MethodParameters:
Name Flags
pixel
cm
}
SourceFile: "PixelConverter.java"
NestHost: sun.awt.image.PixelConverter
InnerClasses:
public ByteGray = sun.awt.image.PixelConverter$ByteGray of sun.awt.image.PixelConverter