public class javax.swing.plaf.synth.SynthContext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.synth.SynthContext
super_class: java.lang.Object
{
private static final java.util.Map<java.lang.Class, java.util.List<javax.swing.plaf.synth.SynthContext>> contextMap;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class;Ljava/util/List<Ljavax/swing/plaf/synth/SynthContext;>;>;
private javax.swing.JComponent component;
descriptor: Ljavax/swing/JComponent;
flags: (0x0002) ACC_PRIVATE
private javax.swing.plaf.synth.Region region;
descriptor: Ljavax/swing/plaf/synth/Region;
flags: (0x0002) ACC_PRIVATE
private javax.swing.plaf.synth.SynthStyle style;
descriptor: Ljavax/swing/plaf/synth/SynthStyle;
flags: (0x0002) ACC_PRIVATE
private int state;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic javax.swing.plaf.synth.SynthContext.contextMap:Ljava/util/Map;
1: return
LocalVariableTable:
Start End Slot Name Signature
static javax.swing.plaf.synth.SynthContext getContext(java.lang.Class, javax.swing.JComponent, javax.swing.plaf.synth.Region, javax.swing.plaf.synth.SynthStyle, int);
descriptor: (Ljava/lang/Class;Ljavax/swing/JComponent;Ljavax/swing/plaf/synth/Region;Ljavax/swing/plaf/synth/SynthStyle;I)Ljavax/swing/plaf/synth/SynthContext;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aconst_null
astore 5
start local 5 1: getstatic javax.swing.plaf.synth.SynthContext.contextMap:Ljava/util/Map;
dup
astore 6
monitorenter
2: getstatic javax.swing.plaf.synth.SynthContext.contextMap:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 7
start local 7 3: aload 7
ifnull 7
4: aload 7
invokeinterface java.util.List.size:()I
istore 8
start local 8 5: iload 8
ifle 7
6: aload 7
iload 8
iconst_1
isub
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
checkcast javax.swing.plaf.synth.SynthContext
astore 5
end local 8 end local 7 7: StackMap locals: javax.swing.plaf.synth.SynthContext java.util.Map
StackMap stack:
aload 6
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 6
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 5
ifnonnull 16
12: aload 0
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast javax.swing.plaf.synth.SynthContext
astore 5
13: goto 16
StackMap locals:
StackMap stack: java.lang.IllegalAccessException
14: pop
goto 16
15: StackMap locals:
StackMap stack: java.lang.InstantiationException
pop
16: StackMap locals:
StackMap stack:
aload 5
aload 1
aload 2
aload 3
iload 4
invokevirtual javax.swing.plaf.synth.SynthContext.reset:(Ljavax/swing/JComponent;Ljavax/swing/plaf/synth/Region;Ljavax/swing/plaf/synth/SynthStyle;I)V
17: aload 5
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 18 0 type Ljava/lang/Class;
0 18 1 component Ljavax/swing/JComponent;
0 18 2 region Ljavax/swing/plaf/synth/Region;
0 18 3 style Ljavax/swing/plaf/synth/SynthStyle;
0 18 4 state I
1 18 5 context Ljavax/swing/plaf/synth/SynthContext;
3 7 7 instances Ljava/util/List<Ljavax/swing/plaf/synth/SynthContext;>;
5 7 8 size I
Exception table:
from to target type
2 8 9 any
9 10 9 any
12 13 14 Class java.lang.IllegalAccessException
12 13 15 Class java.lang.InstantiationException
MethodParameters:
Name Flags
type
component
region
style
state
static void releaseContext(javax.swing.plaf.synth.SynthContext);
descriptor: (Ljavax/swing/plaf/synth/SynthContext;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: getstatic javax.swing.plaf.synth.SynthContext.contextMap:Ljava/util/Map;
dup
astore 1
monitorenter
1: getstatic javax.swing.plaf.synth.SynthContext.contextMap:Ljava/util/Map;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 2: aload 2
ifnonnull 5
3: new java.util.ArrayList
dup
iconst_5
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
4: getstatic javax.swing.plaf.synth.SynthContext.contextMap:Ljava/util/Map;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: java.util.Map java.util.List
StackMap stack:
aload 2
aload 0
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 6: aload 1
monitorexit
7: goto 10
StackMap locals: javax.swing.plaf.synth.SynthContext java.util.Map
StackMap stack: java.lang.Throwable
8: aload 1
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 context Ljavax/swing/plaf/synth/SynthContext;
2 6 2 instances Ljava/util/List<Ljavax/swing/plaf/synth/SynthContext;>;
Exception table:
from to target type
1 7 8 any
8 9 8 any
MethodParameters:
Name Flags
context
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/synth/SynthContext;
public void <init>(javax.swing.JComponent, javax.swing.plaf.synth.Region, javax.swing.plaf.synth.SynthStyle, int);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/plaf/synth/Region;Ljavax/swing/plaf/synth/SynthStyle;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, 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
ifnull 2
aload 2
ifnull 2
aload 3
ifnonnull 5
2: StackMap locals: javax.swing.plaf.synth.SynthContext javax.swing.JComponent javax.swing.plaf.synth.Region javax.swing.plaf.synth.SynthStyle int
StackMap stack:
new java.lang.NullPointerException
dup
3: ldc "You must supply a non-null component, region and style"
4: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
iload 4
invokevirtual javax.swing.plaf.synth.SynthContext.reset:(Ljavax/swing/JComponent;Ljavax/swing/plaf/synth/Region;Ljavax/swing/plaf/synth/SynthStyle;I)V
6: return
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/synth/SynthContext;
0 7 1 component Ljavax/swing/JComponent;
0 7 2 region Ljavax/swing/plaf/synth/Region;
0 7 3 style Ljavax/swing/plaf/synth/SynthStyle;
0 7 4 state I
MethodParameters:
Name Flags
component
region
style
state
public javax.swing.JComponent getComponent();
descriptor: ()Ljavax/swing/JComponent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.synth.SynthContext.component:Ljavax/swing/JComponent;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/synth/SynthContext;
public javax.swing.plaf.synth.Region getRegion();
descriptor: ()Ljavax/swing/plaf/synth/Region;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.synth.SynthContext.region:Ljavax/swing/plaf/synth/Region;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/synth/SynthContext;
boolean isSubregion();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.plaf.synth.SynthContext.getRegion:()Ljavax/swing/plaf/synth/Region;
invokevirtual javax.swing.plaf.synth.Region.isSubregion:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/synth/SynthContext;
void setStyle(javax.swing.plaf.synth.SynthStyle);
descriptor: (Ljavax/swing/plaf/synth/SynthStyle;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javax.swing.plaf.synth.SynthContext.style:Ljavax/swing/plaf/synth/SynthStyle;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/synth/SynthContext;
0 2 1 style Ljavax/swing/plaf/synth/SynthStyle;
MethodParameters:
Name Flags
style
public javax.swing.plaf.synth.SynthStyle getStyle();
descriptor: ()Ljavax/swing/plaf/synth/SynthStyle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.synth.SynthContext.style:Ljavax/swing/plaf/synth/SynthStyle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/synth/SynthContext;
void setComponentState(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.plaf.synth.SynthContext.state:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/synth/SynthContext;
0 2 1 state I
MethodParameters:
Name Flags
state
public int getComponentState();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.synth.SynthContext.state:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/synth/SynthContext;
void reset(javax.swing.JComponent, javax.swing.plaf.synth.Region, javax.swing.plaf.synth.SynthStyle, int);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/plaf/synth/Region;Ljavax/swing/plaf/synth/SynthStyle;I)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield javax.swing.plaf.synth.SynthContext.component:Ljavax/swing/JComponent;
1: aload 0
aload 2
putfield javax.swing.plaf.synth.SynthContext.region:Ljavax/swing/plaf/synth/Region;
2: aload 0
aload 3
putfield javax.swing.plaf.synth.SynthContext.style:Ljavax/swing/plaf/synth/SynthStyle;
3: aload 0
iload 4
putfield javax.swing.plaf.synth.SynthContext.state:I
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/synth/SynthContext;
0 5 1 component Ljavax/swing/JComponent;
0 5 2 region Ljavax/swing/plaf/synth/Region;
0 5 3 style Ljavax/swing/plaf/synth/SynthStyle;
0 5 4 state I
MethodParameters:
Name Flags
component
region
style
state
void dispose();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield javax.swing.plaf.synth.SynthContext.component:Ljavax/swing/JComponent;
1: aload 0
aconst_null
putfield javax.swing.plaf.synth.SynthContext.style:Ljavax/swing/plaf/synth/SynthStyle;
2: aload 0
invokestatic javax.swing.plaf.synth.SynthContext.releaseContext:(Ljavax/swing/plaf/synth/SynthContext;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/synth/SynthContext;
javax.swing.plaf.synth.SynthPainter getPainter();
descriptor: ()Ljavax/swing/plaf/synth/SynthPainter;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.plaf.synth.SynthContext.getStyle:()Ljavax/swing/plaf/synth/SynthStyle;
aload 0
invokevirtual javax.swing.plaf.synth.SynthStyle.getPainter:(Ljavax/swing/plaf/synth/SynthContext;)Ljavax/swing/plaf/synth/SynthPainter;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
areturn
3: StackMap locals: javax.swing.plaf.synth.SynthPainter
StackMap stack:
getstatic javax.swing.plaf.synth.SynthPainter.NULL_PAINTER:Ljavax/swing/plaf/synth/SynthPainter;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/synth/SynthContext;
1 4 1 painter Ljavax/swing/plaf/synth/SynthPainter;
}
SourceFile: "SynthContext.java"