public class com.apple.laf.AquaUtilControlSize
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.apple.laf.AquaUtilControlSize
super_class: java.lang.Object
{
protected static final java.lang.String CLIENT_PROPERTY_KEY;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "JComponent.sizeVariant"
protected static final java.lang.String SYSTEM_PROPERTY_KEY;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "swing.component.sizevariant"
protected static final com.apple.laf.AquaUtils$RecyclableSingleton<com.apple.laf.AquaUtilControlSize$PropertySizeListener> sizeListener;
descriptor: Lcom/apple/laf/AquaUtils$RecyclableSingleton;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
Signature: Lcom/apple/laf/AquaUtils$RecyclableSingleton<Lcom/apple/laf/AquaUtilControlSize$PropertySizeListener;>;
protected static final apple.laf.JRSUIConstants$Size defaultSize;
descriptor: Lapple/laf/JRSUIConstants$Size;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.apple.laf.AquaUtils$RecyclableSingletonFromDefaultConstructor
dup
ldc Lcom/apple/laf/AquaUtilControlSize$PropertySizeListener;
invokespecial com.apple.laf.AquaUtils$RecyclableSingletonFromDefaultConstructor.<init>:(Ljava/lang/Class;)V
putstatic com.apple.laf.AquaUtilControlSize.sizeListener:Lcom/apple/laf/AquaUtils$RecyclableSingleton;
1: invokestatic com.apple.laf.AquaUtilControlSize.getDefaultSize:()Lapple/laf/JRSUIConstants$Size;
putstatic com.apple.laf.AquaUtilControlSize.defaultSize:Lapple/laf/JRSUIConstants$Size;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaUtilControlSize;
protected static com.apple.laf.AquaUtilControlSize$PropertySizeListener getSizeListener();
descriptor: ()Lcom/apple/laf/AquaUtilControlSize$PropertySizeListener;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.apple.laf.AquaUtilControlSize.sizeListener:Lcom/apple/laf/AquaUtils$RecyclableSingleton;
invokevirtual com.apple.laf.AquaUtils$RecyclableSingleton.get:()Ljava/lang/Object;
checkcast com.apple.laf.AquaUtilControlSize$PropertySizeListener
areturn
LocalVariableTable:
Start End Slot Name Signature
protected static void addSizePropertyListener(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "JComponent.sizeVariant"
invokestatic com.apple.laf.AquaUtilControlSize.getSizeListener:()Lcom/apple/laf/AquaUtilControlSize$PropertySizeListener;
invokevirtual javax.swing.JComponent.addPropertyChangeListener:(Ljava/lang/String;Ljava/beans/PropertyChangeListener;)V
1: aload 0
aload 0
ldc "JComponent.sizeVariant"
invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
invokestatic com.apple.laf.AquaUtilControlSize$PropertySizeListener.applyComponentSize:(Ljavax/swing/JComponent;Ljava/lang/Object;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c final
protected static void removeSizePropertyListener(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "JComponent.sizeVariant"
invokestatic com.apple.laf.AquaUtilControlSize.getSizeListener:()Lcom/apple/laf/AquaUtilControlSize$PropertySizeListener;
invokevirtual javax.swing.JComponent.removePropertyChangeListener:(Ljava/lang/String;Ljava/beans/PropertyChangeListener;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
c final
private static apple.laf.JRSUIConstants$Size getSizeFromString(java.lang.String);
descriptor: (Ljava/lang/String;)Lapple/laf/JRSUIConstants$Size;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "regular"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 1
getstatic apple.laf.JRSUIConstants$Size.REGULAR:Lapple/laf/JRSUIConstants$Size;
areturn
1: StackMap locals:
StackMap stack:
ldc "small"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
getstatic apple.laf.JRSUIConstants$Size.SMALL:Lapple/laf/JRSUIConstants$Size;
areturn
2: StackMap locals:
StackMap stack:
ldc "mini"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
getstatic apple.laf.JRSUIConstants$Size.MINI:Lapple/laf/JRSUIConstants$Size;
areturn
3: StackMap locals:
StackMap stack:
ldc "large"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
getstatic apple.laf.JRSUIConstants$Size.LARGE:Lapple/laf/JRSUIConstants$Size;
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
private static apple.laf.JRSUIConstants$Size getDefaultSize();
descriptor: ()Lapple/laf/JRSUIConstants$Size;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: new sun.security.action.GetPropertyAction
dup
ldc "swing.component.sizevariant"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 1: aload 0
invokestatic com.apple.laf.AquaUtilControlSize.getSizeFromString:(Ljava/lang/String;)Lapple/laf/JRSUIConstants$Size;
astore 1
start local 1 2: aload 1
ifnull 3
aload 1
areturn
3: StackMap locals: java.lang.String apple.laf.JRSUIConstants$Size
StackMap stack:
getstatic apple.laf.JRSUIConstants$Size.REGULAR:Lapple/laf/JRSUIConstants$Size;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 sizeProperty Ljava/lang/String;
2 4 1 size Lapple/laf/JRSUIConstants$Size;
protected static apple.laf.JRSUIConstants$Size getUserSizeFrom(javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Lapple/laf/JRSUIConstants$Size;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
ldc "JComponent.sizeVariant"
invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnonnull 2
getstatic com.apple.laf.AquaUtilControlSize.defaultSize:Lapple/laf/JRSUIConstants$Size;
areturn
2: StackMap locals: java.lang.Object
StackMap stack:
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokestatic com.apple.laf.AquaUtilControlSize.getSizeFromString:(Ljava/lang/String;)Lapple/laf/JRSUIConstants$Size;
astore 2
start local 2 3: aload 2
ifnonnull 4
getstatic apple.laf.JRSUIConstants$Size.REGULAR:Lapple/laf/JRSUIConstants$Size;
areturn
4: StackMap locals: apple.laf.JRSUIConstants$Size
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 c Ljavax/swing/JComponent;
1 5 1 sizeProp Ljava/lang/Object;
3 5 2 size Lapple/laf/JRSUIConstants$Size;
MethodParameters:
Name Flags
c final
protected static apple.laf.JRSUIConstants$Size applySizeForControl(javax.swing.JComponent, com.apple.laf.AquaPainter<? extends apple.laf.JRSUIState>);
descriptor: (Ljavax/swing/JComponent;Lcom/apple/laf/AquaPainter;)Lapple/laf/JRSUIConstants$Size;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.apple.laf.AquaUtilControlSize.getUserSizeFrom:(Ljavax/swing/JComponent;)Lapple/laf/JRSUIConstants$Size;
astore 2
start local 2 1: aload 2
ifnonnull 2
getstatic apple.laf.JRSUIConstants$Size.REGULAR:Lapple/laf/JRSUIConstants$Size;
goto 3
StackMap locals: apple.laf.JRSUIConstants$Size
StackMap stack:
2: aload 2
StackMap locals:
StackMap stack: apple.laf.JRSUIConstants$Size
3: astore 3
start local 3 4: aload 1
getfield com.apple.laf.AquaPainter.state:Lapple/laf/JRSUIState;
aload 3
invokevirtual apple.laf.JRSUIState.set:(Lapple/laf/JRSUIConstants$Property;)V
5: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 c Ljavax/swing/JComponent;
0 6 1 painter Lcom/apple/laf/AquaPainter<+Lapple/laf/JRSUIState;>;
1 6 2 sizeFromUser Lapple/laf/JRSUIConstants$Size;
4 6 3 size Lapple/laf/JRSUIConstants$Size;
Signature: (Ljavax/swing/JComponent;Lcom/apple/laf/AquaPainter<+Lapple/laf/JRSUIState;>;)Lapple/laf/JRSUIConstants$Size;
MethodParameters:
Name Flags
c final
painter final
protected static java.awt.Font getFontForSize(java.awt.Component, apple.laf.JRSUIConstants$Size);
descriptor: (Ljava/awt/Component;Lapple/laf/JRSUIConstants$Size;)Ljava/awt/Font;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.awt.Component.getFont:()Ljava/awt/Font;
astore 2
start local 2 1: aload 1
ifnull 2
aload 2
instanceof javax.swing.plaf.UIResource
ifne 3
StackMap locals: java.awt.Font
StackMap stack:
2: aload 2
areturn
3: StackMap locals:
StackMap stack:
aload 1
getstatic apple.laf.JRSUIConstants$Size.MINI:Lapple/laf/JRSUIConstants$Size;
if_acmpne 4
aload 2
invokestatic com.apple.laf.AquaFonts.getMiniControlTextFont:()Ljavax/swing/plaf/FontUIResource;
invokevirtual javax.swing.plaf.FontUIResource.getSize2D:()F
invokevirtual java.awt.Font.deriveFont:(F)Ljava/awt/Font;
areturn
4: StackMap locals:
StackMap stack:
aload 1
getstatic apple.laf.JRSUIConstants$Size.SMALL:Lapple/laf/JRSUIConstants$Size;
if_acmpne 5
aload 2
invokestatic com.apple.laf.AquaFonts.getSmallControlTextFont:()Ljavax/swing/plaf/FontUIResource;
invokevirtual javax.swing.plaf.FontUIResource.getSize2D:()F
invokevirtual java.awt.Font.deriveFont:(F)Ljava/awt/Font;
areturn
5: StackMap locals:
StackMap stack:
aload 2
invokestatic com.apple.laf.AquaFonts.getControlTextFont:()Ljavax/swing/plaf/FontUIResource;
invokevirtual javax.swing.plaf.FontUIResource.getSize2D:()F
invokevirtual java.awt.Font.deriveFont:(F)Ljava/awt/Font;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 c Ljava/awt/Component;
0 6 1 size Lapple/laf/JRSUIConstants$Size;
1 6 2 initialFont Ljava/awt/Font;
MethodParameters:
Name Flags
c final
size final
private static void applyBorderForSize(javax.swing.JComponent, apple.laf.JRSUIConstants$Size);
descriptor: (Ljavax/swing/JComponent;Lapple/laf/JRSUIConstants$Size;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JComponent.getBorder:()Ljavax/swing/border/Border;
astore 2
start local 2 1: aload 2
instanceof com.apple.laf.AquaBorder
ifne 2
return
2: StackMap locals: javax.swing.border.Border
StackMap stack:
aload 2
checkcast com.apple.laf.AquaBorder
astore 3
start local 3 3: aload 3
getfield com.apple.laf.AquaBorder.sizeVariant:Lcom/apple/laf/AquaUtilControlSize$SizeVariant;
getfield com.apple.laf.AquaUtilControlSize$SizeVariant.size:Lapple/laf/JRSUIConstants$Size;
aload 1
if_acmpne 4
return
4: StackMap locals: com.apple.laf.AquaBorder
StackMap stack:
aload 3
aload 1
invokevirtual com.apple.laf.AquaBorder.deriveBorderForSize:(Lapple/laf/JRSUIConstants$Size;)Lcom/apple/laf/AquaBorder;
astore 4
start local 4 5: aload 4
ifnonnull 6
return
6: StackMap locals: com.apple.laf.AquaBorder
StackMap stack:
aload 0
aload 4
invokevirtual javax.swing.JComponent.setBorder:(Ljavax/swing/border/Border;)V
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 c Ljavax/swing/JComponent;
0 8 1 size Lapple/laf/JRSUIConstants$Size;
1 8 2 border Ljavax/swing/border/Border;
3 8 3 aquaBorder Lcom/apple/laf/AquaBorder;
5 8 4 derivedBorder Lcom/apple/laf/AquaBorder;
MethodParameters:
Name Flags
c final
size final
private static void applyUISizing(javax.swing.JComponent, apple.laf.JRSUIConstants$Size);
descriptor: (Ljavax/swing/JComponent;Lapple/laf/JRSUIConstants$Size;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 2
start local 2 1: aload 2
ldc "getUI"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 3
start local 3 2: aload 3
aload 0
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 3: aload 4
instanceof com.apple.laf.AquaUtilControlSize$Sizeable
ifne 5
4: return
5: StackMap locals: java.lang.Class java.lang.reflect.Method java.lang.Object
StackMap stack:
aload 4
checkcast com.apple.laf.AquaUtilControlSize$Sizeable
astore 5
start local 5 6: aload 5
aload 0
aload 1
invokeinterface com.apple.laf.AquaUtilControlSize$Sizeable.applySizeFor:(Ljavax/swing/JComponent;Lapple/laf/JRSUIConstants$Size;)V
end local 5 end local 4 end local 3 end local 2 7: goto 9
StackMap locals: javax.swing.JComponent apple.laf.JRSUIConstants$Size
StackMap stack: java.lang.Throwable
8: pop
return
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 c Ljavax/swing/JComponent;
0 10 1 size Lapple/laf/JRSUIConstants$Size;
1 7 2 clazz Ljava/lang/Class<+Ljavax/swing/JComponent;>;
2 7 3 getUIMethod Ljava/lang/reflect/Method;
3 7 4 ui Ljava/lang/Object;
6 7 5 sizeable Lcom/apple/laf/AquaUtilControlSize$Sizeable;
Exception table:
from to target type
0 4 8 Class java.lang.Throwable
5 7 8 Class java.lang.Throwable
MethodParameters:
Name Flags
c final
size final
}
SourceFile: "AquaUtilControlSize.java"
NestMembers:
com.apple.laf.AquaUtilControlSize$PropertySizeListener com.apple.laf.AquaUtilControlSize$SizeDescriptor com.apple.laf.AquaUtilControlSize$SizeVariant com.apple.laf.AquaUtilControlSize$Sizeable
InnerClasses:
public Size = apple.laf.JRSUIConstants$Size of apple.laf.JRSUIConstants
protected PropertySizeListener = com.apple.laf.AquaUtilControlSize$PropertySizeListener of com.apple.laf.AquaUtilControlSize
public SizeDescriptor = com.apple.laf.AquaUtilControlSize$SizeDescriptor of com.apple.laf.AquaUtilControlSize
public SizeVariant = com.apple.laf.AquaUtilControlSize$SizeVariant of com.apple.laf.AquaUtilControlSize
abstract Sizeable = com.apple.laf.AquaUtilControlSize$Sizeable of com.apple.laf.AquaUtilControlSize
abstract RecyclableSingleton = com.apple.laf.AquaUtils$RecyclableSingleton of com.apple.laf.AquaUtils
RecyclableSingletonFromDefaultConstructor = com.apple.laf.AquaUtils$RecyclableSingletonFromDefaultConstructor of com.apple.laf.AquaUtils
Property = apple.laf.JRSUIConstants$Property of apple.laf.JRSUIConstants