public class sun.java2d.xr.XRColor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.java2d.xr.XRColor
super_class: java.lang.Object
{
public static final sun.java2d.xr.XRColor FULL_ALPHA;
descriptor: Lsun/java2d/xr/XRColor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final sun.java2d.xr.XRColor NO_ALPHA;
descriptor: Lsun/java2d/xr/XRColor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
int red;
descriptor: I
flags: (0x0000)
int green;
descriptor: I
flags: (0x0000)
int blue;
descriptor: I
flags: (0x0000)
int alpha;
descriptor: I
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new sun.java2d.xr.XRColor
dup
ldc 65535
iconst_0
iconst_0
iconst_0
invokespecial sun.java2d.xr.XRColor.<init>:(IIII)V
putstatic sun.java2d.xr.XRColor.FULL_ALPHA:Lsun/java2d/xr/XRColor;
1: new sun.java2d.xr.XRColor
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial sun.java2d.xr.XRColor.<init>:(IIII)V
putstatic sun.java2d.xr.XRColor.NO_ALPHA:Lsun/java2d/xr/XRColor;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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.java2d.xr.XRColor.red:I
2: aload 0
iconst_0
putfield sun.java2d.xr.XRColor.green:I
3: aload 0
iconst_0
putfield sun.java2d.xr.XRColor.blue:I
4: aload 0
iconst_0
putfield sun.java2d.xr.XRColor.alpha:I
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/java2d/xr/XRColor;
public void <init>(int, int, int, int);
descriptor: (IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield sun.java2d.xr.XRColor.alpha:I
2: aload 0
iload 2
putfield sun.java2d.xr.XRColor.red:I
3: aload 0
iload 3
putfield sun.java2d.xr.XRColor.green:I
4: aload 0
iload 4
putfield sun.java2d.xr.XRColor.blue:I
5: return
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/java2d/xr/XRColor;
0 6 1 alpha I
0 6 2 red I
0 6 3 green I
0 6 4 blue I
MethodParameters:
Name Flags
alpha
red
green
blue
public void <init>(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/xr/XRColor;
0 2 1 color Ljava/awt/Color;
MethodParameters:
Name Flags
color
public void setColorValues(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.awt.Color.getAlpha:()I
invokestatic sun.java2d.xr.XRColor.byteToXRColorValue:(I)I
putfield sun.java2d.xr.XRColor.alpha:I
1: aload 0
2: aload 1
invokevirtual java.awt.Color.getRed:()I
aload 1
invokevirtual java.awt.Color.getAlpha:()I
imul
i2d
ldc 255.0
ddiv
d2i
3: invokestatic sun.java2d.xr.XRColor.byteToXRColorValue:(I)I
putfield sun.java2d.xr.XRColor.red:I
4: aload 0
5: aload 1
invokevirtual java.awt.Color.getGreen:()I
aload 1
invokevirtual java.awt.Color.getAlpha:()I
imul
i2d
ldc 255.0
ddiv
d2i
6: invokestatic sun.java2d.xr.XRColor.byteToXRColorValue:(I)I
putfield sun.java2d.xr.XRColor.green:I
7: aload 0
8: aload 1
invokevirtual java.awt.Color.getBlue:()I
aload 1
invokevirtual java.awt.Color.getAlpha:()I
imul
i2d
ldc 255.0
ddiv
d2i
9: invokestatic sun.java2d.xr.XRColor.byteToXRColorValue:(I)I
putfield sun.java2d.xr.XRColor.blue:I
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/java2d/xr/XRColor;
0 11 1 color Ljava/awt/Color;
MethodParameters:
Name Flags
color
public static int[] ARGBPrePixelToXRColors(int[]);
descriptor: ([I)[I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
arraylength
iconst_4
imul
newarray 10
astore 1
start local 1 1: new sun.java2d.xr.XRColor
dup
invokespecial sun.java2d.xr.XRColor.<init>:()V
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 10
4: StackMap locals: int[] sun.java2d.xr.XRColor int
StackMap stack:
aload 2
aload 0
iload 3
iaload
iconst_1
invokevirtual sun.java2d.xr.XRColor.setColorValues:(IZ)V
5: aload 1
iload 3
iconst_4
imul
iconst_0
iadd
aload 2
getfield sun.java2d.xr.XRColor.alpha:I
iastore
6: aload 1
iload 3
iconst_4
imul
iconst_1
iadd
aload 2
getfield sun.java2d.xr.XRColor.red:I
iastore
7: aload 1
iload 3
iconst_4
imul
iconst_2
iadd
aload 2
getfield sun.java2d.xr.XRColor.green:I
iastore
8: aload 1
iload 3
iconst_4
imul
iconst_3
iadd
aload 2
getfield sun.java2d.xr.XRColor.blue:I
iastore
9: iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
aload 0
arraylength
if_icmplt 4
end local 3 11: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 pixels [I
1 12 1 colorValues [I
2 12 2 c Lsun/java2d/xr/XRColor;
3 11 3 i I
MethodParameters:
Name Flags
pixels
public void setColorValues(int, boolean);
descriptor: (IZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iload 1
invokestatic sun.java2d.xr.XRUtils.intToULong:(I)J
lstore 3
start local 3 1: aload 0
lload 3
ldc -16777216
land
bipush 16
lshr
ldc 255
ladd
l2i
putfield sun.java2d.xr.XRColor.alpha:I
2: aload 0
lload 3
ldc 16711680
land
bipush 8
lshr
ldc 255
ladd
l2i
putfield sun.java2d.xr.XRColor.red:I
3: aload 0
lload 3
ldc 65280
land
iconst_0
lshr
ldc 255
ladd
l2i
putfield sun.java2d.xr.XRColor.green:I
4: aload 0
lload 3
ldc 255
land
bipush 8
lshl
ldc 255
ladd
l2i
putfield sun.java2d.xr.XRColor.blue:I
5: aload 0
getfield sun.java2d.xr.XRColor.alpha:I
sipush 255
if_icmpne 7
6: aload 0
iconst_0
putfield sun.java2d.xr.XRColor.alpha:I
7: StackMap locals: long
StackMap stack:
iload 2
ifne 12
8: aload 0
getfield sun.java2d.xr.XRColor.alpha:I
invokestatic sun.java2d.xr.XRUtils.XFixedToDouble:(I)D
dstore 5
start local 5 9: aload 0
aload 0
getfield sun.java2d.xr.XRColor.red:I
i2d
dload 5
dmul
d2i
putfield sun.java2d.xr.XRColor.red:I
10: aload 0
aload 0
getfield sun.java2d.xr.XRColor.green:I
i2d
dload 5
dmul
d2i
putfield sun.java2d.xr.XRColor.green:I
11: aload 0
aload 0
getfield sun.java2d.xr.XRColor.blue:I
i2d
dload 5
dmul
d2i
putfield sun.java2d.xr.XRColor.blue:I
end local 5 12: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/java2d/xr/XRColor;
0 13 1 pixel I
0 13 2 pre Z
1 13 3 pix J
9 12 5 alphaMult D
MethodParameters:
Name Flags
pixel
pre
public static int byteToXRColorValue(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iload 0
ifeq 6
2: iload 0
sipush 255
if_icmpne 5
3: ldc 65535
istore 1
4: goto 6
5: StackMap locals: int
StackMap stack:
iload 0
bipush 8
ishl
sipush 255
iadd
istore 1
6: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 byteValue I
1 7 1 xrValue I
MethodParameters:
Name Flags
byteValue
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "A:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.java2d.xr.XRColor.alpha:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " R:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.java2d.xr.XRColor.red:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " G:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.java2d.xr.XRColor.green:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " B:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.java2d.xr.XRColor.blue:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/XRColor;
public void setAlpha(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.java2d.xr.XRColor.alpha:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/xr/XRColor;
0 2 1 alpha I
MethodParameters:
Name Flags
alpha
public int getAlpha();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.xr.XRColor.alpha:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/XRColor;
public int getRed();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.xr.XRColor.red:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/XRColor;
public int getGreen();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.xr.XRColor.green:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/XRColor;
public int getBlue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.xr.XRColor.blue:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/XRColor;
}
SourceFile: "XRColor.java"