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
Signature: Ljava/lang/Comparable<*>;
private java.lang.Comparable<?> maximum;
descriptor: Ljava/lang/Comparable;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Comparable<*>;
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;
Signature: (Ljava/lang/Number;Ljava/lang/Comparable<*>;Ljava/lang/Comparable<*>;Ljava/lang/Number;)V
MethodParameters:
Name Flags
value
minimum
maximum
stepSize
public void <init>(int, int, int, int);
descriptor: (IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
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=6, locals=9, args_size=5
start local 0 start local 1 start local 3 start local 5 start local 7 0: aload 0
dload 1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
dload 3
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
1: dload 5
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
dload 7
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokespecial javax.swing.SpinnerNumberModel.<init>:(Ljava/lang/Number;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Number;)V
2: return
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/SpinnerNumberModel;
0 3 1 value D
0 3 3 minimum D
0 3 5 maximum D
0 3 7 stepSize D
MethodParameters:
Name Flags
value
minimum
maximum
stepSize
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aconst_null
aconst_null
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
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<*>;
Signature: (Ljava/lang/Comparable<*>;)V
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;
Signature: ()Ljava/lang/Comparable<*>;
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<*>;
Signature: (Ljava/lang/Comparable<*>;)V
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;
Signature: ()Ljava/lang/Comparable<*>;
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: dload 3
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
astore 2
start local 2 4: goto 18
end local 2 5: StackMap locals: javax.swing.SpinnerNumberModel int top double
StackMap stack:
dload 3
d2f
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
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: lload 3
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
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: lload 3
l2i
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
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: lload 3
l2i
i2s
invokestatic java.lang.Short.valueOf:(S)Ljava/lang/Short;
astore 2
start local 2 16: goto 18
end local 2 17: StackMap locals:
StackMap stack:
lload 3
l2i
i2b
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
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"