public class javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit extends javax.swing.undo.AbstractUndoableEdit
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit
super_class: javax.swing.undo.AbstractUndoableEdit
{
protected javax.swing.text.AttributeSet newAttributes;
descriptor: Ljavax/swing/text/AttributeSet;
flags: (0x0004) ACC_PROTECTED
protected javax.swing.text.AttributeSet copy;
descriptor: Ljavax/swing/text/AttributeSet;
flags: (0x0004) ACC_PROTECTED
protected boolean isReplacing;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected javax.swing.text.Element element;
descriptor: Ljavax/swing/text/Element;
flags: (0x0004) ACC_PROTECTED
public void <init>(javax.swing.text.Element, javax.swing.text.AttributeSet, boolean);
descriptor: (Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 // javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit this
start local 1 // javax.swing.text.Element element
start local 2 // javax.swing.text.AttributeSet newAttributes
start local 3 // boolean isReplacing
0: .line 2523
aload 0 /* this */
invokespecial javax.swing.undo.AbstractUndoableEdit.<init>:()V
1: .line 2524
aload 0 /* this */
aload 1 /* element */
putfield javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit.element:Ljavax/swing/text/Element;
2: .line 2525
aload 0 /* this */
aload 2 /* newAttributes */
putfield javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit.newAttributes:Ljavax/swing/text/AttributeSet;
3: .line 2526
aload 0 /* this */
iload 3 /* isReplacing */
putfield javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit.isReplacing:Z
4: .line 2529
aload 0 /* this */
aload 1 /* element */
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
invokeinterface javax.swing.text.AttributeSet.copyAttributes:()Ljavax/swing/text/AttributeSet;
putfield javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit.copy:Ljavax/swing/text/AttributeSet;
5: .line 2530
return
end local 3 // boolean isReplacing
end local 2 // javax.swing.text.AttributeSet newAttributes
end local 1 // javax.swing.text.Element element
end local 0 // javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/DefaultStyledDocument$AttributeUndoableEdit;
0 6 1 element Ljavax/swing/text/Element;
0 6 2 newAttributes Ljavax/swing/text/AttributeSet;
0 6 3 isReplacing Z
MethodParameters:
Name Flags
element
newAttributes
isReplacing
public void redo();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 // javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit this
0: .line 2538
aload 0 /* this */
invokespecial javax.swing.undo.AbstractUndoableEdit.redo:()V
1: .line 2539
aload 0 /* this */
getfield javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit.element:Ljavax/swing/text/Element;
2: .line 2540
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
3: .line 2539
checkcast javax.swing.text.MutableAttributeSet
astore 1 /* as */
start local 1 // javax.swing.text.MutableAttributeSet as
4: .line 2541
aload 0 /* this */
getfield javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit.isReplacing:Z
ifeq 6
5: .line 2542
aload 1 /* as */
aload 1 /* as */
invokeinterface javax.swing.text.MutableAttributeSet.removeAttributes:(Ljavax/swing/text/AttributeSet;)V
6: .line 2543
StackMap locals: javax.swing.text.MutableAttributeSet
StackMap stack:
aload 1 /* as */
aload 0 /* this */
getfield javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit.newAttributes:Ljavax/swing/text/AttributeSet;
invokeinterface javax.swing.text.MutableAttributeSet.addAttributes:(Ljavax/swing/text/AttributeSet;)V
7: .line 2544
return
end local 1 // javax.swing.text.MutableAttributeSet as
end local 0 // javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/DefaultStyledDocument$AttributeUndoableEdit;
4 8 1 as Ljavax/swing/text/MutableAttributeSet;
Exceptions:
throws javax.swing.undo.CannotRedoException
public void undo();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 // javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit this
0: .line 2552
aload 0 /* this */
invokespecial javax.swing.undo.AbstractUndoableEdit.undo:()V
1: .line 2553
aload 0 /* this */
getfield javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit.element:Ljavax/swing/text/Element;
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
checkcast javax.swing.text.MutableAttributeSet
astore 1 /* as */
start local 1 // javax.swing.text.MutableAttributeSet as
2: .line 2554
aload 1 /* as */
aload 1 /* as */
invokeinterface javax.swing.text.MutableAttributeSet.removeAttributes:(Ljavax/swing/text/AttributeSet;)V
3: .line 2555
aload 1 /* as */
aload 0 /* this */
getfield javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit.copy:Ljavax/swing/text/AttributeSet;
invokeinterface javax.swing.text.MutableAttributeSet.addAttributes:(Ljavax/swing/text/AttributeSet;)V
4: .line 2556
return
end local 1 // javax.swing.text.MutableAttributeSet as
end local 0 // javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/DefaultStyledDocument$AttributeUndoableEdit;
2 5 1 as Ljavax/swing/text/MutableAttributeSet;
Exceptions:
throws javax.swing.undo.CannotUndoException
}
SourceFile: "DefaultStyledDocument.java"
NestHost: javax.swing.text.DefaultStyledDocument
InnerClasses:
public AttributeUndoableEdit = javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit of javax.swing.text.DefaultStyledDocument