public class com.sun.tools.example.debug.gui.MonitorListModel extends javax.swing.AbstractListModel
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.example.debug.gui.MonitorListModel
super_class: javax.swing.AbstractListModel
{
private final java.util.List<java.lang.String> monitors;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
void <init>(com.sun.tools.example.debug.gui.Environment);
descriptor: (Lcom/sun/tools/example/debug/gui/Environment;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.swing.AbstractListModel.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.tools.example.debug.gui.MonitorListModel.monitors:Ljava/util/List;
2: new com.sun.tools.example.debug.gui.MonitorListModel$MonitorListListener
dup
aload 0
invokespecial com.sun.tools.example.debug.gui.MonitorListModel$MonitorListListener.<init>:(Lcom/sun/tools/example/debug/gui/MonitorListModel;)V
astore 2
start local 2 3: aload 1
invokevirtual com.sun.tools.example.debug.gui.Environment.getContextManager:()Lcom/sun/tools/example/debug/gui/ContextManager;
aload 2
invokevirtual com.sun.tools.example.debug.gui.ContextManager.addContextListener:(Lcom/sun/tools/example/debug/gui/ContextListener;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/example/debug/gui/MonitorListModel;
0 5 1 env Lcom/sun/tools/example/debug/gui/Environment;
3 5 2 listener Lcom/sun/tools/example/debug/gui/MonitorListModel$MonitorListListener;
MethodParameters:
Name Flags
env
public java.lang.Object getElementAt(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.example.debug.gui.MonitorListModel.monitors:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/gui/MonitorListModel;
0 1 1 index I
MethodParameters:
Name Flags
index
public int getSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.MonitorListModel.monitors:Ljava/util/List;
invokeinterface java.util.List.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/gui/MonitorListModel;
public void add(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.example.debug.gui.MonitorListModel.monitors:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
getfield com.sun.tools.example.debug.gui.MonitorListModel.monitors:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
istore 2
start local 2 2: aload 0
aload 0
iload 2
iload 2
invokevirtual com.sun.tools.example.debug.gui.MonitorListModel.fireIntervalAdded:(Ljava/lang/Object;II)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/example/debug/gui/MonitorListModel;
0 4 1 expr Ljava/lang/String;
2 4 2 newIndex I
MethodParameters:
Name Flags
expr
public void remove(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.example.debug.gui.MonitorListModel.monitors:Ljava/util/List;
aload 1
invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
istore 2
start local 2 1: aload 0
iload 2
invokevirtual com.sun.tools.example.debug.gui.MonitorListModel.remove:(I)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/gui/MonitorListModel;
0 3 1 expr Ljava/lang/String;
1 3 2 index I
MethodParameters:
Name Flags
expr
public void remove(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.example.debug.gui.MonitorListModel.monitors:Ljava/util/List;
iload 1
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
1: aload 0
aload 0
iload 1
iload 1
invokevirtual com.sun.tools.example.debug.gui.MonitorListModel.fireIntervalRemoved:(Ljava/lang/Object;II)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/gui/MonitorListModel;
0 3 1 index I
MethodParameters:
Name Flags
index
public java.util.List<java.lang.String> monitors();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.MonitorListModel.monitors:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/gui/MonitorListModel;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public java.util.Iterator<?> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.example.debug.gui.MonitorListModel.monitors:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/gui/MonitorListModel;
Signature: ()Ljava/util/Iterator<*>;
private void invalidate();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
aload 0
iconst_0
aload 0
getfield com.sun.tools.example.debug.gui.MonitorListModel.monitors:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
invokevirtual com.sun.tools.example.debug.gui.MonitorListModel.fireContentsChanged:(Ljava/lang/Object;II)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/gui/MonitorListModel;
}
SourceFile: "MonitorListModel.java"
NestMembers:
com.sun.tools.example.debug.gui.MonitorListModel$MonitorListListener
InnerClasses:
private MonitorListListener = com.sun.tools.example.debug.gui.MonitorListModel$MonitorListListener of com.sun.tools.example.debug.gui.MonitorListModel