public class javax.swing.SpinnerNumberModel extends javax.swing.AbstractSpinnerModel implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.SpinnerNumberModel
super_class: javax.swing.AbstractSpinnerModel
{
private java.lang.Number stepSize;
descriptor: Ljava/lang/Number;
flags: (0x0002) ACC_PRIVATE
private java.lang.Number value;
descriptor: Ljava/lang/Number;
flags: (0x0002) ACC_PRIVATE
private java.lang.Comparable minimum;
descriptor: Ljava/lang/Comparable;
flags: (0x0002) ACC_PRIVATE
private java.lang.Comparable maximum;
descriptor: Ljava/lang/Comparable;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.Number, java.lang.Comparable, java.lang.Comparable, java.lang.Number);
descriptor: (Ljava/lang/Number;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Number;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial javax.swing.AbstractSpinnerModel.<init>:()V
1: aload 1
ifnull 2
aload 4
ifnonnull 3
2: StackMap locals: javax.swing.SpinnerNumberModel java.lang.Number java.lang.Comparable java.lang.Comparable java.lang.Number
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "value and stepSize must be non-null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 2
ifnull 4
aload 2
aload 1
invokeinterface java.lang.Comparable.compareTo:(Ljava/lang/Object;)I
ifgt 5
4: StackMap locals:
StackMap stack:
aload 3
ifnull 6
aload 3
aload 1
invokeinterface java.lang.Comparable.compareTo:(Ljava/lang/Object;)I
ifge 6
5: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "(minimum <= value <= maximum) is false"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.swing.SpinnerNumberModel.value:Ljava/lang/Number;
7: aload 0
aload 2
putfield javax.swing.SpinnerNumberModel.minimum:Ljava/lang/Comparable;
8: aload 0
aload 3
putfield javax.swing.SpinnerNumberModel.maximum:Ljava/lang/Comparable;
9: aload 0
aload 4
putfield javax.swing.SpinnerNumberModel.stepSize:Ljava/lang/Number;
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/SpinnerNumberModel;
0 11 1 value Ljava/lang/Number;
0 11 2 minimum Ljava/lang/Comparable;
0 11 3 maximum Ljava/lang/Comparable;
0 11 4 stepSize Ljava/lang/Number;
MethodParameters:
Name Flags
value
minimum
maximum
stepSize
public void <init>(int, int, int, int);
descriptor: (IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
new java.lang.Integer
dup
iload 1
invokespecial java.lang.Integer.<init>:(I)V
new java.lang.Integer
dup
iload 2
invokespecial java.lang.Integer.<init>:(I)V
new java.lang.Integer
dup
iload 3
invokespecial java.lang.Integer.<init>:(I)V
new java.lang.Integer
dup
iload 4
invokespecial java.lang.Integer.<init>:(I)V
invokespecial javax.swing.SpinnerNumberModel.<init>:(Ljava/lang/Number;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Number;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/SpinnerNumberModel;
0 2 1 value I
0 2 2 minimum I
0 2 3 maximum I
0 2 4 stepSize I
MethodParameters:
Name Flags
value
minimum
maximum
stepSize
public void <init>(double, double, double, double);
descriptor: (DDDD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=5
start local 0 start local 1 start local 3 start local 5 start local 7 0: aload 0
new java.lang.Double
dup
dload 1
invokespecial java.lang.Double.<init>:(D)V
new java.lang.Double
dup
dload 3
invokespecial java.lang.Double.<init>:(D)V
new java.lang.Double
dup
dload 5
invokespecial java.lang.Double.<init>:(D)V
new java.lang.Double
dup
dload 7
invokespecial java.lang.Double.<init>:(D)V
invokespecial javax.swing.SpinnerNumberModel.<init>:(Ljava/lang/Number;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Number;)V
1: return
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/SpinnerNumberModel;
0 2 1 value D
0 2 3 minimum D
0 2 5 maximum D
0 2 7 stepSize D
MethodParameters:
Name Flags
value
minimum
maximum
stepSize
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
new java.lang.Integer
dup
iconst_0
invokespecial java.lang.Integer.<init>:(I)V
aconst_null
aconst_null
new java.lang.Integer
dup
iconst_1
invokespecial java.lang.Integer.<init>:(I)V
invokespecial javax.swing.SpinnerNumberModel.<init>:(Ljava/lang/Number;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Number;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/SpinnerNumberModel;
public void setMinimum(java.lang.Comparable);
descriptor: (Ljava/lang/Comparable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
aload 0
getfield javax.swing.SpinnerNumberModel.minimum:Ljava/lang/Comparable;
ifnull 4
goto 2
StackMap locals:
StackMap stack:
1: aload 1
aload 0
getfield javax.swing.SpinnerNumberModel.minimum:Ljava/lang/Comparable;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 4
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.swing.SpinnerNumberModel.minimum:Ljava/lang/Comparable;
3: aload 0
invokevirtual javax.swing.SpinnerNumberModel.fireStateChanged:()V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/SpinnerNumberModel;
0 5 1 minimum Ljava/lang/Comparable;
MethodParameters:
Name Flags
minimum
public java.lang.Comparable getMinimum();
descriptor: ()Ljava/lang/Comparable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.SpinnerNumberModel.minimum:Ljava/lang/Comparable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/SpinnerNumberModel;
public void setMaximum(java.lang.Comparable);
descriptor: (Ljava/lang/Comparable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
aload 0
getfield javax.swing.SpinnerNumberModel.maximum:Ljava/lang/Comparable;
ifnull 4
goto 2
StackMap locals:
StackMap stack:
1: aload 1
aload 0
getfield javax.swing.SpinnerNumberModel.maximum:Ljava/lang/Comparable;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 4
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.swing.SpinnerNumberModel.maximum:Ljava/lang/Comparable;
3: aload 0
invokevirtual javax.swing.SpinnerNumberModel.fireStateChanged:()V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/SpinnerNumberModel;
0 5 1 maximum Ljava/lang/Comparable;
MethodParameters:
Name Flags
maximum
public java.lang.Comparable getMaximum();
descriptor: ()Ljava/lang/Comparable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.SpinnerNumberModel.maximum:Ljava/lang/Comparable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/SpinnerNumberModel;
public void setStepSize(java.lang.Number);
descriptor: (Ljava/lang/Number;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "null stepSize"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield javax.swing.SpinnerNumberModel.stepSize:Ljava/lang/Number;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 5
3: aload 0
aload 1
putfield javax.swing.SpinnerNumberModel.stepSize:Ljava/lang/Number;
4: aload 0
invokevirtual javax.swing.SpinnerNumberModel.fireStateChanged:()V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/SpinnerNumberModel;
0 6 1 stepSize Ljava/lang/Number;
MethodParameters:
Name Flags
stepSize
public java.lang.Number getStepSize();
descriptor: ()Ljava/lang/Number;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.SpinnerNumberModel.stepSize:Ljava/lang/Number;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/SpinnerNumberModel;
private java.lang.Number incrValue(int);
descriptor: (I)Ljava/lang/Number;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.SpinnerNumberModel.value:Ljava/lang/Number;
instanceof java.lang.Float
ifne 1
aload 0
getfield javax.swing.SpinnerNumberModel.value:Ljava/lang/Number;
instanceof java.lang.Double
ifeq 7
1: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.SpinnerNumberModel.value:Ljava/lang/Number;
invokevirtual java.lang.Number.doubleValue:()D
aload 0
getfield javax.swing.SpinnerNumberModel.stepSize:Ljava/lang/Number;
invokevirtual java.lang.Number.doubleValue:()D
iload 1
i2d
dmul
dadd
dstore 3
start local 3 2: aload 0
getfield javax.swing.SpinnerNumberModel.value:Ljava/lang/Number;
instanceof java.lang.Double
ifeq 5
3: new java.lang.Double
dup
dload 3
invokespecial java.lang.Double.<init>:(D)V
astore 2
start local 2 4: goto 18
end local 2 5: StackMap locals: javax.swing.SpinnerNumberModel int top double
StackMap stack:
new java.lang.Float
dup
dload 3
invokespecial java.lang.Float.<init>:(D)V
astore 2
end local 3 start local 2 6: goto 18
end local 2 7: StackMap locals: javax.swing.SpinnerNumberModel int
StackMap stack:
aload 0
getfield javax.swing.SpinnerNumberModel.value:Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
aload 0
getfield javax.swing.SpinnerNumberModel.stepSize:Ljava/lang/Number;
invokevirtual java.lang.Number.longValue:()J
iload 1
i2l
lmul
ladd
lstore 3
start local 3 8: aload 0
getfield javax.swing.SpinnerNumberModel.value:Ljava/lang/Number;
instanceof java.lang.Long
ifeq 11
9: new java.lang.Long
dup
lload 3
invokespecial java.lang.Long.<init>:(J)V
astore 2
start local 2 10: goto 18
end local 2 11: StackMap locals: javax.swing.SpinnerNumberModel int top long
StackMap stack:
aload 0
getfield javax.swing.SpinnerNumberModel.value:Ljava/lang/Number;
instanceof java.lang.Integer
ifeq 14
12: new java.lang.Integer
dup
lload 3
l2i
invokespecial java.lang.Integer.<init>:(I)V
astore 2
start local 2 13: goto 18
end local 2 14: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.SpinnerNumberModel.value:Ljava/lang/Number;
instanceof java.lang.Short
ifeq 17
15: new java.lang.Short
dup
lload 3
l2i
i2s
invokespecial java.lang.Short.<init>:(S)V
astore 2
start local 2 16: goto 18
end local 2 17: StackMap locals:
StackMap stack:
new java.lang.Byte
dup
lload 3
l2i
i2b
invokespecial java.lang.Byte.<init>:(B)V
astore 2
end local 3 start local 2 18: StackMap locals: javax.swing.SpinnerNumberModel int java.lang.Number
StackMap stack:
aload 0
getfield javax.swing.SpinnerNumberModel.maximum:Ljava/lang/Comparable;
ifnull 20
aload 0
getfield javax.swing.SpinnerNumberModel.maximum:Ljava/lang/Comparable;
aload 2
invokeinterface java.lang.Comparable.compareTo:(Ljava/lang/Object;)I
ifge 20
19: aconst_null
areturn
20: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.SpinnerNumberModel.minimum:Ljava/lang/Comparable;
ifnull 22
aload 0
getfield javax.swing.SpinnerNumberModel.minimum:Ljava/lang/Comparable;
aload 2
invokeinterface java.lang.Comparable.compareTo:(Ljava/lang/Object;)I
ifle 22
21: aconst_null
areturn
22: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljavax/swing/SpinnerNumberModel;
0 23 1 dir I
4 5 2 newValue Ljava/lang/Number;
6 7 2 newValue Ljava/lang/Number;
10 11 2 newValue Ljava/lang/Number;
13 14 2 newValue Ljava/lang/Number;
16 17 2 newValue Ljava/lang/Number;
18 23 2 newValue Ljava/lang/Number;
2 6 3 v D
8 18 3 v J
MethodParameters:
Name Flags
dir
public java.lang.Object getNextValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual javax.swing.SpinnerNumberModel.incrValue:(I)Ljava/lang/Number;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/SpinnerNumberModel;
public java.lang.Object getPreviousValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_m1
invokevirtual javax.swing.SpinnerNumberModel.incrValue:(I)Ljava/lang/Number;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/SpinnerNumberModel;
public java.lang.Number getNumber();
descriptor: ()Ljava/lang/Number;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.SpinnerNumberModel.value:Ljava/lang/Number;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/SpinnerNumberModel;
public java.lang.Object getValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.SpinnerNumberModel.value:Ljava/lang/Number;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/SpinnerNumberModel;
public void setValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
instanceof java.lang.Number
ifne 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "illegal value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield javax.swing.SpinnerNumberModel.value:Ljava/lang/Number;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 5
3: aload 0
aload 1
checkcast java.lang.Number
putfield javax.swing.SpinnerNumberModel.value:Ljava/lang/Number;
4: aload 0
invokevirtual javax.swing.SpinnerNumberModel.fireStateChanged:()V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/SpinnerNumberModel;
0 6 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
}
SourceFile: "SpinnerNumberModel.java"