public final class com.sun.prism.paint.Color extends com.sun.prism.paint.Paint
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.prism.paint.Color
super_class: com.sun.prism.paint.Paint
{
public static final com.sun.prism.paint.Color WHITE;
descriptor: Lcom/sun/prism/paint/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final com.sun.prism.paint.Color BLACK;
descriptor: Lcom/sun/prism/paint/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final com.sun.prism.paint.Color RED;
descriptor: Lcom/sun/prism/paint/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final com.sun.prism.paint.Color GREEN;
descriptor: Lcom/sun/prism/paint/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final com.sun.prism.paint.Color BLUE;
descriptor: Lcom/sun/prism/paint/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final com.sun.prism.paint.Color TRANSPARENT;
descriptor: Lcom/sun/prism/paint/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final int argb;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final float r;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final float g;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final float b;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final float a;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new com.sun.prism.paint.Color
dup
fconst_1
fconst_1
fconst_1
fconst_1
invokespecial com.sun.prism.paint.Color.<init>:(FFFF)V
putstatic com.sun.prism.paint.Color.WHITE:Lcom/sun/prism/paint/Color;
1: new com.sun.prism.paint.Color
dup
fconst_0
fconst_0
fconst_0
fconst_1
invokespecial com.sun.prism.paint.Color.<init>:(FFFF)V
putstatic com.sun.prism.paint.Color.BLACK:Lcom/sun/prism/paint/Color;
2: new com.sun.prism.paint.Color
dup
fconst_1
fconst_0
fconst_0
fconst_1
invokespecial com.sun.prism.paint.Color.<init>:(FFFF)V
putstatic com.sun.prism.paint.Color.RED:Lcom/sun/prism/paint/Color;
3: new com.sun.prism.paint.Color
dup
fconst_0
fconst_1
fconst_0
fconst_1
invokespecial com.sun.prism.paint.Color.<init>:(FFFF)V
putstatic com.sun.prism.paint.Color.GREEN:Lcom/sun/prism/paint/Color;
4: new com.sun.prism.paint.Color
dup
fconst_0
fconst_0
fconst_1
fconst_1
invokespecial com.sun.prism.paint.Color.<init>:(FFFF)V
putstatic com.sun.prism.paint.Color.BLUE:Lcom/sun/prism/paint/Color;
5: new com.sun.prism.paint.Color
dup
fconst_0
fconst_0
fconst_0
fconst_0
invokespecial com.sun.prism.paint.Color.<init>:(FFFF)V
putstatic com.sun.prism.paint.Color.TRANSPARENT:Lcom/sun/prism/paint/Color;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(float, float, float, float);
descriptor: (FFFF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getstatic com.sun.prism.paint.Paint$Type.COLOR:Lcom/sun/prism/paint/Paint$Type;
iconst_0
iconst_0
invokespecial com.sun.prism.paint.Paint.<init>:(Lcom/sun/prism/paint/Paint$Type;ZZ)V
1: ldc 255.0
fload 4
f2d
dmul
d2i
istore 5
start local 5 2: ldc 255.0
fload 1
f2d
dmul
fload 4
f2d
dmul
d2i
istore 6
start local 6 3: ldc 255.0
fload 2
f2d
dmul
fload 4
f2d
dmul
d2i
istore 7
start local 7 4: ldc 255.0
fload 3
f2d
dmul
fload 4
f2d
dmul
d2i
istore 8
start local 8 5: aload 0
iload 5
bipush 24
ishl
iload 6
bipush 16
ishl
ior
iload 7
bipush 8
ishl
ior
iload 8
iconst_0
ishl
ior
putfield com.sun.prism.paint.Color.argb:I
6: aload 0
fload 1
putfield com.sun.prism.paint.Color.r:F
7: aload 0
fload 2
putfield com.sun.prism.paint.Color.g:F
8: aload 0
fload 3
putfield com.sun.prism.paint.Color.b:F
9: aload 0
fload 4
putfield com.sun.prism.paint.Color.a:F
10: return
end local 8 end local 7 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 11 0 this Lcom/sun/prism/paint/Color;
0 11 1 r F
0 11 2 g F
0 11 3 b F
0 11 4 a F
2 11 5 ia I
3 11 6 ir I
4 11 7 ig I
5 11 8 ib I
MethodParameters:
Name Flags
r
g
b
a
public int getIntArgbPre();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.paint.Color.argb:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/paint/Color;
public void putRgbaPreBytes(byte[], int);
descriptor: ([BI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iload 2
iconst_0
iadd
aload 0
getfield com.sun.prism.paint.Color.argb:I
bipush 16
ishr
sipush 255
iand
i2b
bastore
1: aload 1
iload 2
iconst_1
iadd
aload 0
getfield com.sun.prism.paint.Color.argb:I
bipush 8
ishr
sipush 255
iand
i2b
bastore
2: aload 1
iload 2
iconst_2
iadd
aload 0
getfield com.sun.prism.paint.Color.argb:I
sipush 255
iand
i2b
bastore
3: aload 1
iload 2
iconst_3
iadd
aload 0
getfield com.sun.prism.paint.Color.argb:I
bipush 24
ishr
sipush 255
iand
i2b
bastore
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/prism/paint/Color;
0 5 1 arr [B
0 5 2 offset I
MethodParameters:
Name Flags
arr
offset
public void putBgraPreBytes(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.sun.prism.paint.Color.argb:I
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
1: aload 1
aload 0
getfield com.sun.prism.paint.Color.argb:I
bipush 8
ishr
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
2: aload 1
aload 0
getfield com.sun.prism.paint.Color.argb:I
bipush 16
ishr
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
3: aload 1
aload 0
getfield com.sun.prism.paint.Color.argb:I
bipush 24
ishr
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/prism/paint/Color;
0 5 1 buf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buf
public float getRed();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.paint.Color.r:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/paint/Color;
public float getRedPremult();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.paint.Color.r:F
aload 0
getfield com.sun.prism.paint.Color.a:F
fmul
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/paint/Color;
public float getGreen();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.paint.Color.g:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/paint/Color;
public float getGreenPremult();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.paint.Color.g:F
aload 0
getfield com.sun.prism.paint.Color.a:F
fmul
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/paint/Color;
public float getBlue();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.paint.Color.b:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/paint/Color;
public float getBluePremult();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.paint.Color.b:F
aload 0
getfield com.sun.prism.paint.Color.a:F
fmul
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/paint/Color;
public float getAlpha();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.paint.Color.a:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/paint/Color;
public boolean isOpaque();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.paint.Color.a:F
fconst_1
fcmpl
iflt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/paint/Color;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.prism.paint.Color
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast com.sun.prism.paint.Color
astore 2
start local 2 3: aload 0
getfield com.sun.prism.paint.Color.r:F
aload 2
getfield com.sun.prism.paint.Color.r:F
fcmpl
ifne 8
4: aload 0
getfield com.sun.prism.paint.Color.g:F
aload 2
getfield com.sun.prism.paint.Color.g:F
fcmpl
ifne 8
5: aload 0
getfield com.sun.prism.paint.Color.b:F
aload 2
getfield com.sun.prism.paint.Color.b:F
fcmpl
ifne 8
6: aload 0
getfield com.sun.prism.paint.Color.a:F
aload 2
getfield com.sun.prism.paint.Color.a:F
fcmpl
ifne 8
7: iconst_1
ireturn
StackMap locals: com.sun.prism.paint.Color
StackMap stack:
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/prism/paint/Color;
0 9 1 obj Ljava/lang/Object;
3 9 2 other Lcom/sun/prism/paint/Color;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_3
istore 1
start local 1 1: bipush 53
iload 1
imul
aload 0
getfield com.sun.prism.paint.Color.r:F
invokestatic java.lang.Float.floatToIntBits:(F)I
iadd
istore 1
2: bipush 53
iload 1
imul
aload 0
getfield com.sun.prism.paint.Color.g:F
invokestatic java.lang.Float.floatToIntBits:(F)I
iadd
istore 1
3: bipush 53
iload 1
imul
aload 0
getfield com.sun.prism.paint.Color.b:F
invokestatic java.lang.Float.floatToIntBits:(F)I
iadd
istore 1
4: bipush 53
iload 1
imul
aload 0
getfield com.sun.prism.paint.Color.a:F
invokestatic java.lang.Float.floatToIntBits:(F)I
iadd
istore 1
5: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/prism/paint/Color;
1 6 1 hash I
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 "Color[r="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.sun.prism.paint.Color.r:F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
2: ldc ", g="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.prism.paint.Color.g:F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
3: ldc ", b="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.prism.paint.Color.b:F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
4: ldc ", a="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.prism.paint.Color.a:F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
5: ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/prism/paint/Color;
}
SourceFile: "Color.java"
InnerClasses:
public final Type = com.sun.prism.paint.Paint$Type of com.sun.prism.paint.Paint