public class sun.jvm.hotspot.ui.HistoryComboBox extends javax.swing.JComboBox<java.lang.String>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.ui.HistoryComboBox
super_class: javax.swing.JComboBox
{
static final int HISTORY_LENGTH;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 15
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.JComboBox.<init>:()V
1: aload 0
iconst_1
invokevirtual sun.jvm.hotspot.ui.HistoryComboBox.setEditable:(Z)V
2: aload 0
new sun.jvm.hotspot.ui.HistoryComboBox$1
dup
aload 0
invokespecial sun.jvm.hotspot.ui.HistoryComboBox$1.<init>:(Lsun/jvm/hotspot/ui/HistoryComboBox;)V
invokevirtual sun.jvm.hotspot.ui.HistoryComboBox.addActionListener:(Ljava/awt/event/ActionListener;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/ui/HistoryComboBox;
public java.lang.String getText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.ui.HistoryComboBox.getSelectedItem:()Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: ldc ""
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 1
checkcast java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/ui/HistoryComboBox;
1 4 1 text Ljava/lang/Object;
public void setText(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.jvm.hotspot.ui.HistoryComboBox.removeItem:(Ljava/lang/Object;)V
1: aload 0
aload 1
iconst_0
invokevirtual sun.jvm.hotspot.ui.HistoryComboBox.insertItemAt:(Ljava/lang/Object;I)V
2: aload 0
aload 1
invokevirtual sun.jvm.hotspot.ui.HistoryComboBox.setSelectedItem:(Ljava/lang/Object;)V
3: aload 0
invokevirtual sun.jvm.hotspot.ui.HistoryComboBox.getModel:()Ljavax/swing/ComboBoxModel;
invokeinterface javax.swing.ComboBoxModel.getSize:()I
istore 2
start local 2 4: goto 6
5: StackMap locals: int
StackMap stack:
aload 0
iinc 2 -1
iload 2
invokevirtual sun.jvm.hotspot.ui.HistoryComboBox.removeItemAt:(I)V
6: StackMap locals:
StackMap stack:
iload 2
bipush 15
if_icmpgt 5
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/jvm/hotspot/ui/HistoryComboBox;
0 8 1 text Ljava/lang/String;
4 8 2 length I
MethodParameters:
Name Flags
text
}
Signature: Ljavax/swing/JComboBox<Ljava/lang/String;>;
SourceFile: "HistoryComboBox.java"
NestMembers:
sun.jvm.hotspot.ui.HistoryComboBox$1
InnerClasses:
sun.jvm.hotspot.ui.HistoryComboBox$1