public class javax.swing.text.AbstractDocument$DefaultDocumentEvent extends javax.swing.undo.CompoundEdit implements javax.swing.event.DocumentEvent
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.AbstractDocument$DefaultDocumentEvent
super_class: javax.swing.undo.CompoundEdit
{
private int offset;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int length;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.Hashtable<javax.swing.text.Element, javax.swing.event.DocumentEvent$ElementChange> changeLookup;
descriptor: Ljava/util/Hashtable;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Hashtable<Ljavax/swing/text/Element;Ljavax/swing/event/DocumentEvent$ElementChange;>;
private javax.swing.event.DocumentEvent$EventType type;
descriptor: Ljavax/swing/event/DocumentEvent$EventType;
flags: (0x0002) ACC_PRIVATE
final javax.swing.text.AbstractDocument this$0;
descriptor: Ljavax/swing/text/AbstractDocument;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(javax.swing.text.AbstractDocument, int, int, javax.swing.event.DocumentEvent$EventType);
descriptor: (Ljavax/swing/text/AbstractDocument;IILjavax/swing/event/DocumentEvent$EventType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.this$0:Ljavax/swing/text/AbstractDocument;
1: aload 0
invokespecial javax.swing.undo.CompoundEdit.<init>:()V
2: aload 0
iload 2
putfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.offset:I
3: aload 0
iload 3
putfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.length:I
4: aload 0
aload 4
putfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.type:Ljavax/swing/event/DocumentEvent$EventType;
5: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
0 6 2 offs I
0 6 3 len I
0 6 4 type Ljavax/swing/event/DocumentEvent$EventType;
MethodParameters:
Name Flags
this$0 final
offs
len
type
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.edits:Ljava/util/Vector;
invokevirtual java.util.Vector.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
public boolean addEdit(javax.swing.undo.UndoableEdit);
descriptor: (Ljavax/swing/undo/UndoableEdit;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.changeLookup:Ljava/util/Hashtable;
ifnonnull 11
aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.edits:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
bipush 10
if_icmple 11
1: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.changeLookup:Ljava/util/Hashtable;
2: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.edits:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
istore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 10
5: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.edits:Ljava/util/Vector;
iload 3
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
astore 4
start local 4 6: aload 4
instanceof javax.swing.event.DocumentEvent$ElementChange
ifeq 9
7: aload 4
checkcast javax.swing.event.DocumentEvent$ElementChange
astore 5
start local 5 8: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.changeLookup:Ljava/util/Hashtable;
aload 5
invokeinterface javax.swing.event.DocumentEvent$ElementChange.getElement:()Ljavax/swing/text/Element;
aload 5
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 4 9: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 2
if_icmplt 5
end local 3 end local 2 11: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.changeLookup:Ljava/util/Hashtable;
ifnull 14
aload 1
instanceof javax.swing.event.DocumentEvent$ElementChange
ifeq 14
12: aload 1
checkcast javax.swing.event.DocumentEvent$ElementChange
astore 2
start local 2 13: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.changeLookup:Ljava/util/Hashtable;
aload 2
invokeinterface javax.swing.event.DocumentEvent$ElementChange.getElement:()Ljavax/swing/text/Element;
aload 2
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 14: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial javax.swing.undo.CompoundEdit.addEdit:(Ljavax/swing/undo/UndoableEdit;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
0 15 1 anEdit Ljavax/swing/undo/UndoableEdit;
3 11 2 n I
4 11 3 i I
6 9 4 o Ljava/lang/Object;
8 9 5 ec Ljavax/swing/event/DocumentEvent$ElementChange;
13 14 2 ec Ljavax/swing/event/DocumentEvent$ElementChange;
MethodParameters:
Name Flags
anEdit
public void redo();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.this$0:Ljavax/swing/text/AbstractDocument;
invokevirtual javax.swing.text.AbstractDocument.writeLock:()V
1: aload 0
invokespecial javax.swing.undo.CompoundEdit.redo:()V
2: new javax.swing.text.AbstractDocument$UndoRedoDocumentEvent
dup
aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.this$0:Ljavax/swing/text/AbstractDocument;
aload 0
iconst_0
invokespecial javax.swing.text.AbstractDocument$UndoRedoDocumentEvent.<init>:(Ljavax/swing/text/AbstractDocument;Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;Z)V
astore 1
start local 1 3: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.type:Ljavax/swing/event/DocumentEvent$EventType;
getstatic javax.swing.event.DocumentEvent$EventType.INSERT:Ljavax/swing/event/DocumentEvent$EventType;
if_acmpne 6
4: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.this$0:Ljavax/swing/text/AbstractDocument;
aload 1
invokevirtual javax.swing.text.AbstractDocument.fireInsertUpdate:(Ljavax/swing/event/DocumentEvent;)V
5: goto 14
StackMap locals: javax.swing.text.AbstractDocument$UndoRedoDocumentEvent
StackMap stack:
6: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.type:Ljavax/swing/event/DocumentEvent$EventType;
getstatic javax.swing.event.DocumentEvent$EventType.REMOVE:Ljavax/swing/event/DocumentEvent$EventType;
if_acmpne 9
7: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.this$0:Ljavax/swing/text/AbstractDocument;
aload 1
invokevirtual javax.swing.text.AbstractDocument.fireRemoveUpdate:(Ljavax/swing/event/DocumentEvent;)V
8: goto 14
9: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.this$0:Ljavax/swing/text/AbstractDocument;
aload 1
invokevirtual javax.swing.text.AbstractDocument.fireChangedUpdate:(Ljavax/swing/event/DocumentEvent;)V
end local 1 10: goto 14
StackMap locals: javax.swing.text.AbstractDocument$DefaultDocumentEvent
StackMap stack: java.lang.Throwable
11: astore 2
12: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.this$0:Ljavax/swing/text/AbstractDocument;
invokevirtual javax.swing.text.AbstractDocument.writeUnlock:()V
13: aload 2
athrow
14: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.this$0:Ljavax/swing/text/AbstractDocument;
invokevirtual javax.swing.text.AbstractDocument.writeUnlock:()V
15: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
3 10 1 ev Ljavax/swing/text/AbstractDocument$UndoRedoDocumentEvent;
Exception table:
from to target type
1 11 11 any
Exceptions:
throws javax.swing.undo.CannotRedoException
public void undo();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.this$0:Ljavax/swing/text/AbstractDocument;
invokevirtual javax.swing.text.AbstractDocument.writeLock:()V
1: aload 0
invokespecial javax.swing.undo.CompoundEdit.undo:()V
2: new javax.swing.text.AbstractDocument$UndoRedoDocumentEvent
dup
aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.this$0:Ljavax/swing/text/AbstractDocument;
aload 0
iconst_1
invokespecial javax.swing.text.AbstractDocument$UndoRedoDocumentEvent.<init>:(Ljavax/swing/text/AbstractDocument;Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;Z)V
astore 1
start local 1 3: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.type:Ljavax/swing/event/DocumentEvent$EventType;
getstatic javax.swing.event.DocumentEvent$EventType.REMOVE:Ljavax/swing/event/DocumentEvent$EventType;
if_acmpne 6
4: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.this$0:Ljavax/swing/text/AbstractDocument;
aload 1
invokevirtual javax.swing.text.AbstractDocument.fireInsertUpdate:(Ljavax/swing/event/DocumentEvent;)V
5: goto 14
StackMap locals: javax.swing.text.AbstractDocument$UndoRedoDocumentEvent
StackMap stack:
6: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.type:Ljavax/swing/event/DocumentEvent$EventType;
getstatic javax.swing.event.DocumentEvent$EventType.INSERT:Ljavax/swing/event/DocumentEvent$EventType;
if_acmpne 9
7: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.this$0:Ljavax/swing/text/AbstractDocument;
aload 1
invokevirtual javax.swing.text.AbstractDocument.fireRemoveUpdate:(Ljavax/swing/event/DocumentEvent;)V
8: goto 14
9: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.this$0:Ljavax/swing/text/AbstractDocument;
aload 1
invokevirtual javax.swing.text.AbstractDocument.fireChangedUpdate:(Ljavax/swing/event/DocumentEvent;)V
end local 1 10: goto 14
StackMap locals: javax.swing.text.AbstractDocument$DefaultDocumentEvent
StackMap stack: java.lang.Throwable
11: astore 2
12: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.this$0:Ljavax/swing/text/AbstractDocument;
invokevirtual javax.swing.text.AbstractDocument.writeUnlock:()V
13: aload 2
athrow
14: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.this$0:Ljavax/swing/text/AbstractDocument;
invokevirtual javax.swing.text.AbstractDocument.writeUnlock:()V
15: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
3 10 1 ev Ljavax/swing/text/AbstractDocument$UndoRedoDocumentEvent;
Exception table:
from to target type
1 11 11 any
Exceptions:
throws javax.swing.undo.CannotUndoException
public boolean isSignificant();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
public java.lang.String getPresentationName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.getType:()Ljavax/swing/event/DocumentEvent$EventType;
astore 1
start local 1 1: aload 1
getstatic javax.swing.event.DocumentEvent$EventType.INSERT:Ljavax/swing/event/DocumentEvent$EventType;
if_acmpne 3
2: ldc "AbstractDocument.additionText"
invokestatic javax.swing.UIManager.getString:(Ljava/lang/Object;)Ljava/lang/String;
areturn
3: StackMap locals: javax.swing.event.DocumentEvent$EventType
StackMap stack:
aload 1
getstatic javax.swing.event.DocumentEvent$EventType.REMOVE:Ljavax/swing/event/DocumentEvent$EventType;
if_acmpne 5
4: ldc "AbstractDocument.deletionText"
invokestatic javax.swing.UIManager.getString:(Ljava/lang/Object;)Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
ldc "AbstractDocument.styleChangeText"
invokestatic javax.swing.UIManager.getString:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
1 6 1 type Ljavax/swing/event/DocumentEvent$EventType;
public java.lang.String getUndoPresentationName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "AbstractDocument.undoText"
invokestatic javax.swing.UIManager.getString:(Ljava/lang/Object;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 0
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.getPresentationName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
public java.lang.String getRedoPresentationName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "AbstractDocument.redoText"
invokestatic javax.swing.UIManager.getString:(Ljava/lang/Object;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 0
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.getPresentationName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
public javax.swing.event.DocumentEvent$EventType getType();
descriptor: ()Ljavax/swing/event/DocumentEvent$EventType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.type:Ljavax/swing/event/DocumentEvent$EventType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
public int getOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.offset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
public int getLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.length:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
public javax.swing.text.Document getDocument();
descriptor: ()Ljavax/swing/text/Document;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.this$0:Ljavax/swing/text/AbstractDocument;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
public javax.swing.event.DocumentEvent$ElementChange getChange(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)Ljavax/swing/event/DocumentEvent$ElementChange;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.changeLookup:Ljava/util/Hashtable;
ifnull 2
1: aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.changeLookup:Ljava/util/Hashtable;
aload 1
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.event.DocumentEvent$ElementChange
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.edits:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
istore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 11
5: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.swing.text.AbstractDocument$DefaultDocumentEvent.edits:Ljava/util/Vector;
iload 3
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
astore 4
start local 4 6: aload 4
instanceof javax.swing.event.DocumentEvent$ElementChange
ifeq 10
7: aload 4
checkcast javax.swing.event.DocumentEvent$ElementChange
astore 5
start local 5 8: aload 1
aload 5
invokeinterface javax.swing.event.DocumentEvent$ElementChange.getElement:()Ljavax/swing/text/Element;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 10
9: aload 5
areturn
end local 5 end local 4 10: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
11: iload 3
iload 2
if_icmplt 5
end local 3 12: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
0 13 1 elem Ljavax/swing/text/Element;
3 13 2 n I
4 12 3 i I
6 10 4 o Ljava/lang/Object;
8 10 5 c Ljavax/swing/event/DocumentEvent$ElementChange;
MethodParameters:
Name Flags
elem
}
SourceFile: "AbstractDocument.java"
NestHost: javax.swing.text.AbstractDocument
InnerClasses:
public abstract ElementChange = javax.swing.event.DocumentEvent$ElementChange of javax.swing.event.DocumentEvent
public final EventType = javax.swing.event.DocumentEvent$EventType of javax.swing.event.DocumentEvent
public DefaultDocumentEvent = javax.swing.text.AbstractDocument$DefaultDocumentEvent of javax.swing.text.AbstractDocument
UndoRedoDocumentEvent = javax.swing.text.AbstractDocument$UndoRedoDocumentEvent of javax.swing.text.AbstractDocument