public class javax.swing.undo.AbstractUndoableEdit implements javax.swing.undo.UndoableEdit, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.undo.AbstractUndoableEdit
super_class: java.lang.Object
{
protected static final java.lang.String UndoName;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "Undo"
protected static final java.lang.String RedoName;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "Redo"
boolean hasBeenDone;
descriptor: Z
flags: (0x0000)
boolean alive;
descriptor: Z
flags: (0x0000)
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
iconst_1
putfield javax.swing.undo.AbstractUndoableEdit.hasBeenDone:Z
2: aload 0
iconst_1
putfield javax.swing.undo.AbstractUndoableEdit.alive:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/undo/AbstractUndoableEdit;
public void die();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield javax.swing.undo.AbstractUndoableEdit.alive:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/undo/AbstractUndoableEdit;
public void undo();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.undo.AbstractUndoableEdit.canUndo:()Z
ifne 2
1: new javax.swing.undo.CannotUndoException
dup
invokespecial javax.swing.undo.CannotUndoException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield javax.swing.undo.AbstractUndoableEdit.hasBeenDone:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/undo/AbstractUndoableEdit;
Exceptions:
throws javax.swing.undo.CannotUndoException
public boolean canUndo();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.undo.AbstractUndoableEdit.alive:Z
ifeq 1
aload 0
getfield javax.swing.undo.AbstractUndoableEdit.hasBeenDone:Z
ifeq 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 Ljavax/swing/undo/AbstractUndoableEdit;
public void redo();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.undo.AbstractUndoableEdit.canRedo:()Z
ifne 2
1: new javax.swing.undo.CannotRedoException
dup
invokespecial javax.swing.undo.CannotRedoException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield javax.swing.undo.AbstractUndoableEdit.hasBeenDone:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/undo/AbstractUndoableEdit;
Exceptions:
throws javax.swing.undo.CannotRedoException
public boolean canRedo();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.undo.AbstractUndoableEdit.alive:Z
ifeq 1
aload 0
getfield javax.swing.undo.AbstractUndoableEdit.hasBeenDone:Z
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 Ljavax/swing/undo/AbstractUndoableEdit;
public boolean addEdit(javax.swing.undo.UndoableEdit);
descriptor: (Ljavax/swing/undo/UndoableEdit;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/undo/AbstractUndoableEdit;
0 1 1 anEdit Ljavax/swing/undo/UndoableEdit;
MethodParameters:
Name Flags
anEdit
public boolean replaceEdit(javax.swing.undo.UndoableEdit);
descriptor: (Ljavax/swing/undo/UndoableEdit;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/undo/AbstractUndoableEdit;
0 1 1 anEdit Ljavax/swing/undo/UndoableEdit;
MethodParameters:
Name Flags
anEdit
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/undo/AbstractUndoableEdit;
public java.lang.String getPresentationName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc ""
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/undo/AbstractUndoableEdit;
public java.lang.String getUndoPresentationName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.undo.AbstractUndoableEdit.getPresentationName:()Ljava/lang/String;
astore 1
start local 1 1: ldc ""
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
2: new java.lang.StringBuilder
dup
ldc "AbstractUndoableEdit.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
3: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
5: goto 7
6: StackMap locals: java.lang.String
StackMap stack:
ldc "AbstractUndoableEdit.undoText"
invokestatic javax.swing.UIManager.getString:(Ljava/lang/Object;)Ljava/lang/String;
astore 1
7: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/undo/AbstractUndoableEdit;
1 8 1 name Ljava/lang/String;
public java.lang.String getRedoPresentationName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.undo.AbstractUndoableEdit.getPresentationName:()Ljava/lang/String;
astore 1
start local 1 1: ldc ""
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
2: new java.lang.StringBuilder
dup
ldc "AbstractUndoableEdit.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
3: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
5: goto 7
6: StackMap locals: java.lang.String
StackMap stack:
ldc "AbstractUndoableEdit.redoText"
invokestatic javax.swing.UIManager.getString:(Ljava/lang/Object;)Ljava/lang/String;
astore 1
7: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/undo/AbstractUndoableEdit;
1 8 1 name Ljava/lang/String;
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 " hasBeenDone: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.swing.undo.AbstractUndoableEdit.hasBeenDone:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
2: ldc " alive: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.swing.undo.AbstractUndoableEdit.alive:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/undo/AbstractUndoableEdit;
}
SourceFile: "AbstractUndoableEdit.java"