public class javax.swing.event.EventListenerList implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.event.EventListenerList
super_class: java.lang.Object
{
private static final java.lang.Object[] NULL_ARRAY;
descriptor: [Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected volatile transient java.lang.Object[] listenerList;
descriptor: [Ljava/lang/Object;
flags: (0x00c4) ACC_PROTECTED, ACC_VOLATILE, ACC_TRANSIENT
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray java.lang.Object
putstatic javax.swing.event.EventListenerList.NULL_ARRAY:[Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic javax.swing.event.EventListenerList.NULL_ARRAY:[Ljava/lang/Object;
putfield javax.swing.event.EventListenerList.listenerList:[Ljava/lang/Object;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/event/EventListenerList;
public java.lang.Object[] getListenerList();
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.event.EventListenerList.listenerList:[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/event/EventListenerList;
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=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.event.EventListenerList.listenerList:[Ljava/lang/Object;
astore 2
start local 2 1: aload 0
aload 2
aload 1
invokevirtual javax.swing.event.EventListenerList.getListenerCount:([Ljava/lang/Object;Ljava/lang/Class;)I
istore 3
start local 3 2: aload 1
iload 3
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast java.util.EventListener[]
astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: aload 2
arraylength
iconst_2
isub
istore 6
start local 6 5: goto 10
6: StackMap locals: javax.swing.event.EventListenerList java.lang.Class java.lang.Object[] int java.util.EventListener[] int int
StackMap stack:
aload 2
iload 6
aaload
aload 1
if_acmpne 9
7: aload 2
iload 6
iconst_1
iadd
aaload
checkcast java.util.EventListener
astore 7
start local 7 8: aload 4
iload 5
iinc 5 1
aload 7
aastore
end local 7 9: StackMap locals:
StackMap stack:
iinc 6 -2
StackMap locals:
StackMap stack:
10: iload 6
ifge 6
end local 6 11: aload 4
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/event/EventListenerList;
0 12 1 t Ljava/lang/Class<TT;>;
1 12 2 lList [Ljava/lang/Object;
2 12 3 n I
3 12 4 result [Ljava/util/EventListener;
4 12 5 j I
5 11 6 i I
8 9 7 tmp TT;
Signature: <T::Ljava/util/EventListener;>(Ljava/lang/Class<TT;>;)[TT;
MethodParameters:
Name Flags
t
public int getListenerCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.event.EventListenerList.listenerList:[Ljava/lang/Object;
arraylength
iconst_2
idiv
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/event/EventListenerList;
public int getListenerCount(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.event.EventListenerList.listenerList:[Ljava/lang/Object;
astore 2
start local 2 1: aload 0
aload 2
aload 1
invokevirtual javax.swing.event.EventListenerList.getListenerCount:([Ljava/lang/Object;Ljava/lang/Class;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/event/EventListenerList;
0 2 1 t Ljava/lang/Class<*>;
1 2 2 lList [Ljava/lang/Object;
Signature: (Ljava/lang/Class<*>;)I
MethodParameters:
Name Flags
t
private int getListenerCount([], java.lang.Class<?>);
descriptor: ([Ljava/lang/Object;Ljava/lang/Class;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 2
aload 1
iload 4
aaload
checkcast java.lang.Class
if_acmpne 5
4: iinc 3 1
5: StackMap locals:
StackMap stack:
iinc 4 2
StackMap locals:
StackMap stack:
6: iload 4
aload 1
arraylength
if_icmplt 3
end local 4 7: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/event/EventListenerList;
0 8 1 list [Ljava/lang/Object;
0 8 2 t Ljava/lang/Class<*>;
1 8 3 count I
2 7 4 i I
Signature: ([Ljava/lang/Object;Ljava/lang/Class<*>;)I
MethodParameters:
Name Flags
list
t
public synchronized <T extends java.util.EventListener> void add(java.lang.Class<T>, );
descriptor: (Ljava/lang/Class;Ljava/util/EventListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 6
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Listener "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: ldc " is not of type "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.event.EventListenerList.listenerList:[Ljava/lang/Object;
getstatic javax.swing.event.EventListenerList.NULL_ARRAY:[Ljava/lang/Object;
if_acmpne 9
7: aload 0
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
putfield javax.swing.event.EventListenerList.listenerList:[Ljava/lang/Object;
8: goto 15
9: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.event.EventListenerList.listenerList:[Ljava/lang/Object;
arraylength
istore 3
start local 3 10: iload 3
iconst_2
iadd
anewarray java.lang.Object
astore 4
start local 4 11: aload 0
getfield javax.swing.event.EventListenerList.listenerList:[Ljava/lang/Object;
iconst_0
aload 4
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: aload 4
iload 3
aload 1
aastore
13: aload 4
iload 3
iconst_1
iadd
aload 2
aastore
14: aload 0
aload 4
putfield javax.swing.event.EventListenerList.listenerList:[Ljava/lang/Object;
end local 4 end local 3 15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/event/EventListenerList;
0 16 1 t Ljava/lang/Class<TT;>;
0 16 2 l TT;
10 15 3 i I
11 15 4 tmp [Ljava/lang/Object;
Signature: <T::Ljava/util/EventListener;>(Ljava/lang/Class<TT;>;TT;)V
MethodParameters:
Name Flags
t
l
public synchronized <T extends java.util.EventListener> void remove(java.lang.Class<T>, );
descriptor: (Ljava/lang/Class;Ljava/util/EventListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 6
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Listener "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: ldc " is not of type "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
iconst_m1
istore 3
start local 3 7: aload 0
getfield javax.swing.event.EventListenerList.listenerList:[Ljava/lang/Object;
arraylength
iconst_2
isub
istore 4
start local 4 8: goto 13
9: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.swing.event.EventListenerList.listenerList:[Ljava/lang/Object;
iload 4
aaload
aload 1
if_acmpne 12
aload 0
getfield javax.swing.event.EventListenerList.listenerList:[Ljava/lang/Object;
iload 4
iconst_1
iadd
aaload
aload 2
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 12
10: iload 4
istore 3
11: goto 14
12: StackMap locals:
StackMap stack:
iinc 4 -2
StackMap locals:
StackMap stack:
13: iload 4
ifge 9
end local 4 14: StackMap locals:
StackMap stack:
iload 3
iconst_m1
if_icmpeq 24
15: aload 0
getfield javax.swing.event.EventListenerList.listenerList:[Ljava/lang/Object;
arraylength
iconst_2
isub
anewarray java.lang.Object
astore 4
start local 4 16: aload 0
getfield javax.swing.event.EventListenerList.listenerList:[Ljava/lang/Object;
iconst_0
aload 4
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
17: iload 3
aload 4
arraylength
if_icmpge 21
18: aload 0
getfield javax.swing.event.EventListenerList.listenerList:[Ljava/lang/Object;
iload 3
iconst_2
iadd
aload 4
iload 3
19: aload 4
arraylength
iload 3
isub
20: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
21: StackMap locals: java.lang.Object[]
StackMap stack:
aload 0
aload 4
arraylength
ifne 22
getstatic javax.swing.event.EventListenerList.NULL_ARRAY:[Ljava/lang/Object;
goto 23
StackMap locals:
StackMap stack: javax.swing.event.EventListenerList
22: aload 4
StackMap locals: javax.swing.event.EventListenerList java.lang.Class java.util.EventListener int java.lang.Object[]
StackMap stack: javax.swing.event.EventListenerList java.lang.Object[]
23: putfield javax.swing.event.EventListenerList.listenerList:[Ljava/lang/Object;
end local 4 24: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Ljavax/swing/event/EventListenerList;
0 25 1 t Ljava/lang/Class<TT;>;
0 25 2 l TT;
7 25 3 index I
8 14 4 i I
16 24 4 tmp [Ljava/lang/Object;
Signature: <T::Ljava/util/EventListener;>(Ljava/lang/Class<TT;>;TT;)V
MethodParameters:
Name Flags
t
l
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.event.EventListenerList.listenerList:[Ljava/lang/Object;
astore 2
start local 2 1: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
2: iconst_0
istore 3
start local 3 3: goto 10
4: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 2
iload 3
aaload
checkcast java.lang.Class
astore 4
start local 4 5: aload 2
iload 3
iconst_1
iadd
aaload
checkcast java.util.EventListener
astore 5
start local 5 6: aload 5
ifnull 9
aload 5
instanceof java.io.Serializable
ifeq 9
7: aload 1
aload 4
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
8: aload 1
aload 5
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
end local 5 end local 4 9: StackMap locals:
StackMap stack:
iinc 3 2
StackMap locals:
StackMap stack:
10: iload 3
aload 2
arraylength
if_icmplt 4
end local 3 11: aload 1
aconst_null
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/event/EventListenerList;
0 13 1 s Ljava/io/ObjectOutputStream;
1 13 2 lList [Ljava/lang/Object;
3 11 3 i I
5 9 4 t Ljava/lang/Class<*>;
6 9 5 l Ljava/util/EventListener;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getstatic javax.swing.event.EventListenerList.NULL_ARRAY:[Ljava/lang/Object;
putfield javax.swing.event.EventListenerList.listenerList:[Ljava/lang/Object;
1: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
2: goto 9
start local 2 3: StackMap locals: java.lang.Object
StackMap stack:
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 3
start local 3 4: aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.util.EventListener
astore 4
start local 4 5: aload 2
checkcast java.lang.String
astore 5
start local 5 6: aload 5
invokestatic sun.reflect.misc.ReflectUtil.checkPackageAccess:(Ljava/lang/String;)V
7: aload 5
iconst_1
aload 3
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 6
start local 6 8: aload 0
aload 6
aload 4
invokevirtual javax.swing.event.EventListenerList.add:(Ljava/lang/Class;Ljava/util/EventListener;)V
end local 6 end local 5 end local 4 end local 3 end local 2 9: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
dup
astore 2
start local 2 10: ifnonnull 3
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/event/EventListenerList;
0 12 1 s Ljava/io/ObjectInputStream;
3 9 2 listenerTypeOrNull Ljava/lang/Object;
10 12 2 listenerTypeOrNull Ljava/lang/Object;
4 9 3 cl Ljava/lang/ClassLoader;
5 9 4 l Ljava/util/EventListener;
6 9 5 name Ljava/lang/String;
8 9 6 tmp Ljava/lang/Class<Ljava/util/EventListener;>;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield javax.swing.event.EventListenerList.listenerList:[Ljava/lang/Object;
astore 1
start local 1 1: ldc "EventListenerList: "
astore 2
start local 2 2: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
arraylength
iconst_2
idiv
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " listeners: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
3: iconst_0
istore 3
start local 3 4: goto 8
5: StackMap locals: java.lang.Object[] java.lang.String int
StackMap stack:
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " type "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
iload 3
aaload
checkcast java.lang.Class
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
6: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " listener "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
iload 3
iconst_1
iadd
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
7: iinc 3 2
StackMap locals:
StackMap stack:
8: iload 3
aload 1
arraylength
iconst_2
isub
if_icmple 5
end local 3 9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/event/EventListenerList;
1 10 1 lList [Ljava/lang/Object;
2 10 2 s Ljava/lang/String;
4 9 3 i I
}
SourceFile: "EventListenerList.java"