abstract class javax.swing.text.DefaultStyledDocument$AbstractChangeHandler implements javax.swing.event.ChangeListener
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: javax.swing.text.DefaultStyledDocument$AbstractChangeHandler
super_class: java.lang.Object
{
private static final java.util.Map<java.lang.Class, java.lang.ref.ReferenceQueue<javax.swing.text.DefaultStyledDocument>> queueMap;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class;Ljava/lang/ref/ReferenceQueue<Ljavax/swing/text/DefaultStyledDocument;>;>;
private javax.swing.text.DefaultStyledDocument$AbstractChangeHandler$DocReference doc;
descriptor: Ljavax/swing/text/DefaultStyledDocument$AbstractChangeHandler$DocReference;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
1: putstatic javax.swing.text.DefaultStyledDocument$AbstractChangeHandler.queueMap:Ljava/util/Map;
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(javax.swing.text.DefaultStyledDocument);
descriptor: (Ljavax/swing/text/DefaultStyledDocument;)V
flags: (0x0000)
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 2
start local 2 2: getstatic javax.swing.text.DefaultStyledDocument$AbstractChangeHandler.queueMap:Ljava/util/Map;
dup
astore 4
monitorenter
3: getstatic javax.swing.text.DefaultStyledDocument$AbstractChangeHandler.queueMap:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ref.ReferenceQueue
astore 3
start local 3 4: aload 3
ifnonnull 7
5: new java.lang.ref.ReferenceQueue
dup
invokespecial java.lang.ref.ReferenceQueue.<init>:()V
astore 3
6: getstatic javax.swing.text.DefaultStyledDocument$AbstractChangeHandler.queueMap:Ljava/util/Map;
aload 2
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals: javax.swing.text.DefaultStyledDocument$AbstractChangeHandler javax.swing.text.DefaultStyledDocument java.lang.Class java.lang.ref.ReferenceQueue java.util.Map
StackMap stack:
aload 4
monitorexit
8: goto 11
end local 3 StackMap locals: javax.swing.text.DefaultStyledDocument$AbstractChangeHandler javax.swing.text.DefaultStyledDocument java.lang.Class top java.util.Map
StackMap stack: java.lang.Throwable
9: aload 4
monitorexit
10: athrow
start local 3 11: StackMap locals: javax.swing.text.DefaultStyledDocument$AbstractChangeHandler javax.swing.text.DefaultStyledDocument java.lang.Class java.lang.ref.ReferenceQueue
StackMap stack:
aload 0
new javax.swing.text.DefaultStyledDocument$AbstractChangeHandler$DocReference
dup
aload 0
aload 1
aload 3
invokespecial javax.swing.text.DefaultStyledDocument$AbstractChangeHandler$DocReference.<init>:(Ljavax/swing/text/DefaultStyledDocument$AbstractChangeHandler;Ljavax/swing/text/DefaultStyledDocument;Ljava/lang/ref/ReferenceQueue;)V
putfield javax.swing.text.DefaultStyledDocument$AbstractChangeHandler.doc:Ljavax/swing/text/DefaultStyledDocument$AbstractChangeHandler$DocReference;
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/text/DefaultStyledDocument$AbstractChangeHandler;
0 13 1 d Ljavax/swing/text/DefaultStyledDocument;
2 13 2 c Ljava/lang/Class;
4 9 3 q Ljava/lang/ref/ReferenceQueue<Ljavax/swing/text/DefaultStyledDocument;>;
11 13 3 q Ljava/lang/ref/ReferenceQueue<Ljavax/swing/text/DefaultStyledDocument;>;
Exception table:
from to target type
3 8 9 any
9 10 9 any
MethodParameters:
Name Flags
d
static java.util.List<javax.swing.event.ChangeListener> getStaleListeners(javax.swing.event.ChangeListener);
descriptor: (Ljavax/swing/event/ChangeListener;)Ljava/util/List;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: getstatic javax.swing.text.DefaultStyledDocument$AbstractChangeHandler.queueMap:Ljava/util/Map;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ref.ReferenceQueue
astore 2
start local 2 2: aload 2
ifnull 12
3: aload 2
dup
astore 4
monitorenter
4: goto 6
start local 3 5: StackMap locals: javax.swing.event.ChangeListener java.util.List java.lang.ref.ReferenceQueue javax.swing.text.DefaultStyledDocument$AbstractChangeHandler$DocReference java.lang.ref.ReferenceQueue
StackMap stack:
aload 1
aload 3
invokevirtual javax.swing.text.DefaultStyledDocument$AbstractChangeHandler$DocReference.getListener:()Ljavax/swing/event/ChangeListener;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 6: StackMap locals: javax.swing.event.ChangeListener java.util.List java.lang.ref.ReferenceQueue top java.lang.ref.ReferenceQueue
StackMap stack:
aload 2
invokevirtual java.lang.ref.ReferenceQueue.poll:()Ljava/lang/ref/Reference;
checkcast javax.swing.text.DefaultStyledDocument$AbstractChangeHandler$DocReference
dup
astore 3
start local 3 7: ifnonnull 5
8: aload 4
monitorexit
9: goto 12
end local 3 StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 4
monitorexit
11: athrow
12: StackMap locals: javax.swing.event.ChangeListener java.util.List java.lang.ref.ReferenceQueue
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 l Ljavax/swing/event/ChangeListener;
1 13 1 staleListeners Ljava/util/List<Ljavax/swing/event/ChangeListener;>;
2 13 2 q Ljava/lang/ref/ReferenceQueue<Ljavax/swing/text/DefaultStyledDocument;>;
5 6 3 r Ljavax/swing/text/DefaultStyledDocument$AbstractChangeHandler$DocReference;
7 10 3 r Ljavax/swing/text/DefaultStyledDocument$AbstractChangeHandler$DocReference;
Exception table:
from to target type
4 9 10 any
10 11 10 any
Signature: (Ljavax/swing/event/ChangeListener;)Ljava/util/List<Ljavax/swing/event/ChangeListener;>;
MethodParameters:
Name Flags
l
public void stateChanged(javax.swing.event.ChangeEvent);
descriptor: (Ljavax/swing/event/ChangeEvent;)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.text.DefaultStyledDocument$AbstractChangeHandler.doc:Ljavax/swing/text/DefaultStyledDocument$AbstractChangeHandler$DocReference;
invokevirtual javax.swing.text.DefaultStyledDocument$AbstractChangeHandler$DocReference.get:()Ljava/lang/Object;
checkcast javax.swing.text.DefaultStyledDocument
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 0
aload 2
aload 1
invokevirtual javax.swing.text.DefaultStyledDocument$AbstractChangeHandler.fireStateChanged:(Ljavax/swing/text/DefaultStyledDocument;Ljavax/swing/event/ChangeEvent;)V
3: StackMap locals: javax.swing.text.DefaultStyledDocument
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/DefaultStyledDocument$AbstractChangeHandler;
0 4 1 e Ljavax/swing/event/ChangeEvent;
1 4 2 d Ljavax/swing/text/DefaultStyledDocument;
MethodParameters:
Name Flags
e
abstract void fireStateChanged(javax.swing.text.DefaultStyledDocument, javax.swing.event.ChangeEvent);
descriptor: (Ljavax/swing/text/DefaultStyledDocument;Ljavax/swing/event/ChangeEvent;)V
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
d
e
}
SourceFile: "DefaultStyledDocument.java"
NestHost: javax.swing.text.DefaultStyledDocument
InnerClasses:
abstract AbstractChangeHandler = javax.swing.text.DefaultStyledDocument$AbstractChangeHandler of javax.swing.text.DefaultStyledDocument
private DocReference = javax.swing.text.DefaultStyledDocument$AbstractChangeHandler$DocReference of javax.swing.text.DefaultStyledDocument$AbstractChangeHandler