final class javax.swing.plaf.nimbus.NimbusDefaults$DerivedFont implements javax.swing.UIDefaults$ActiveValue
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: javax.swing.plaf.nimbus.NimbusDefaults$DerivedFont
super_class: java.lang.Object
{
private float sizeOffset;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private java.lang.Boolean bold;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private java.lang.Boolean italic;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private java.lang.String parentKey;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String, float, java.lang.Boolean, java.lang.Boolean);
descriptor: (Ljava/lang/String;FLjava/lang/Boolean;Ljava/lang/Boolean;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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 1
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "You must specify a key"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.swing.plaf.nimbus.NimbusDefaults$DerivedFont java.lang.String float java.lang.Boolean java.lang.Boolean
StackMap stack:
aload 0
aload 1
putfield javax.swing.plaf.nimbus.NimbusDefaults$DerivedFont.parentKey:Ljava/lang/String;
4: aload 0
fload 2
putfield javax.swing.plaf.nimbus.NimbusDefaults$DerivedFont.sizeOffset:F
5: aload 0
aload 3
putfield javax.swing.plaf.nimbus.NimbusDefaults$DerivedFont.bold:Ljava/lang/Boolean;
6: aload 0
aload 4
putfield javax.swing.plaf.nimbus.NimbusDefaults$DerivedFont.italic:Ljava/lang/Boolean;
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/plaf/nimbus/NimbusDefaults$DerivedFont;
0 8 1 key Ljava/lang/String;
0 8 2 sizeOffset F
0 8 3 bold Ljava/lang/Boolean;
0 8 4 italic Ljava/lang/Boolean;
MethodParameters:
Name Flags
key
sizeOffset
bold
italic
public java.lang.Object createValue(javax.swing.UIDefaults);
descriptor: (Ljavax/swing/UIDefaults;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield javax.swing.plaf.nimbus.NimbusDefaults$DerivedFont.parentKey:Ljava/lang/String;
invokevirtual javax.swing.UIDefaults.getFont:(Ljava/lang/Object;)Ljava/awt/Font;
astore 2
start local 2 1: aload 2
ifnull 15
2: aload 2
invokevirtual java.awt.Font.getSize2D:()F
aload 0
getfield javax.swing.plaf.nimbus.NimbusDefaults$DerivedFont.sizeOffset:F
fmul
invokestatic java.lang.Math.round:(F)I
i2f
fstore 3
start local 3 3: aload 2
invokevirtual java.awt.Font.getStyle:()I
istore 4
start local 4 4: aload 0
getfield javax.swing.plaf.nimbus.NimbusDefaults$DerivedFont.bold:Ljava/lang/Boolean;
ifnull 9
5: aload 0
getfield javax.swing.plaf.nimbus.NimbusDefaults$DerivedFont.bold:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 8
6: iload 4
iconst_1
ior
istore 4
7: goto 9
8: StackMap locals: java.awt.Font float int
StackMap stack:
iload 4
bipush -2
iand
istore 4
9: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.nimbus.NimbusDefaults$DerivedFont.italic:Ljava/lang/Boolean;
ifnull 14
10: aload 0
getfield javax.swing.plaf.nimbus.NimbusDefaults$DerivedFont.italic:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 13
11: iload 4
iconst_2
ior
istore 4
12: goto 14
13: StackMap locals:
StackMap stack:
iload 4
bipush -3
iand
istore 4
14: StackMap locals:
StackMap stack:
aload 2
iload 4
fload 3
invokevirtual java.awt.Font.deriveFont:(IF)Ljava/awt/Font;
areturn
end local 4 end local 3 15: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/plaf/nimbus/NimbusDefaults$DerivedFont;
0 16 1 defaults Ljavax/swing/UIDefaults;
1 16 2 f Ljava/awt/Font;
3 15 3 size F
4 15 4 style I
MethodParameters:
Name Flags
defaults
}
SourceFile: "NimbusDefaults.java"
NestHost: javax.swing.plaf.nimbus.NimbusDefaults
InnerClasses:
public abstract ActiveValue = javax.swing.UIDefaults$ActiveValue of javax.swing.UIDefaults
final DerivedFont = javax.swing.plaf.nimbus.NimbusDefaults$DerivedFont of javax.swing.plaf.nimbus.NimbusDefaults