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: .line 405
            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 // sun.awt.image.PixelConverter$ByteGray this
         0: .line 407
            aload 0 /* this */
            invokespecial sun.awt.image.PixelConverter.<init>:()V
            return
        end local 0 // sun.awt.image.PixelConverter$ByteGray this
      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 // sun.awt.image.PixelConverter$ByteGray this
        start local 1 // int rgb
        start local 2 // java.awt.image.ColorModel cm
         0: .line 410
            iload 1 /* rgb */
            bipush 16
            ishr
            sipush 255
            iand
            istore 3 /* red */
        start local 3 // int red
         1: .line 411
            iload 1 /* rgb */
            bipush 8
            ishr
            sipush 255
            iand
            istore 4 /* grn */
        start local 4 // int grn
         2: .line 412
            iload 1 /* rgb */
            sipush 255
            iand
            istore 5 /* blu */
        start local 5 // int blu
         3: .line 413
            iload 3 /* red */
            i2d
            ldc 0.299
            dmul
         4: .line 414
            iload 4 /* grn */
            i2d
            ldc 0.587
            dmul
         5: .line 413
            dadd
         6: .line 415
            iload 5 /* blu */
            i2d
            ldc 0.114
            dmul
         7: .line 413
            dadd
         8: .line 416
            ldc 0.5
         9: .line 413
            dadd
            d2i
            ireturn
        end local 5 // int blu
        end local 4 // int grn
        end local 3 // int red
        end local 2 // java.awt.image.ColorModel cm
        end local 1 // int rgb
        end local 0 // sun.awt.image.PixelConverter$ByteGray this
      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 // sun.awt.image.PixelConverter$ByteGray this
        start local 1 // int pixel
        start local 2 // java.awt.image.ColorModel cm
         0: .line 420
            ldc 65280
            iload 1 /* pixel */
            ior
            bipush 8
            ishl
            iload 1 /* pixel */
            ior
            bipush 8
            ishl
            iload 1 /* pixel */
            ior
            ireturn
        end local 2 // java.awt.image.ColorModel cm
        end local 1 // int pixel
        end local 0 // sun.awt.image.PixelConverter$ByteGray this
      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