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 2380
aload 0 /* this */
invokespecial javax.swing.undo.AbstractUndoableEdit.<init>:()V
1: .line 2381
aload 0 /* this */
aload 1 /* element */
putfield javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit.element:Ljavax/swing/text/Element;
2: .line 2382
aload 0 /* this */
aload 2 /* newAttributes */
putfield javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit.newAttributes:Ljavax/swing/text/AttributeSet;
3: .line 2383
aload 0 /* this */
iload 3 /* isReplacing */
putfield javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit.isReplacing:Z
4: .line 2386
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 2387
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 2395
aload 0 /* this */
invokespecial javax.swing.undo.AbstractUndoableEdit.redo:()V
1: .line 2396
aload 0 /* this */
getfield javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit.element:Ljavax/swing/text/Element;
2: .line 2397
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
3: .line 2396
checkcast javax.swing.text.MutableAttributeSet
astore 1 /* as */
start local 1 // javax.swing.text.MutableAttributeSet as
4: .line 2398
aload 0 /* this */
getfield javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit.isReplacing:Z
ifeq 6
5: .line 2399
aload 1 /* as */
aload 1 /* as */
invokeinterface javax.swing.text.MutableAttributeSet.removeAttributes:(Ljavax/swing/text/AttributeSet;)V
6: .line 2400
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 2401
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 2409
aload 0 /* this */
invokespecial javax.swing.undo.AbstractUndoableEdit.undo:()V
1: .line 2410
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 2411
aload 1 /* as */
aload 1 /* as */
invokeinterface javax.swing.text.MutableAttributeSet.removeAttributes:(Ljavax/swing/text/AttributeSet;)V
3: .line 2412
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 2413
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