class extends javax.swing.PopupFactory$ContainerPopup
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.PopupFactory$LightWeightPopup
super_class: javax.swing.PopupFactory$ContainerPopup
{
private static final java.lang.Object ;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic javax.swing.PopupFactory$LightWeightPopup.lightWeightPopupCacheKey:Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
private void ();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.PopupFactory$ContainerPopup.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/PopupFactory$LightWeightPopup;
static javax.swing.Popup (java.awt.Component, java.awt.Component, int, int);
descriptor: (Ljava/awt/Component;Ljava/awt/Component;II)Ljavax/swing/Popup;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic javax.swing.PopupFactory$LightWeightPopup.getRecycledLightWeightPopup:()Ljavax/swing/PopupFactory$LightWeightPopup;
astore 4
start local 4 1: aload 4
ifnonnull 3
2: new javax.swing.PopupFactory$LightWeightPopup
dup
invokespecial javax.swing.PopupFactory$LightWeightPopup.<init>:()V
astore 4
3: StackMap locals: javax.swing.PopupFactory$LightWeightPopup
StackMap stack:
aload 4
aload 0
aload 1
iload 2
iload 3
invokevirtual javax.swing.PopupFactory$LightWeightPopup.reset:(Ljava/awt/Component;Ljava/awt/Component;II)V
4: aload 4
invokevirtual javax.swing.PopupFactory$LightWeightPopup.fitsOnScreen:()Z
ifeq 6
5: aload 4
invokevirtual javax.swing.PopupFactory$LightWeightPopup.overlappedByOwnedWindow:()Z
ifeq 8
6: StackMap locals:
StackMap stack:
aload 4
invokevirtual javax.swing.PopupFactory$LightWeightPopup.hide:()V
7: aconst_null
areturn
8: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 owner Ljava/awt/Component;
0 9 1 contents Ljava/awt/Component;
0 9 2 ownerX I
0 9 3 ownerY I
1 9 4 popup Ljavax/swing/PopupFactory$LightWeightPopup;
MethodParameters:
Name Flags
owner
contents
ownerX
ownerY
private static java.util.List<javax.swing.PopupFactory$LightWeightPopup> getLightWeightPopupCache();
descriptor: ()Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic javax.swing.PopupFactory$LightWeightPopup.lightWeightPopupCacheKey:Ljava/lang/Object;
1: invokestatic javax.swing.SwingUtilities.appContextGet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 0
start local 0 2: aload 0
ifnonnull 5
3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 0
4: getstatic javax.swing.PopupFactory$LightWeightPopup.lightWeightPopupCacheKey:Ljava/lang/Object;
aload 0
invokestatic javax.swing.SwingUtilities.appContextPut:(Ljava/lang/Object;Ljava/lang/Object;)V
5: StackMap locals: java.util.List
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
2 6 0 cache Ljava/util/List<Ljavax/swing/PopupFactory$LightWeightPopup;>;
Signature: ()Ljava/util/List<Ljavax/swing/PopupFactory$LightWeightPopup;>;
private static void (javax.swing.PopupFactory$LightWeightPopup);
descriptor: (Ljavax/swing/PopupFactory$LightWeightPopup;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: ldc Ljavax/swing/PopupFactory$LightWeightPopup;
dup
astore 1
monitorenter
1: invokestatic javax.swing.PopupFactory$LightWeightPopup.getLightWeightPopupCache:()Ljava/util/List;
astore 2
start local 2 2: aload 2
invokeinterface java.util.List.size:()I
iconst_5
if_icmpge 4
3: aload 2
aload 0
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals: java.lang.Class
StackMap stack:
aload 1
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 popup Ljavax/swing/PopupFactory$LightWeightPopup;
2 4 2 lightPopupCache Ljava/util/List<Ljavax/swing/PopupFactory$LightWeightPopup;>;
Exception table:
from to target type
1 5 6 any
6 7 6 any
MethodParameters:
Name Flags
popup
private static javax.swing.PopupFactory$LightWeightPopup ();
descriptor: ()Ljavax/swing/PopupFactory$LightWeightPopup;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=0
0: ldc Ljavax/swing/PopupFactory$LightWeightPopup;
dup
astore 0
monitorenter
1: invokestatic javax.swing.PopupFactory$LightWeightPopup.getLightWeightPopupCache:()Ljava/util/List;
astore 1
start local 1 2: aload 1
invokeinterface java.util.List.size:()I
ifle 7
3: aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javax.swing.PopupFactory$LightWeightPopup
astore 2
start local 2 4: aload 1
iconst_0
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
5: aload 2
aload 0
monitorexit
6: areturn
end local 2 7: StackMap locals: java.lang.Class java.util.List
StackMap stack:
aload 0
monitorexit
8: aconst_null
areturn
end local 1 9: StackMap locals: java.lang.Class
StackMap stack: java.lang.Throwable
aload 0
monitorexit
10: athrow
LocalVariableTable:
Start End Slot Name Signature
2 9 1 lightPopupCache Ljava/util/List<Ljavax/swing/PopupFactory$LightWeightPopup;>;
4 7 2 r Ljavax/swing/PopupFactory$LightWeightPopup;
Exception table:
from to target type
1 6 9 any
7 8 9 any
9 10 9 any
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.PopupFactory$ContainerPopup.hide:()V
1: aload 0
invokevirtual javax.swing.PopupFactory$LightWeightPopup.getComponent:()Ljava/awt/Component;
checkcast java.awt.Container
astore 1
start local 1 2: aload 1
invokevirtual java.awt.Container.removeAll:()V
3: aload 0
invokestatic javax.swing.PopupFactory$LightWeightPopup.recycleLightWeightPopup:(Ljavax/swing/PopupFactory$LightWeightPopup;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/PopupFactory$LightWeightPopup;
2 5 1 component Ljava/awt/Container;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield javax.swing.PopupFactory$LightWeightPopup.owner:Ljava/awt/Component;
ifnull 5
2: aload 0
getfield javax.swing.PopupFactory$LightWeightPopup.owner:Ljava/awt/Component;
instanceof java.awt.Container
ifeq 3
aload 0
getfield javax.swing.PopupFactory$LightWeightPopup.owner:Ljava/awt/Component;
checkcast java.awt.Container
goto 4
StackMap locals: java.awt.Container
StackMap stack:
3: aload 0
getfield javax.swing.PopupFactory$LightWeightPopup.owner:Ljava/awt/Component;
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
StackMap locals:
StackMap stack: java.awt.Container
4: astore 1
5: StackMap locals:
StackMap stack:
aload 1
astore 2
start local 2 6: goto 19
7: StackMap locals: java.awt.Container
StackMap stack:
aload 2
instanceof javax.swing.JRootPane
ifeq 12
8: aload 2
invokevirtual java.awt.Container.getParent:()Ljava/awt/Container;
instanceof javax.swing.JInternalFrame
ifeq 10
9: goto 18
10: StackMap locals:
StackMap stack:
aload 2
checkcast javax.swing.JRootPane
invokevirtual javax.swing.JRootPane.getLayeredPane:()Ljavax/swing/JLayeredPane;
astore 1
11: goto 18
StackMap locals:
StackMap stack:
12: aload 2
instanceof java.awt.Window
ifeq 16
13: aload 1
ifnonnull 20
14: aload 2
astore 1
15: goto 20
16: StackMap locals:
StackMap stack:
aload 2
instanceof javax.swing.JApplet
ifeq 18
17: goto 20
18: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.awt.Container.getParent:()Ljava/awt/Container;
astore 2
StackMap locals:
StackMap stack:
19: aload 2
ifnonnull 7
end local 2 20: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield javax.swing.PopupFactory$LightWeightPopup.x:I
21: aload 0
getfield javax.swing.PopupFactory$LightWeightPopup.y:I
22: invokestatic javax.swing.SwingUtilities.convertScreenLocationToParent:(Ljava/awt/Container;II)Ljava/awt/Point;
astore 2
start local 2 23: aload 0
invokevirtual javax.swing.PopupFactory$LightWeightPopup.getComponent:()Ljava/awt/Component;
astore 3
start local 3 24: aload 3
aload 2
getfield java.awt.Point.x:I
aload 2
getfield java.awt.Point.y:I
invokevirtual java.awt.Component.setLocation:(II)V
25: aload 1
instanceof javax.swing.JLayeredPane
ifeq 28
26: aload 1
aload 3
getstatic javax.swing.JLayeredPane.POPUP_LAYER:Ljava/lang/Integer;
iconst_0
invokevirtual java.awt.Container.add:(Ljava/awt/Component;Ljava/lang/Object;I)V
27: goto 29
28: StackMap locals: java.awt.Point java.awt.Component
StackMap stack:
aload 1
aload 3
invokevirtual java.awt.Container.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
29: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Ljavax/swing/PopupFactory$LightWeightPopup;
1 30 1 parent Ljava/awt/Container;
6 20 2 p Ljava/awt/Container;
23 30 2 p Ljava/awt/Point;
24 30 3 component Ljava/awt/Component;
java.awt.Component (java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Component;
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new javax.swing.JPanel
dup
new java.awt.BorderLayout
dup
invokespecial java.awt.BorderLayout.<init>:()V
iconst_1
invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;Z)V
astore 2
start local 2 1: aload 2
iconst_1
invokevirtual javax.swing.JComponent.setOpaque:(Z)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/PopupFactory$LightWeightPopup;
0 3 1 owner Ljava/awt/Component;
1 3 2 component Ljavax/swing/JComponent;
MethodParameters:
Name Flags
owner
void (java.awt.Component, java.awt.Component, int, int);
descriptor: (Ljava/awt/Component;Ljava/awt/Component;II)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iload 3
iload 4
invokespecial javax.swing.PopupFactory$ContainerPopup.reset:(Ljava/awt/Component;Ljava/awt/Component;II)V
1: aload 0
invokevirtual javax.swing.PopupFactory$LightWeightPopup.getComponent:()Ljava/awt/Component;
checkcast javax.swing.JComponent
astore 5
start local 5 2: aload 5
aload 2
invokevirtual java.awt.Component.isOpaque:()Z
invokevirtual javax.swing.JComponent.setOpaque:(Z)V
3: aload 5
iload 3
iload 4
invokevirtual javax.swing.JComponent.setLocation:(II)V
4: aload 5
aload 2
ldc "Center"
invokevirtual javax.swing.JComponent.add:(Ljava/awt/Component;Ljava/lang/Object;)V
5: aload 2
invokevirtual java.awt.Component.invalidate:()V
6: aload 0
invokevirtual javax.swing.PopupFactory$LightWeightPopup.pack:()V
7: 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 8 0 this Ljavax/swing/PopupFactory$LightWeightPopup;
0 8 1 owner Ljava/awt/Component;
0 8 2 contents Ljava/awt/Component;
0 8 3 ownerX I
0 8 4 ownerY I
2 8 5 component Ljavax/swing/JComponent;
MethodParameters:
Name Flags
owner
contents
ownerX
ownerY
}
SourceFile: "PopupFactory.java"
NestHost: javax.swing.PopupFactory
InnerClasses:
private ContainerPopup = javax.swing.PopupFactory$ContainerPopup of javax.swing.PopupFactory
private LightWeightPopup = javax.swing.PopupFactory$LightWeightPopup of javax.swing.PopupFactory