public class sun.swing.DefaultLookup
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.swing.DefaultLookup
super_class: java.lang.Object
{
private static final java.lang.Object DEFAULT_LOOKUP_KEY;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static java.lang.Thread currentDefaultThread;
descriptor: Ljava/lang/Thread;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.swing.DefaultLookup currentDefaultLookup;
descriptor: Lsun/swing/DefaultLookup;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean isLookupSet;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.StringBuffer
dup
ldc "DefaultLookup"
1: invokespecial java.lang.StringBuffer.<init>:(Ljava/lang/String;)V
putstatic sun.swing.DefaultLookup.DEFAULT_LOOKUP_KEY:Ljava/lang/Object;
2: 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 Lsun/swing/DefaultLookup;
public static void setDefaultLookup(sun.swing.DefaultLookup);
descriptor: (Lsun/swing/DefaultLookup;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: ldc Lsun/swing/DefaultLookup;
dup
astore 1
monitorenter
1: getstatic sun.swing.DefaultLookup.isLookupSet:Z
ifne 4
aload 0
ifnonnull 4
2: aload 1
monitorexit
3: return
4: StackMap locals: java.lang.Class
StackMap stack:
aload 0
ifnonnull 6
5: new sun.swing.DefaultLookup
dup
invokespecial sun.swing.DefaultLookup.<init>:()V
astore 0
6: StackMap locals:
StackMap stack:
iconst_1
putstatic sun.swing.DefaultLookup.isLookupSet:Z
7: invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
getstatic sun.swing.DefaultLookup.DEFAULT_LOOKUP_KEY:Ljava/lang/Object;
aload 0
invokevirtual sun.awt.AppContext.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
putstatic sun.swing.DefaultLookup.currentDefaultThread:Ljava/lang/Thread;
9: aload 0
putstatic sun.swing.DefaultLookup.currentDefaultLookup:Lsun/swing/DefaultLookup;
10: aload 1
monitorexit
11: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
12: aload 1
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 lookup Lsun/swing/DefaultLookup;
Exception table:
from to target type
1 3 12 any
4 11 12 any
12 13 12 any
MethodParameters:
Name Flags
lookup
public static java.lang.Object get(javax.swing.JComponent, javax.swing.plaf.ComponentUI, java.lang.String);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: ldc Lsun/swing/DefaultLookup;
dup
astore 4
monitorenter
1: getstatic sun.swing.DefaultLookup.isLookupSet:Z
istore 3
start local 3 2: aload 4
monitorexit
3: goto 6
end local 3 StackMap locals: javax.swing.JComponent javax.swing.plaf.ComponentUI java.lang.String top java.lang.Class
StackMap stack: java.lang.Throwable
4: aload 4
monitorexit
5: athrow
start local 3 6: StackMap locals: javax.swing.JComponent javax.swing.plaf.ComponentUI java.lang.String int
StackMap stack:
iload 3
ifne 8
7: aload 2
aload 0
invokevirtual javax.swing.JComponent.getLocale:()Ljava/util/Locale;
invokestatic javax.swing.UIManager.get:(Ljava/lang/Object;Ljava/util/Locale;)Ljava/lang/Object;
areturn
8: StackMap locals:
StackMap stack:
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
astore 4
start local 4 9: ldc Lsun/swing/DefaultLookup;
dup
astore 6
monitorenter
10: aload 4
getstatic sun.swing.DefaultLookup.currentDefaultThread:Ljava/lang/Thread;
if_acmpne 13
11: getstatic sun.swing.DefaultLookup.currentDefaultLookup:Lsun/swing/DefaultLookup;
astore 5
start local 5 12: goto 21
end local 5 13: StackMap locals: javax.swing.JComponent javax.swing.plaf.ComponentUI java.lang.String int java.lang.Thread top java.lang.Class
StackMap stack:
invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
14: getstatic sun.swing.DefaultLookup.DEFAULT_LOOKUP_KEY:Ljava/lang/Object;
15: invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.swing.DefaultLookup
astore 5
start local 5 16: aload 5
ifnonnull 19
17: new sun.swing.DefaultLookup
dup
invokespecial sun.swing.DefaultLookup.<init>:()V
astore 5
18: invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
getstatic sun.swing.DefaultLookup.DEFAULT_LOOKUP_KEY:Ljava/lang/Object;
aload 5
invokevirtual sun.awt.AppContext.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: StackMap locals: javax.swing.JComponent javax.swing.plaf.ComponentUI java.lang.String int java.lang.Thread sun.swing.DefaultLookup java.lang.Class
StackMap stack:
aload 4
putstatic sun.swing.DefaultLookup.currentDefaultThread:Ljava/lang/Thread;
20: aload 5
putstatic sun.swing.DefaultLookup.currentDefaultLookup:Lsun/swing/DefaultLookup;
21: StackMap locals:
StackMap stack:
aload 6
monitorexit
22: goto 25
end local 5 StackMap locals: javax.swing.JComponent javax.swing.plaf.ComponentUI java.lang.String int java.lang.Thread top java.lang.Class
StackMap stack: java.lang.Throwable
23: aload 6
monitorexit
24: athrow
start local 5 25: StackMap locals: javax.swing.JComponent javax.swing.plaf.ComponentUI java.lang.String int java.lang.Thread sun.swing.DefaultLookup
StackMap stack:
aload 5
aload 0
aload 1
aload 2
invokevirtual sun.swing.DefaultLookup.getDefault:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;)Ljava/lang/Object;
areturn
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 26 0 c Ljavax/swing/JComponent;
0 26 1 ui Ljavax/swing/plaf/ComponentUI;
0 26 2 key Ljava/lang/String;
2 4 3 lookupSet Z
6 26 3 lookupSet Z
9 26 4 thisThread Ljava/lang/Thread;
12 13 5 lookup Lsun/swing/DefaultLookup;
16 23 5 lookup Lsun/swing/DefaultLookup;
25 26 5 lookup Lsun/swing/DefaultLookup;
Exception table:
from to target type
1 3 4 any
4 5 4 any
10 22 23 any
23 24 23 any
MethodParameters:
Name Flags
c
ui
key
public static int getInt(javax.swing.JComponent, javax.swing.plaf.ComponentUI, java.lang.String, int);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokestatic sun.swing.DefaultLookup.get:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;)Ljava/lang/Object;
astore 4
start local 4 1: aload 4
ifnull 2
aload 4
instanceof java.lang.Number
ifne 3
2: StackMap locals: java.lang.Object
StackMap stack:
iload 3
ireturn
3: StackMap locals:
StackMap stack:
aload 4
checkcast java.lang.Number
invokevirtual java.lang.Number.intValue:()I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 c Ljavax/swing/JComponent;
0 4 1 ui Ljavax/swing/plaf/ComponentUI;
0 4 2 key Ljava/lang/String;
0 4 3 defaultValue I
1 4 4 iValue Ljava/lang/Object;
MethodParameters:
Name Flags
c
ui
key
defaultValue
public static int getInt(javax.swing.JComponent, javax.swing.plaf.ComponentUI, java.lang.String);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_m1
invokestatic sun.swing.DefaultLookup.getInt:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljavax/swing/JComponent;
0 1 1 ui Ljavax/swing/plaf/ComponentUI;
0 1 2 key Ljava/lang/String;
MethodParameters:
Name Flags
c
ui
key
public static java.awt.Insets getInsets(javax.swing.JComponent, javax.swing.plaf.ComponentUI, java.lang.String, java.awt.Insets);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;Ljava/awt/Insets;)Ljava/awt/Insets;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokestatic sun.swing.DefaultLookup.get:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;)Ljava/lang/Object;
astore 4
start local 4 1: aload 4
ifnull 2
aload 4
instanceof java.awt.Insets
ifne 3
2: StackMap locals: java.lang.Object
StackMap stack:
aload 3
areturn
3: StackMap locals:
StackMap stack:
aload 4
checkcast java.awt.Insets
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 c Ljavax/swing/JComponent;
0 4 1 ui Ljavax/swing/plaf/ComponentUI;
0 4 2 key Ljava/lang/String;
0 4 3 defaultValue Ljava/awt/Insets;
1 4 4 iValue Ljava/lang/Object;
MethodParameters:
Name Flags
c
ui
key
defaultValue
public static java.awt.Insets getInsets(javax.swing.JComponent, javax.swing.plaf.ComponentUI, java.lang.String);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;)Ljava/awt/Insets;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokestatic sun.swing.DefaultLookup.getInsets:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;Ljava/awt/Insets;)Ljava/awt/Insets;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljavax/swing/JComponent;
0 1 1 ui Ljavax/swing/plaf/ComponentUI;
0 1 2 key Ljava/lang/String;
MethodParameters:
Name Flags
c
ui
key
public static boolean getBoolean(javax.swing.JComponent, javax.swing.plaf.ComponentUI, java.lang.String, boolean);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;Z)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokestatic sun.swing.DefaultLookup.get:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;)Ljava/lang/Object;
astore 4
start local 4 1: aload 4
ifnull 2
aload 4
instanceof java.lang.Boolean
ifne 3
2: StackMap locals: java.lang.Object
StackMap stack:
iload 3
ireturn
3: StackMap locals:
StackMap stack:
aload 4
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 c Ljavax/swing/JComponent;
0 4 1 ui Ljavax/swing/plaf/ComponentUI;
0 4 2 key Ljava/lang/String;
0 4 3 defaultValue Z
1 4 4 iValue Ljava/lang/Object;
MethodParameters:
Name Flags
c
ui
key
defaultValue
public static boolean getBoolean(javax.swing.JComponent, javax.swing.plaf.ComponentUI, java.lang.String);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokestatic sun.swing.DefaultLookup.getBoolean:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;Z)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljavax/swing/JComponent;
0 1 1 ui Ljavax/swing/plaf/ComponentUI;
0 1 2 key Ljava/lang/String;
MethodParameters:
Name Flags
c
ui
key
public static java.awt.Color getColor(javax.swing.JComponent, javax.swing.plaf.ComponentUI, java.lang.String, java.awt.Color);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;Ljava/awt/Color;)Ljava/awt/Color;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokestatic sun.swing.DefaultLookup.get:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;)Ljava/lang/Object;
astore 4
start local 4 1: aload 4
ifnull 2
aload 4
instanceof java.awt.Color
ifne 3
2: StackMap locals: java.lang.Object
StackMap stack:
aload 3
areturn
3: StackMap locals:
StackMap stack:
aload 4
checkcast java.awt.Color
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 c Ljavax/swing/JComponent;
0 4 1 ui Ljavax/swing/plaf/ComponentUI;
0 4 2 key Ljava/lang/String;
0 4 3 defaultValue Ljava/awt/Color;
1 4 4 iValue Ljava/lang/Object;
MethodParameters:
Name Flags
c
ui
key
defaultValue
public static java.awt.Color getColor(javax.swing.JComponent, javax.swing.plaf.ComponentUI, java.lang.String);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;)Ljava/awt/Color;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokestatic sun.swing.DefaultLookup.getColor:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;Ljava/awt/Color;)Ljava/awt/Color;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljavax/swing/JComponent;
0 1 1 ui Ljavax/swing/plaf/ComponentUI;
0 1 2 key Ljava/lang/String;
MethodParameters:
Name Flags
c
ui
key
public static javax.swing.Icon getIcon(javax.swing.JComponent, javax.swing.plaf.ComponentUI, java.lang.String, javax.swing.Icon);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;Ljavax/swing/Icon;)Ljavax/swing/Icon;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokestatic sun.swing.DefaultLookup.get:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;)Ljava/lang/Object;
astore 4
start local 4 1: aload 4
ifnull 2
aload 4
instanceof javax.swing.Icon
ifne 3
2: StackMap locals: java.lang.Object
StackMap stack:
aload 3
areturn
3: StackMap locals:
StackMap stack:
aload 4
checkcast javax.swing.Icon
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 c Ljavax/swing/JComponent;
0 4 1 ui Ljavax/swing/plaf/ComponentUI;
0 4 2 key Ljava/lang/String;
0 4 3 defaultValue Ljavax/swing/Icon;
1 4 4 iValue Ljava/lang/Object;
MethodParameters:
Name Flags
c
ui
key
defaultValue
public static javax.swing.Icon getIcon(javax.swing.JComponent, javax.swing.plaf.ComponentUI, java.lang.String);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;)Ljavax/swing/Icon;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokestatic sun.swing.DefaultLookup.getIcon:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;Ljavax/swing/Icon;)Ljavax/swing/Icon;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljavax/swing/JComponent;
0 1 1 ui Ljavax/swing/plaf/ComponentUI;
0 1 2 key Ljava/lang/String;
MethodParameters:
Name Flags
c
ui
key
public static javax.swing.border.Border getBorder(javax.swing.JComponent, javax.swing.plaf.ComponentUI, java.lang.String, javax.swing.border.Border);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;Ljavax/swing/border/Border;)Ljavax/swing/border/Border;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokestatic sun.swing.DefaultLookup.get:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;)Ljava/lang/Object;
astore 4
start local 4 1: aload 4
ifnull 2
aload 4
instanceof javax.swing.border.Border
ifne 3
2: StackMap locals: java.lang.Object
StackMap stack:
aload 3
areturn
3: StackMap locals:
StackMap stack:
aload 4
checkcast javax.swing.border.Border
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 c Ljavax/swing/JComponent;
0 4 1 ui Ljavax/swing/plaf/ComponentUI;
0 4 2 key Ljava/lang/String;
0 4 3 defaultValue Ljavax/swing/border/Border;
1 4 4 iValue Ljava/lang/Object;
MethodParameters:
Name Flags
c
ui
key
defaultValue
public static javax.swing.border.Border getBorder(javax.swing.JComponent, javax.swing.plaf.ComponentUI, java.lang.String);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;)Ljavax/swing/border/Border;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokestatic sun.swing.DefaultLookup.getBorder:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;Ljavax/swing/border/Border;)Ljavax/swing/border/Border;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljavax/swing/JComponent;
0 1 1 ui Ljavax/swing/plaf/ComponentUI;
0 1 2 key Ljava/lang/String;
MethodParameters:
Name Flags
c
ui
key
public java.lang.Object getDefault(javax.swing.JComponent, javax.swing.plaf.ComponentUI, java.lang.String);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
aload 1
invokevirtual javax.swing.JComponent.getLocale:()Ljava/util/Locale;
invokestatic javax.swing.UIManager.get:(Ljava/lang/Object;Ljava/util/Locale;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/DefaultLookup;
0 1 1 c Ljavax/swing/JComponent;
0 1 2 ui Ljavax/swing/plaf/ComponentUI;
0 1 3 key Ljava/lang/String;
MethodParameters:
Name Flags
c
ui
key
}
SourceFile: "DefaultLookup.java"