final class sun.lwawt.LWChoicePeer extends sun.lwawt.LWComponentPeer<java.awt.Choice, javax.swing.JComboBox<java.lang.String>> implements java.awt.peer.ChoicePeer, java.awt.event.ItemListener
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.lwawt.LWChoicePeer
super_class: sun.lwawt.LWComponentPeer
{
private boolean skipPostMessage;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(java.awt.Choice, sun.lwawt.PlatformComponent);
descriptor: (Ljava/awt/Choice;Lsun/lwawt/PlatformComponent;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial sun.lwawt.LWComponentPeer.<init>:(Ljava/awt/Component;Lsun/lwawt/PlatformComponent;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/LWChoicePeer;
0 2 1 target Ljava/awt/Choice;
0 2 2 platformComponent Lsun/lwawt/PlatformComponent;
MethodParameters:
Name Flags
target final
platformComponent final
javax.swing.JComboBox<java.lang.String> createDelegate();
descriptor: ()Ljavax/swing/JComboBox;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.lwawt.LWChoicePeer$JComboBoxDelegate
dup
aload 0
invokespecial sun.lwawt.LWChoicePeer$JComboBoxDelegate.<init>:(Lsun/lwawt/LWChoicePeer;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWChoicePeer;
Signature: ()Ljavax/swing/JComboBox<Ljava/lang/String;>;
void initializeImpl();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
invokespecial sun.lwawt.LWComponentPeer.initializeImpl:()V
1: aload 0
invokevirtual sun.lwawt.LWChoicePeer.getTarget:()Ljava/awt/Component;
checkcast java.awt.Choice
astore 1
start local 1 2: aload 0
invokevirtual sun.lwawt.LWChoicePeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JComboBox
astore 2
start local 2 3: aload 0
invokevirtual sun.lwawt.LWChoicePeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 3
monitorenter
4: aload 1
invokevirtual java.awt.Choice.getItemCount:()I
istore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 9
7: StackMap locals: sun.lwawt.LWChoicePeer java.awt.Choice javax.swing.JComboBox java.lang.Object int int
StackMap stack:
aload 2
aload 1
iload 5
invokevirtual java.awt.Choice.getItem:(I)Ljava/lang/String;
invokevirtual javax.swing.JComboBox.addItem:(Ljava/lang/Object;)V
8: iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
iload 4
if_icmplt 7
end local 5 10: aload 0
aload 1
invokevirtual java.awt.Choice.getSelectedIndex:()I
invokevirtual sun.lwawt.LWChoicePeer.select:(I)V
11: aload 2
aload 0
invokevirtual javax.swing.JComboBox.addItemListener:(Ljava/awt/event/ItemListener;)V
end local 4 12: aload 3
monitorexit
13: goto 16
StackMap locals: sun.lwawt.LWChoicePeer java.awt.Choice javax.swing.JComboBox java.lang.Object
StackMap stack: java.lang.Throwable
14: aload 3
monitorexit
15: athrow
16: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/lwawt/LWChoicePeer;
2 17 1 choice Ljava/awt/Choice;
3 17 2 combo Ljavax/swing/JComboBox<Ljava/lang/String;>;
5 12 4 count I
6 10 5 i I
Exception table:
from to target type
4 13 14 any
14 15 14 any
public void itemStateChanged(java.awt.event.ItemEvent);
descriptor: (Ljava/awt/event/ItemEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.ItemEvent.getStateChange:()I
iconst_1
if_icmpne 13
1: aload 0
invokevirtual sun.lwawt.LWChoicePeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
2: aload 0
getfield sun.lwawt.LWChoicePeer.skipPostMessage:Z
ifeq 5
3: aload 2
monitorexit
4: return
5: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokevirtual sun.lwawt.LWChoicePeer.getTarget:()Ljava/awt/Component;
checkcast java.awt.Choice
aload 0
invokevirtual sun.lwawt.LWChoicePeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JComboBox
invokevirtual javax.swing.JComboBox.getSelectedIndex:()I
invokevirtual java.awt.Choice.select:(I)V
6: aload 2
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 2
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aload 0
new java.awt.event.ItemEvent
dup
aload 0
invokevirtual sun.lwawt.LWChoicePeer.getTarget:()Ljava/awt/Component;
checkcast java.awt.ItemSelectable
sipush 701
11: aload 1
invokevirtual java.awt.event.ItemEvent.getItem:()Ljava/lang/Object;
iconst_1
invokespecial java.awt.event.ItemEvent.<init>:(Ljava/awt/ItemSelectable;ILjava/lang/Object;I)V
12: invokevirtual sun.lwawt.LWChoicePeer.postEvent:(Ljava/awt/AWTEvent;)V
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/lwawt/LWChoicePeer;
0 14 1 e Ljava/awt/event/ItemEvent;
Exception table:
from to target type
2 4 8 any
5 7 8 any
8 9 8 any
MethodParameters:
Name Flags
e final
public void add(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.lwawt.LWChoicePeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 3
monitorenter
1: aload 0
invokevirtual sun.lwawt.LWChoicePeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JComboBox
aload 1
iload 2
invokevirtual javax.swing.JComboBox.insertItemAt:(Ljava/lang/Object;I)V
2: aload 3
monitorexit
3: goto 6
StackMap locals: sun.lwawt.LWChoicePeer java.lang.String int java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 3
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/lwawt/LWChoicePeer;
0 7 1 item Ljava/lang/String;
0 7 2 index I
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
item final
index final
public void remove(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.lwawt.LWChoicePeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
iconst_1
putfield sun.lwawt.LWChoicePeer.skipPostMessage:Z
2: aload 0
invokevirtual sun.lwawt.LWChoicePeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JComboBox
iload 1
invokevirtual javax.swing.JComboBox.removeItemAt:(I)V
3: aload 0
iconst_0
putfield sun.lwawt.LWChoicePeer.skipPostMessage:Z
4: aload 2
monitorexit
5: goto 8
StackMap locals: sun.lwawt.LWChoicePeer int java.lang.Object
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/lwawt/LWChoicePeer;
0 9 1 index I
Exception table:
from to target type
1 5 6 any
6 7 6 any
MethodParameters:
Name Flags
index final
public void removeAll();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.LWChoicePeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual sun.lwawt.LWChoicePeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JComboBox
invokevirtual javax.swing.JComboBox.removeAllItems:()V
2: aload 1
monitorexit
3: goto 6
StackMap locals: sun.lwawt.LWChoicePeer java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 1
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/lwawt/LWChoicePeer;
Exception table:
from to target type
1 3 4 any
4 5 4 any
public void select(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.lwawt.LWChoicePeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
1: iload 1
aload 0
invokevirtual sun.lwawt.LWChoicePeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JComboBox
invokevirtual javax.swing.JComboBox.getSelectedIndex:()I
if_icmpeq 5
2: aload 0
iconst_1
putfield sun.lwawt.LWChoicePeer.skipPostMessage:Z
3: aload 0
invokevirtual sun.lwawt.LWChoicePeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JComboBox
iload 1
invokevirtual javax.swing.JComboBox.setSelectedIndex:(I)V
4: aload 0
iconst_0
putfield sun.lwawt.LWChoicePeer.skipPostMessage:Z
5: StackMap locals: java.lang.Object
StackMap stack:
aload 2
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/lwawt/LWChoicePeer;
0 10 1 index I
Exception table:
from to target type
1 6 7 any
7 8 7 any
MethodParameters:
Name Flags
index final
public boolean isFocusable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWChoicePeer;
javax.swing.JComponent createDelegate();
descriptor: ()Ljavax/swing/JComponent;
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.lwawt.LWChoicePeer.createDelegate:()Ljavax/swing/JComboBox;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lsun/lwawt/LWComponentPeer<Ljava/awt/Choice;Ljavax/swing/JComboBox<Ljava/lang/String;>;>;Ljava/awt/peer/ChoicePeer;Ljava/awt/event/ItemListener;
SourceFile: "LWChoicePeer.java"
NestMembers:
sun.lwawt.LWChoicePeer$JComboBoxDelegate
InnerClasses:
private final JComboBoxDelegate = sun.lwawt.LWChoicePeer$JComboBoxDelegate of sun.lwawt.LWChoicePeer