public abstract class javax.swing.AbstractSpinnerModel implements javax.swing.SpinnerModel
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.swing.AbstractSpinnerModel
super_class: java.lang.Object
{
private transient javax.swing.event.ChangeEvent changeEvent;
descriptor: Ljavax/swing/event/ChangeEvent;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
protected javax.swing.event.EventListenerList listenerList;
descriptor: Ljavax/swing/event/EventListenerList;
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield javax.swing.AbstractSpinnerModel.changeEvent:Ljavax/swing/event/ChangeEvent;
2: aload 0
new javax.swing.event.EventListenerList
dup
invokespecial javax.swing.event.EventListenerList.<init>:()V
putfield javax.swing.AbstractSpinnerModel.listenerList:Ljavax/swing/event/EventListenerList;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/AbstractSpinnerModel;
public void addChangeListener(javax.swing.event.ChangeListener);
descriptor: (Ljavax/swing/event/ChangeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.AbstractSpinnerModel.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/ChangeListener;
aload 1
invokevirtual javax.swing.event.EventListenerList.add:(Ljava/lang/Class;Ljava/util/EventListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/AbstractSpinnerModel;
0 2 1 l Ljavax/swing/event/ChangeListener;
MethodParameters:
Name Flags
l
public void removeChangeListener(javax.swing.event.ChangeListener);
descriptor: (Ljavax/swing/event/ChangeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.AbstractSpinnerModel.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/ChangeListener;
aload 1
invokevirtual javax.swing.event.EventListenerList.remove:(Ljava/lang/Class;Ljava/util/EventListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/AbstractSpinnerModel;
0 2 1 l Ljavax/swing/event/ChangeListener;
MethodParameters:
Name Flags
l
public javax.swing.event.ChangeListener[] getChangeListeners();
descriptor: ()[Ljavax/swing/event/ChangeListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.AbstractSpinnerModel.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/ChangeListener;
invokevirtual javax.swing.event.EventListenerList.getListeners:(Ljava/lang/Class;)[Ljava/util/EventListener;
checkcast javax.swing.event.ChangeListener[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/AbstractSpinnerModel;
protected void fireStateChanged();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.AbstractSpinnerModel.listenerList:Ljavax/swing/event/EventListenerList;
invokevirtual javax.swing.event.EventListenerList.getListenerList:()[Ljava/lang/Object;
astore 1
start local 1 1: aload 1
arraylength
iconst_2
isub
istore 2
start local 2 2: goto 8
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 1
iload 2
aaload
ldc Ljavax/swing/event/ChangeListener;
if_acmpne 7
4: aload 0
getfield javax.swing.AbstractSpinnerModel.changeEvent:Ljavax/swing/event/ChangeEvent;
ifnonnull 6
5: aload 0
new javax.swing.event.ChangeEvent
dup
aload 0
invokespecial javax.swing.event.ChangeEvent.<init>:(Ljava/lang/Object;)V
putfield javax.swing.AbstractSpinnerModel.changeEvent:Ljavax/swing/event/ChangeEvent;
6: StackMap locals:
StackMap stack:
aload 1
iload 2
iconst_1
iadd
aaload
checkcast javax.swing.event.ChangeListener
aload 0
getfield javax.swing.AbstractSpinnerModel.changeEvent:Ljavax/swing/event/ChangeEvent;
invokeinterface javax.swing.event.ChangeListener.stateChanged:(Ljavax/swing/event/ChangeEvent;)V
7: StackMap locals:
StackMap stack:
iinc 2 -2
StackMap locals:
StackMap stack:
8: iload 2
ifge 3
end local 2 9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/AbstractSpinnerModel;
1 10 1 listeners [Ljava/lang/Object;
2 9 2 i I
public <T extends java.util.EventListener> T[] getListeners(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)[Ljava/util/EventListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.AbstractSpinnerModel.listenerList:Ljavax/swing/event/EventListenerList;
aload 1
invokevirtual javax.swing.event.EventListenerList.getListeners:(Ljava/lang/Class;)[Ljava/util/EventListener;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/AbstractSpinnerModel;
0 1 1 listenerType Ljava/lang/Class<TT;>;
Signature: <T::Ljava/util/EventListener;>(Ljava/lang/Class<TT;>;)[TT;
MethodParameters:
Name Flags
listenerType
}
SourceFile: "AbstractSpinnerModel.java"