public class javax.swing.undo.UndoableEditSupport
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.undo.UndoableEditSupport
super_class: java.lang.Object
{
protected int updateLevel;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected javax.swing.undo.CompoundEdit compoundEdit;
descriptor: Ljavax/swing/undo/CompoundEdit;
flags: (0x0004) ACC_PROTECTED
protected java.util.Vector<javax.swing.event.UndoableEditListener> listeners;
descriptor: Ljava/util/Vector;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Vector<Ljavax/swing/event/UndoableEditListener;>;
protected java.lang.Object realSource;
descriptor: Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial javax.swing.undo.UndoableEditSupport.<init>:(Ljava/lang/Object;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/undo/UndoableEditSupport;
public void <init>(java.lang.Object);
descriptor: (Ljava/lang/Object;)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 0
aload 1
ifnonnull 2
aload 0
goto 3
StackMap locals: javax.swing.undo.UndoableEditSupport java.lang.Object
StackMap stack: javax.swing.undo.UndoableEditSupport
2: aload 1
StackMap locals: javax.swing.undo.UndoableEditSupport java.lang.Object
StackMap stack: javax.swing.undo.UndoableEditSupport java.lang.Object
3: putfield javax.swing.undo.UndoableEditSupport.realSource:Ljava/lang/Object;
4: aload 0
iconst_0
putfield javax.swing.undo.UndoableEditSupport.updateLevel:I
5: aload 0
aconst_null
putfield javax.swing.undo.UndoableEditSupport.compoundEdit:Ljavax/swing/undo/CompoundEdit;
6: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield javax.swing.undo.UndoableEditSupport.listeners:Ljava/util/Vector;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/undo/UndoableEditSupport;
0 8 1 r Ljava/lang/Object;
MethodParameters:
Name Flags
r
public synchronized void addUndoableEditListener(javax.swing.event.UndoableEditListener);
descriptor: (Ljavax/swing/event/UndoableEditListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.undo.UndoableEditSupport.listeners:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/undo/UndoableEditSupport;
0 2 1 l Ljavax/swing/event/UndoableEditListener;
MethodParameters:
Name Flags
l
public synchronized void removeUndoableEditListener(javax.swing.event.UndoableEditListener);
descriptor: (Ljavax/swing/event/UndoableEditListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.undo.UndoableEditSupport.listeners:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.removeElement:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/undo/UndoableEditSupport;
0 2 1 l Ljavax/swing/event/UndoableEditListener;
MethodParameters:
Name Flags
l
public synchronized javax.swing.event.UndoableEditListener[] getUndoableEditListeners();
descriptor: ()[Ljavax/swing/event/UndoableEditListener;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.undo.UndoableEditSupport.listeners:Ljava/util/Vector;
iconst_0
anewarray javax.swing.event.UndoableEditListener
invokevirtual java.util.Vector.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.swing.event.UndoableEditListener[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/undo/UndoableEditSupport;
protected void _postEdit(javax.swing.undo.UndoableEdit);
descriptor: (Ljavax/swing/undo/UndoableEdit;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new javax.swing.event.UndoableEditEvent
dup
aload 0
getfield javax.swing.undo.UndoableEditSupport.realSource:Ljava/lang/Object;
aload 1
invokespecial javax.swing.event.UndoableEditEvent.<init>:(Ljava/lang/Object;Ljavax/swing/undo/UndoableEdit;)V
astore 2
start local 2 1: aload 0
getfield javax.swing.undo.UndoableEditSupport.listeners:Ljava/util/Vector;
invokevirtual java.util.Vector.clone:()Ljava/lang/Object;
checkcast java.util.Vector
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
2: astore 3
start local 3 3: goto 5
4: StackMap locals: javax.swing.event.UndoableEditEvent java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast javax.swing.event.UndoableEditListener
aload 2
invokeinterface javax.swing.event.UndoableEditListener.undoableEditHappened:(Ljavax/swing/event/UndoableEditEvent;)V
5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 4
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/undo/UndoableEditSupport;
0 7 1 e Ljavax/swing/undo/UndoableEdit;
1 7 2 ev Ljavax/swing/event/UndoableEditEvent;
3 7 3 cursor Ljava/util/Enumeration<Ljavax/swing/event/UndoableEditListener;>;
MethodParameters:
Name Flags
e
public synchronized void postEdit(javax.swing.undo.UndoableEdit);
descriptor: (Ljavax/swing/undo/UndoableEdit;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.undo.UndoableEditSupport.updateLevel:I
ifne 3
1: aload 0
aload 1
invokevirtual javax.swing.undo.UndoableEditSupport._postEdit:(Ljavax/swing/undo/UndoableEdit;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.undo.UndoableEditSupport.compoundEdit:Ljavax/swing/undo/CompoundEdit;
aload 1
invokevirtual javax.swing.undo.CompoundEdit.addEdit:(Ljavax/swing/undo/UndoableEdit;)Z
pop
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/undo/UndoableEditSupport;
0 5 1 e Ljavax/swing/undo/UndoableEdit;
MethodParameters:
Name Flags
e
public int getUpdateLevel();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.undo.UndoableEditSupport.updateLevel:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/undo/UndoableEditSupport;
public synchronized void beginUpdate();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.undo.UndoableEditSupport.updateLevel:I
ifne 2
1: aload 0
aload 0
invokevirtual javax.swing.undo.UndoableEditSupport.createCompoundEdit:()Ljavax/swing/undo/CompoundEdit;
putfield javax.swing.undo.UndoableEditSupport.compoundEdit:Ljavax/swing/undo/CompoundEdit;
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield javax.swing.undo.UndoableEditSupport.updateLevel:I
iconst_1
iadd
putfield javax.swing.undo.UndoableEditSupport.updateLevel:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/undo/UndoableEditSupport;
protected javax.swing.undo.CompoundEdit createCompoundEdit();
descriptor: ()Ljavax/swing/undo/CompoundEdit;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: new javax.swing.undo.CompoundEdit
dup
invokespecial javax.swing.undo.CompoundEdit.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/undo/UndoableEditSupport;
public synchronized void endUpdate();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield javax.swing.undo.UndoableEditSupport.updateLevel:I
iconst_1
isub
putfield javax.swing.undo.UndoableEditSupport.updateLevel:I
1: aload 0
getfield javax.swing.undo.UndoableEditSupport.updateLevel:I
ifne 5
2: aload 0
getfield javax.swing.undo.UndoableEditSupport.compoundEdit:Ljavax/swing/undo/CompoundEdit;
invokevirtual javax.swing.undo.CompoundEdit.end:()V
3: aload 0
aload 0
getfield javax.swing.undo.UndoableEditSupport.compoundEdit:Ljavax/swing/undo/CompoundEdit;
invokevirtual javax.swing.undo.UndoableEditSupport._postEdit:(Ljavax/swing/undo/UndoableEdit;)V
4: aload 0
aconst_null
putfield javax.swing.undo.UndoableEditSupport.compoundEdit:Ljavax/swing/undo/CompoundEdit;
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/undo/UndoableEditSupport;
public java.lang.String toString();
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
aload 0
invokespecial java.lang.Object.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: ldc " updateLevel: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.swing.undo.UndoableEditSupport.updateLevel:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
2: ldc " listeners: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.swing.undo.UndoableEditSupport.listeners:Ljava/util/Vector;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: ldc " compoundEdit: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.swing.undo.UndoableEditSupport.compoundEdit:Ljavax/swing/undo/CompoundEdit;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/undo/UndoableEditSupport;
}
SourceFile: "UndoableEditSupport.java"