class javax.swing.plaf.nimbus.DerivedColor extends java.awt.Color
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.nimbus.DerivedColor
super_class: java.awt.Color
{
private final java.lang.String uiDefaultParentName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final float hOffset;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final float sOffset;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final float bOffset;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int aOffset;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int argbValue;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(java.lang.String, float, float, float, int);
descriptor: (Ljava/lang/String;FFFI)V
flags: (0x0000)
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iconst_0
invokespecial java.awt.Color.<init>:(I)V
1: aload 0
aload 1
putfield javax.swing.plaf.nimbus.DerivedColor.uiDefaultParentName:Ljava/lang/String;
2: aload 0
fload 2
putfield javax.swing.plaf.nimbus.DerivedColor.hOffset:F
3: aload 0
fload 3
putfield javax.swing.plaf.nimbus.DerivedColor.sOffset:F
4: aload 0
fload 4
putfield javax.swing.plaf.nimbus.DerivedColor.bOffset:F
5: aload 0
iload 5
putfield javax.swing.plaf.nimbus.DerivedColor.aOffset:I
6: return
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 7 0 this Ljavax/swing/plaf/nimbus/DerivedColor;
0 7 1 uiDefaultParentName Ljava/lang/String;
0 7 2 hOffset F
0 7 3 sOffset F
0 7 4 bOffset F
0 7 5 aOffset I
MethodParameters:
Name Flags
uiDefaultParentName
hOffset
sOffset
bOffset
aOffset
public java.lang.String getUiDefaultParentName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.uiDefaultParentName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/nimbus/DerivedColor;
public float getHueOffset();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.hOffset:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/nimbus/DerivedColor;
public float getSaturationOffset();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.sOffset:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/nimbus/DerivedColor;
public float getBrightnessOffset();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.bOffset:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/nimbus/DerivedColor;
public int getAlphaOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.aOffset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/nimbus/DerivedColor;
public void rederiveColor();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.uiDefaultParentName:Ljava/lang/String;
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
astore 1
start local 1 1: aload 1
ifnull 9
2: aload 1
invokevirtual java.awt.Color.getRed:()I
aload 1
invokevirtual java.awt.Color.getGreen:()I
aload 1
invokevirtual java.awt.Color.getBlue:()I
aconst_null
invokestatic java.awt.Color.RGBtoHSB:(III[F)[F
astore 2
start local 2 3: aload 2
iconst_0
aload 0
aload 2
iconst_0
faload
aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.hOffset:F
fadd
invokevirtual javax.swing.plaf.nimbus.DerivedColor.clamp:(F)F
fastore
4: aload 2
iconst_1
aload 0
aload 2
iconst_1
faload
aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.sOffset:F
fadd
invokevirtual javax.swing.plaf.nimbus.DerivedColor.clamp:(F)F
fastore
5: aload 2
iconst_2
aload 0
aload 2
iconst_2
faload
aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.bOffset:F
fadd
invokevirtual javax.swing.plaf.nimbus.DerivedColor.clamp:(F)F
fastore
6: aload 0
aload 1
invokevirtual java.awt.Color.getAlpha:()I
aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.aOffset:I
iadd
invokevirtual javax.swing.plaf.nimbus.DerivedColor.clamp:(I)I
istore 3
start local 3 7: aload 0
aload 2
iconst_0
faload
aload 2
iconst_1
faload
aload 2
iconst_2
faload
invokestatic java.awt.Color.HSBtoRGB:(FFF)I
ldc 16777215
iand
iload 3
bipush 24
ishl
ior
putfield javax.swing.plaf.nimbus.DerivedColor.argbValue:I
end local 3 end local 2 8: goto 15
9: StackMap locals: java.awt.Color
StackMap stack:
iconst_3
newarray 6
astore 2
start local 2 10: aload 2
iconst_0
aload 0
aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.hOffset:F
invokevirtual javax.swing.plaf.nimbus.DerivedColor.clamp:(F)F
fastore
11: aload 2
iconst_1
aload 0
aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.sOffset:F
invokevirtual javax.swing.plaf.nimbus.DerivedColor.clamp:(F)F
fastore
12: aload 2
iconst_2
aload 0
aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.bOffset:F
invokevirtual javax.swing.plaf.nimbus.DerivedColor.clamp:(F)F
fastore
13: aload 0
aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.aOffset:I
invokevirtual javax.swing.plaf.nimbus.DerivedColor.clamp:(I)I
istore 3
start local 3 14: aload 0
aload 2
iconst_0
faload
aload 2
iconst_1
faload
aload 2
iconst_2
faload
invokestatic java.awt.Color.HSBtoRGB:(FFF)I
ldc 16777215
iand
iload 3
bipush 24
ishl
ior
putfield javax.swing.plaf.nimbus.DerivedColor.argbValue:I
end local 3 end local 2 15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/plaf/nimbus/DerivedColor;
1 16 1 src Ljava/awt/Color;
3 8 2 tmp [F
7 8 3 alpha I
10 15 2 tmp [F
14 15 3 alpha I
public int getRGB();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.argbValue:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/nimbus/DerivedColor;
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 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
instanceof javax.swing.plaf.nimbus.DerivedColor
ifne 2
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.plaf.nimbus.DerivedColor
astore 2
start local 2 3: aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.aOffset:I
aload 2
getfield javax.swing.plaf.nimbus.DerivedColor.aOffset:I
if_icmpeq 4
iconst_0
ireturn
4: StackMap locals: javax.swing.plaf.nimbus.DerivedColor
StackMap stack:
aload 2
getfield javax.swing.plaf.nimbus.DerivedColor.bOffset:F
aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.bOffset:F
invokestatic java.lang.Float.compare:(FF)I
ifeq 5
iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 2
getfield javax.swing.plaf.nimbus.DerivedColor.hOffset:F
aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.hOffset:F
invokestatic java.lang.Float.compare:(FF)I
ifeq 6
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 2
getfield javax.swing.plaf.nimbus.DerivedColor.sOffset:F
aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.sOffset:F
invokestatic java.lang.Float.compare:(FF)I
ifeq 7
iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.uiDefaultParentName:Ljava/lang/String;
aload 2
getfield javax.swing.plaf.nimbus.DerivedColor.uiDefaultParentName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/plaf/nimbus/DerivedColor;
0 9 1 o Ljava/lang/Object;
3 9 2 that Ljavax/swing/plaf/nimbus/DerivedColor;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.uiDefaultParentName:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
istore 1
start local 1 1: bipush 31
iload 1
imul
i2f
aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.hOffset:F
fadd
fconst_0
fcmpl
ifeq 3
2: aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.hOffset:F
invokestatic java.lang.Float.floatToIntBits:(F)I
goto 4
StackMap locals: int
StackMap stack:
3: iconst_0
4: StackMap locals:
StackMap stack: int
istore 1
5: bipush 31
iload 1
imul
i2f
aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.sOffset:F
fadd
fconst_0
fcmpl
ifeq 7
6: aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.sOffset:F
invokestatic java.lang.Float.floatToIntBits:(F)I
goto 8
StackMap locals:
StackMap stack:
7: iconst_0
8: StackMap locals:
StackMap stack: int
istore 1
9: bipush 31
iload 1
imul
i2f
aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.bOffset:F
fadd
fconst_0
fcmpl
ifeq 11
10: aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.bOffset:F
invokestatic java.lang.Float.floatToIntBits:(F)I
goto 12
StackMap locals:
StackMap stack:
11: iconst_0
12: StackMap locals:
StackMap stack: int
istore 1
13: bipush 31
iload 1
imul
aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.aOffset:I
iadd
istore 1
14: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/swing/plaf/nimbus/DerivedColor;
1 15 1 result I
private float clamp(float);
descriptor: (F)F
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: fload 1
fconst_0
fcmpg
ifge 3
1: fconst_0
fstore 1
2: goto 5
StackMap locals:
StackMap stack:
3: fload 1
fconst_1
fcmpl
ifle 5
4: fconst_1
fstore 1
5: StackMap locals:
StackMap stack:
fload 1
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/nimbus/DerivedColor;
0 6 1 value F
MethodParameters:
Name Flags
value
private int clamp(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifge 3
1: iconst_0
istore 1
2: goto 5
StackMap locals:
StackMap stack:
3: iload 1
sipush 255
if_icmple 5
4: sipush 255
istore 1
5: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/nimbus/DerivedColor;
0 6 1 value I
MethodParameters:
Name Flags
value
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.uiDefaultParentName:Ljava/lang/String;
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
astore 1
start local 1 1: new java.lang.StringBuilder
dup
ldc "DerivedColor(color="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual javax.swing.plaf.nimbus.DerivedColor.getRed:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual javax.swing.plaf.nimbus.DerivedColor.getGreen:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual javax.swing.plaf.nimbus.DerivedColor.getBlue:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
2: ldc " parent="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.swing.plaf.nimbus.DerivedColor.uiDefaultParentName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc " offsets="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual javax.swing.plaf.nimbus.DerivedColor.getHueOffset:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual javax.swing.plaf.nimbus.DerivedColor.getSaturationOffset:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 0
invokevirtual javax.swing.plaf.nimbus.DerivedColor.getBrightnessOffset:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual javax.swing.plaf.nimbus.DerivedColor.getAlphaOffset:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 6: aload 1
ifnonnull 7
aload 2
goto 8
StackMap locals: java.awt.Color java.lang.String
StackMap stack:
7: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " pColor="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.awt.Color.getRed:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.awt.Color.getGreen:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.awt.Color.getBlue:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
8: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/plaf/nimbus/DerivedColor;
1 9 1 src Ljava/awt/Color;
6 9 2 s Ljava/lang/String;
}
SourceFile: "DerivedColor.java"
NestMembers:
javax.swing.plaf.nimbus.DerivedColor$UIResource
InnerClasses:
UIResource = javax.swing.plaf.nimbus.DerivedColor$UIResource of javax.swing.plaf.nimbus.DerivedColor