public class sun.awt.EventListenerAggregate
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.EventListenerAggregate
super_class: java.lang.Object
{
private java.util.EventListener[] listenerList;
descriptor: [Ljava/util/EventListener;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.Class<? extends java.util.EventListener>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "listener class is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: sun.awt.EventListenerAggregate java.lang.Class
StackMap stack:
aload 0
aload 1
iconst_0
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast java.util.EventListener[]
putfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/EventListenerAggregate;
0 5 1 listenerClass Ljava/lang/Class<+Ljava/util/EventListener;>;
Signature: (Ljava/lang/Class<+Ljava/util/EventListener;>;)V
MethodParameters:
Name Flags
listenerClass
private java.lang.Class<?> getListenerClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/EventListenerAggregate;
Signature: ()Ljava/lang/Class<*>;
public synchronized void add(java.util.EventListener);
descriptor: (Ljava/util/EventListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.EventListenerAggregate.getListenerClass:()Ljava/lang/Class;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 5
2: new java.lang.ClassCastException
dup
new java.lang.StringBuilder
dup
ldc "listener "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is not "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc "an instance of listener class "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.ClassCastException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.Class
StackMap stack:
aload 2
aload 0
getfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
arraylength
iconst_1
iadd
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast java.util.EventListener[]
astore 3
start local 3 6: aload 0
getfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
iconst_0
aload 3
iconst_0
aload 0
getfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 3
aload 0
getfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
arraylength
aload 1
aastore
8: aload 0
aload 3
putfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/EventListenerAggregate;
0 10 1 listener Ljava/util/EventListener;
1 10 2 listenerClass Ljava/lang/Class<*>;
6 10 3 tmp [Ljava/util/EventListener;
MethodParameters:
Name Flags
listener
public synchronized boolean remove(java.util.EventListener);
descriptor: (Ljava/util/EventListener;)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.EventListenerAggregate.getListenerClass:()Ljava/lang/Class;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 5
2: new java.lang.ClassCastException
dup
new java.lang.StringBuilder
dup
ldc "listener "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is not "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc "an instance of listener class "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.ClassCastException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.Class
StackMap stack:
iconst_0
istore 3
start local 3 6: goto 16
7: StackMap locals: int
StackMap stack:
aload 0
getfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
iload 3
aaload
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 15
8: aload 2
9: aload 0
getfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
arraylength
iconst_1
isub
10: invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast java.util.EventListener[]
astore 4
start local 4 11: aload 0
getfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
iconst_0
aload 4
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: aload 0
getfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
iload 3
iconst_1
iadd
aload 4
iload 3
aload 0
getfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
arraylength
iload 3
isub
iconst_1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
13: aload 0
aload 4
putfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
14: iconst_1
ireturn
end local 4 15: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
16: iload 3
aload 0
getfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
arraylength
if_icmplt 7
end local 3 17: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/awt/EventListenerAggregate;
0 18 1 listener Ljava/util/EventListener;
1 18 2 listenerClass Ljava/lang/Class<*>;
6 17 3 i I
11 15 4 tmp [Ljava/util/EventListener;
MethodParameters:
Name Flags
listener
public synchronized java.util.EventListener[] getListenersInternal();
descriptor: ()[Ljava/util/EventListener;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/EventListenerAggregate;
public synchronized java.util.EventListener[] getListenersCopy();
descriptor: ()[Ljava/util/EventListener;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
arraylength
ifne 1
aload 0
getfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
invokevirtual java.util.EventListener[].clone:()Ljava/lang/Object;
checkcast java.util.EventListener[]
StackMap locals:
StackMap stack: java.util.EventListener[]
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/EventListenerAggregate;
public synchronized int size();
descriptor: ()I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/EventListenerAggregate;
public synchronized boolean isEmpty();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.EventListenerAggregate.listenerList:[Ljava/util/EventListener;
arraylength
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/EventListenerAggregate;
}
SourceFile: "EventListenerAggregate.java"