public class javax.swing.SpinnerListModel 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.SpinnerListModel
super_class: javax.swing.AbstractSpinnerModel
{
private java.util.List<?> list;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<*>;
private int index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(java.util.List<?>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.swing.AbstractSpinnerModel.<init>:()V
1: aload 1
ifnull 2
aload 1
invokeinterface java.util.List.size:()I
ifne 3
2: StackMap locals: javax.swing.SpinnerListModel java.util.List
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "SpinnerListModel(List) expects non-null non-empty List"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.swing.SpinnerListModel.list:Ljava/util/List;
4: aload 0
iconst_0
putfield javax.swing.SpinnerListModel.index:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/SpinnerListModel;
0 6 1 values Ljava/util/List<*>;
Signature: (Ljava/util/List<*>;)V
MethodParameters:
Name Flags
values
public void <init>(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 0
invokespecial javax.swing.AbstractSpinnerModel.<init>:()V
1: aload 1
ifnull 2
aload 1
arraylength
ifne 3
2: StackMap locals: javax.swing.SpinnerListModel java.lang.Object[]
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "SpinnerListModel(Object[]) expects non-null non-empty Object[]"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
putfield javax.swing.SpinnerListModel.list:Ljava/util/List;
4: aload 0
iconst_0
putfield javax.swing.SpinnerListModel.index:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/SpinnerListModel;
0 6 1 values [Ljava/lang/Object;
MethodParameters:
Name Flags
values
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "empty"
aastore
invokespecial javax.swing.SpinnerListModel.<init>:([Ljava/lang/Object;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/SpinnerListModel;
public java.util.List<?> getList();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.SpinnerListModel.list:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/SpinnerListModel;
Signature: ()Ljava/util/List<*>;
public void setList(java.util.List<?>);
descriptor: (Ljava/util/List;)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
invokeinterface java.util.List.size:()I
ifne 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "invalid list"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield javax.swing.SpinnerListModel.list:Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifne 6
3: aload 0
aload 1
putfield javax.swing.SpinnerListModel.list:Ljava/util/List;
4: aload 0
iconst_0
putfield javax.swing.SpinnerListModel.index:I
5: aload 0
invokevirtual javax.swing.SpinnerListModel.fireStateChanged:()V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/SpinnerListModel;
0 7 1 list Ljava/util/List<*>;
Signature: (Ljava/util/List<*>;)V
MethodParameters:
Name Flags
list
public java.lang.Object getValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.SpinnerListModel.list:Ljava/util/List;
aload 0
getfield javax.swing.SpinnerListModel.index:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/SpinnerListModel;
public void setValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.SpinnerListModel.list:Ljava/util/List;
aload 1
invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
istore 2
start local 2 1: iload 2
iconst_m1
if_icmpne 3
2: new java.lang.IllegalArgumentException
dup
ldc "invalid sequence element"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
iload 2
aload 0
getfield javax.swing.SpinnerListModel.index:I
if_icmpeq 6
4: aload 0
iload 2
putfield javax.swing.SpinnerListModel.index:I
5: aload 0
invokevirtual javax.swing.SpinnerListModel.fireStateChanged:()V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/SpinnerListModel;
0 7 1 elt Ljava/lang/Object;
1 7 2 index I
MethodParameters:
Name Flags
elt
public java.lang.Object getNextValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.SpinnerListModel.index:I
aload 0
getfield javax.swing.SpinnerListModel.list:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
if_icmplt 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield javax.swing.SpinnerListModel.list:Ljava/util/List;
aload 0
getfield javax.swing.SpinnerListModel.index:I
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/SpinnerListModel;
public java.lang.Object getPreviousValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.SpinnerListModel.index:I
ifgt 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield javax.swing.SpinnerListModel.list:Ljava/util/List;
aload 0
getfield javax.swing.SpinnerListModel.index:I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/SpinnerListModel;
java.lang.Object findNextMatch(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.SpinnerListModel.list:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 2
start local 2 1: iload 2
ifne 3
2: aconst_null
areturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.SpinnerListModel.index:I
istore 3
start local 3 4: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.SpinnerListModel.list:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 4
start local 4 5: aload 4
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 5
start local 5 6: aload 5
ifnull 8
aload 5
aload 1
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 8
7: aload 4
areturn
8: StackMap locals: java.lang.Object java.lang.String
StackMap stack:
iload 3
iconst_1
iadd
iload 2
irem
istore 3
end local 5 end local 4 9: iload 3
aload 0
getfield javax.swing.SpinnerListModel.index:I
if_icmpne 4
10: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/SpinnerListModel;
0 11 1 substring Ljava/lang/String;
1 11 2 max I
4 11 3 counter I
5 9 4 value Ljava/lang/Object;
6 9 5 string Ljava/lang/String;
MethodParameters:
Name Flags
substring
}
SourceFile: "SpinnerListModel.java"