public class sun.tools.jconsole.TimeComboBox extends javax.swing.JComboBox<java.lang.String> implements java.awt.event.ItemListener, java.beans.PropertyChangeListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jconsole.TimeComboBox
super_class: javax.swing.JComboBox
{
private java.util.ArrayList<sun.tools.jconsole.Plotter> plotters;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Lsun/tools/jconsole/Plotter;>;
public void <init>(sun.tools.jconsole.Plotter[]);
descriptor: ([Lsun/tools/jconsole/Plotter;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getstatic sun.tools.jconsole.Plotter.rangeNames:[Ljava/lang/String;
invokespecial javax.swing.JComboBox.<init>:([Ljava/lang/Object;)V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.tools.jconsole.TimeComboBox.plotters:Ljava/util/ArrayList;
2: aload 0
aload 0
invokevirtual sun.tools.jconsole.TimeComboBox.addItemListener:(Ljava/awt/event/ItemListener;)V
3: aload 1
ifnull 10
aload 1
arraylength
ifle 10
4: aload 0
getfield sun.tools.jconsole.TimeComboBox.plotters:Ljava/util/ArrayList;
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
5: aload 0
aload 1
iconst_0
aaload
invokevirtual sun.tools.jconsole.Plotter.getViewRange:()I
invokevirtual sun.tools.jconsole.TimeComboBox.selectValue:(I)V
6: aload 0
getfield sun.tools.jconsole.TimeComboBox.plotters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: sun.tools.jconsole.TimeComboBox sun.tools.jconsole.Plotter[] top java.util.Iterator
StackMap stack:
7: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.tools.jconsole.Plotter
astore 2
start local 2 8: aload 2
aload 0
invokevirtual sun.tools.jconsole.Plotter.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
end local 2 9: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: StackMap locals: sun.tools.jconsole.TimeComboBox sun.tools.jconsole.Plotter[]
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/tools/jconsole/TimeComboBox;
0 11 1 plotterArray [Lsun/tools/jconsole/Plotter;
8 9 2 plotter Lsun/tools/jconsole/Plotter;
MethodParameters:
Name Flags
plotterArray
public void addPlotter(sun.tools.jconsole.Plotter);
descriptor: (Lsun/tools/jconsole/Plotter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.TimeComboBox.plotters:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
1: aload 0
getfield sun.tools.jconsole.TimeComboBox.plotters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
iconst_1
if_icmpne 3
2: aload 0
aload 1
invokevirtual sun.tools.jconsole.Plotter.getViewRange:()I
invokevirtual sun.tools.jconsole.TimeComboBox.selectValue:(I)V
3: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual sun.tools.jconsole.Plotter.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/TimeComboBox;
0 5 1 plotter Lsun/tools/jconsole/Plotter;
MethodParameters:
Name Flags
plotter
public void itemStateChanged(java.awt.event.ItemEvent);
descriptor: (Ljava/awt/event/ItemEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.TimeComboBox.plotters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: sun.tools.jconsole.TimeComboBox java.awt.event.ItemEvent top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.tools.jconsole.Plotter
astore 2
start local 2 2: aload 2
getstatic sun.tools.jconsole.Plotter.rangeValues:[I
aload 0
invokevirtual sun.tools.jconsole.TimeComboBox.getSelectedIndex:()I
iaload
invokevirtual sun.tools.jconsole.Plotter.setViewRange:(I)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/TimeComboBox;
0 5 1 ev Ljava/awt/event/ItemEvent;
2 3 2 plotter Lsun/tools/jconsole/Plotter;
MethodParameters:
Name Flags
ev
private void selectValue(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
getstatic sun.tools.jconsole.Plotter.rangeValues:[I
iload 2
iaload
iload 1
if_icmpne 4
3: aload 0
getstatic sun.tools.jconsole.Plotter.rangeNames:[Ljava/lang/String;
iload 2
aaload
invokevirtual sun.tools.jconsole.TimeComboBox.setSelectedItem:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
getstatic sun.tools.jconsole.Plotter.rangeValues:[I
arraylength
if_icmplt 2
end local 2 6: aload 0
getfield sun.tools.jconsole.TimeComboBox.plotters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
iconst_1
if_icmple 11
7: aload 0
getfield sun.tools.jconsole.TimeComboBox.plotters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: sun.tools.jconsole.TimeComboBox int top java.util.Iterator
StackMap stack:
8: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.tools.jconsole.Plotter
astore 2
start local 2 9: aload 2
iload 1
invokevirtual sun.tools.jconsole.Plotter.setViewRange:(I)V
end local 2 10: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
11: StackMap locals: sun.tools.jconsole.TimeComboBox int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/tools/jconsole/TimeComboBox;
0 12 1 value I
1 6 2 i I
9 10 2 plotter Lsun/tools/jconsole/Plotter;
MethodParameters:
Name Flags
value
public void propertyChange(java.beans.PropertyChangeEvent);
descriptor: (Ljava/beans/PropertyChangeEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
ldc "viewRange"
if_acmpne 2
1: aload 0
aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual sun.tools.jconsole.TimeComboBox.selectValue:(I)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/jconsole/TimeComboBox;
0 3 1 ev Ljava/beans/PropertyChangeEvent;
MethodParameters:
Name Flags
ev
}
Signature: Ljavax/swing/JComboBox<Ljava/lang/String;>;Ljava/awt/event/ItemListener;Ljava/beans/PropertyChangeListener;
SourceFile: "TimeComboBox.java"