public class extends javax.swing.plaf.basic.BasicPopupMenuUI
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.apple.laf.AquaPopupMenuUI
super_class: javax.swing.plaf.basic.BasicPopupMenuUI
{
static final int ;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 10
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.plaf.basic.BasicPopupMenuUI.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaPopupMenuUI;
public static javax.swing.plaf.ComponentUI (javax.swing.JComponent);
descriptor: (Ljavax/swing/JComponent;)Ljavax/swing/plaf/ComponentUI;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new com.apple.laf.AquaPopupMenuUI
dup
invokespecial com.apple.laf.AquaPopupMenuUI.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x Ljavax/swing/JComponent;
MethodParameters:
Name Flags
x final
public boolean (java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.isPopupTrigger:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/apple/laf/AquaPopupMenuUI;
0 1 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e final
public void (java.awt.Graphics, javax.swing.JComponent);
descriptor: (Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof java.awt.Graphics2D
ifne 3
1: aload 0
aload 1
aload 2
invokespecial javax.swing.plaf.basic.BasicPopupMenuUI.paint:(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
2: return
3: StackMap locals:
StackMap stack:
invokestatic javax.swing.PopupFactory.getSharedInstance:()Ljavax/swing/PopupFactory;
instanceof com.apple.laf.ScreenPopupFactory
ifne 6
4: aload 0
aload 1
aload 2
invokespecial javax.swing.plaf.basic.BasicPopupMenuUI.paint:(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
5: return
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.Graphics.create:()Ljava/awt/Graphics;
checkcast java.awt.Graphics2D
astore 3
start local 3 7: aload 0
getfield com.apple.laf.AquaPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
invokevirtual javax.swing.JPopupMenu.getBounds:()Ljava/awt/Rectangle;
astore 4
start local 4 8: aload 0
aload 3
aload 4
invokevirtual com.apple.laf.AquaPopupMenuUI.paintRoundRect:(Ljava/awt/Graphics2D;Ljava/awt/Rectangle;)V
9: aload 0
aload 3
aload 4
invokevirtual com.apple.laf.AquaPopupMenuUI.clipEdges:(Ljava/awt/Graphics2D;Ljava/awt/Rectangle;)V
10: aload 3
invokevirtual java.awt.Graphics2D.dispose:()V
11: aload 0
aload 1
aload 2
invokespecial javax.swing.plaf.basic.BasicPopupMenuUI.paint:(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V
12: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/apple/laf/AquaPopupMenuUI;
0 13 1 g Ljava/awt/Graphics;
0 13 2 c Ljavax/swing/JComponent;
7 13 3 g2d Ljava/awt/Graphics2D;
8 13 4 popupBounds Ljava/awt/Rectangle;
MethodParameters:
Name Flags
g final
c final
protected void (java.awt.Graphics2D, java.awt.Rectangle);
descriptor: (Ljava/awt/Graphics2D;Ljava/awt/Rectangle;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getstatic java.awt.RenderingHints.KEY_ANTIALIASING:Ljava/awt/RenderingHints$Key;
getstatic java.awt.RenderingHints.VALUE_ANTIALIAS_ON:Ljava/lang/Object;
invokevirtual java.awt.Graphics2D.setRenderingHint:(Ljava/awt/RenderingHints$Key;Ljava/lang/Object;)V
1: aload 1
getstatic java.awt.AlphaComposite.Clear:Ljava/awt/AlphaComposite;
invokevirtual java.awt.Graphics2D.setComposite:(Ljava/awt/Composite;)V
2: aload 1
new java.awt.BasicStroke
dup
ldc 3.0
invokespecial java.awt.BasicStroke.<init>:(F)V
invokevirtual java.awt.Graphics2D.setStroke:(Ljava/awt/Stroke;)V
3: aload 1
bipush -2
bipush -2
aload 2
getfield java.awt.Rectangle.width:I
iconst_3
iadd
aload 2
getfield java.awt.Rectangle.height:I
iconst_3
iadd
bipush 12
bipush 12
invokevirtual java.awt.Graphics2D.drawRoundRect:(IIIIII)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/apple/laf/AquaPopupMenuUI;
0 5 1 g2d Ljava/awt/Graphics2D;
0 5 2 popupBounds Ljava/awt/Rectangle;
MethodParameters:
Name Flags
g2d final
popupBounds final
protected void (java.awt.Graphics2D, java.awt.Rectangle);
descriptor: (Ljava/awt/Graphics2D;Ljava/awt/Rectangle;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.apple.laf.AquaPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
invokevirtual javax.swing.JPopupMenu.getInvoker:()Ljava/awt/Component;
astore 3
start local 3 1: aload 3
instanceof javax.swing.JMenu
ifne 2
return
2: StackMap locals: java.awt.Component
StackMap stack:
aload 3
invokevirtual java.awt.Component.getBounds:()Ljava/awt/Rectangle;
astore 4
start local 4 3: aload 4
aload 3
invokevirtual java.awt.Component.getLocationOnScreen:()Ljava/awt/Point;
invokevirtual java.awt.Rectangle.setLocation:(Ljava/awt/Point;)V
4: aload 2
aload 0
getfield com.apple.laf.AquaPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
invokevirtual javax.swing.JPopupMenu.getLocationOnScreen:()Ljava/awt/Point;
invokevirtual java.awt.Rectangle.setLocation:(Ljava/awt/Point;)V
5: new java.awt.Point
dup
aload 4
invokevirtual java.awt.Rectangle.getCenterX:()D
d2i
aload 4
invokevirtual java.awt.Rectangle.getCenterY:()D
d2i
invokespecial java.awt.Point.<init>:(II)V
astore 5
start local 5 6: aload 2
aload 5
invokevirtual java.awt.Rectangle.contains:(Ljava/awt/Point;)Z
ifeq 8
7: return
8: StackMap locals: java.awt.Rectangle java.awt.Point
StackMap stack:
aload 1
getstatic java.awt.AlphaComposite.SrcOver:Ljava/awt/AlphaComposite;
invokevirtual java.awt.Graphics2D.setComposite:(Ljava/awt/Composite;)V
9: aload 1
aload 0
getfield com.apple.laf.AquaPopupMenuUI.popupMenu:Ljavax/swing/JPopupMenu;
invokevirtual javax.swing.JPopupMenu.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics2D.setColor:(Ljava/awt/Color;)V
10: new java.awt.Point
dup
aload 2
invokevirtual java.awt.Rectangle.getCenterX:()D
d2i
aload 2
invokevirtual java.awt.Rectangle.getCenterY:()D
d2i
invokespecial java.awt.Point.<init>:(II)V
astore 6
start local 6 11: aload 5
getfield java.awt.Point.y:I
aload 6
getfield java.awt.Point.y:I
if_icmpgt 12
iconst_1
goto 13
StackMap locals: java.awt.Point
StackMap stack:
12: iconst_0
StackMap locals:
StackMap stack: int
13: istore 7
start local 7 14: aload 4
getfield java.awt.Rectangle.x:I
aload 4
getfield java.awt.Rectangle.width:I
iadd
aload 2
getfield java.awt.Rectangle.x:I
bipush 10
iadd
if_icmpge 20
15: iload 7
ifeq 18
16: aload 1
bipush -2
bipush -2
bipush 8
bipush 8
invokevirtual java.awt.Graphics2D.fillRect:(IIII)V
17: return
18: StackMap locals: int
StackMap stack:
aload 1
bipush -2
aload 2
getfield java.awt.Rectangle.height:I
bipush 6
isub
bipush 8
bipush 8
invokevirtual java.awt.Graphics2D.fillRect:(IIII)V
19: return
20: StackMap locals:
StackMap stack:
aload 2
getfield java.awt.Rectangle.x:I
aload 2
getfield java.awt.Rectangle.width:I
iadd
aload 4
getfield java.awt.Rectangle.x:I
bipush 10
iadd
if_icmpge 26
21: iload 7
ifeq 24
22: aload 1
aload 2
getfield java.awt.Rectangle.width:I
bipush 6
isub
bipush -2
bipush 8
bipush 8
invokevirtual java.awt.Graphics2D.fillRect:(IIII)V
23: return
24: StackMap locals:
StackMap stack:
aload 1
aload 2
getfield java.awt.Rectangle.width:I
bipush 6
isub
aload 2
getfield java.awt.Rectangle.height:I
bipush 6
isub
bipush 8
bipush 8
invokevirtual java.awt.Graphics2D.fillRect:(IIII)V
25: return
26: StackMap locals:
StackMap stack:
aload 4
getfield java.awt.Rectangle.y:I
aload 4
getfield java.awt.Rectangle.height:I
iadd
aload 2
getfield java.awt.Rectangle.y:I
bipush 10
iadd
if_icmpge 29
27: aload 1
bipush -2
bipush -2
aload 2
getfield java.awt.Rectangle.width:I
iconst_4
iadd
bipush 8
invokevirtual java.awt.Graphics2D.fillRect:(IIII)V
28: return
29: StackMap locals:
StackMap stack:
return
end local 7 end local 6 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 30 0 this Lcom/apple/laf/AquaPopupMenuUI;
0 30 1 g2d Ljava/awt/Graphics2D;
0 30 2 popupBounds Ljava/awt/Rectangle;
1 30 3 invoker Ljava/awt/Component;
3 30 4 invokerBounds Ljava/awt/Rectangle;
6 30 5 invokerCenter Ljava/awt/Point;
11 30 6 popupCenter Ljava/awt/Point;
14 30 7 invokerMidpointAbovePopupMidpoint Z
MethodParameters:
Name Flags
g2d final
popupBounds final
}
SourceFile: "AquaPopupMenuUI.java"
InnerClasses:
public abstract Key = java.awt.RenderingHints$Key of java.awt.RenderingHints