class javax.swing.text.GapContent$RemoveUndo extends javax.swing.undo.AbstractUndoableEdit
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.GapContent$RemoveUndo
super_class: javax.swing.undo.AbstractUndoableEdit
{
protected int offset;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int length;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected java.lang.String string;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.util.Vector<javax.swing.text.GapContent$UndoPosRef> posRefs;
descriptor: Ljava/util/Vector;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Vector<Ljavax/swing/text/GapContent$UndoPosRef;>;
final javax.swing.text.GapContent this$0;
descriptor: Ljavax/swing/text/GapContent;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
protected void <init>(javax.swing.text.GapContent, int, java.lang.String);
descriptor: (Ljavax/swing/text/GapContent;ILjava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 // javax.swing.text.GapContent$RemoveUndo this
start local 2 // int offset
start local 3 // java.lang.String string
0: .line 920
aload 0 /* this */
aload 1
putfield javax.swing.text.GapContent$RemoveUndo.this$0:Ljavax/swing/text/GapContent;
1: .line 921
aload 0 /* this */
invokespecial javax.swing.undo.AbstractUndoableEdit.<init>:()V
2: .line 922
aload 0 /* this */
iload 2 /* offset */
putfield javax.swing.text.GapContent$RemoveUndo.offset:I
3: .line 923
aload 0 /* this */
aload 3 /* string */
putfield javax.swing.text.GapContent$RemoveUndo.string:Ljava/lang/String;
4: .line 924
aload 0 /* this */
aload 3 /* string */
invokevirtual java.lang.String.length:()I
putfield javax.swing.text.GapContent$RemoveUndo.length:I
5: .line 925
aload 0 /* this */
aload 1
aconst_null
iload 2 /* offset */
aload 0 /* this */
getfield javax.swing.text.GapContent$RemoveUndo.length:I
invokevirtual javax.swing.text.GapContent.getPositionsInRange:(Ljava/util/Vector;II)Ljava/util/Vector;
putfield javax.swing.text.GapContent$RemoveUndo.posRefs:Ljava/util/Vector;
6: .line 926
return
end local 3 // java.lang.String string
end local 2 // int offset
end local 0 // javax.swing.text.GapContent$RemoveUndo this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/text/GapContent$RemoveUndo;
0 7 2 offset I
0 7 3 string Ljava/lang/String;
MethodParameters:
Name Flags
this$0 final
offset
string
public void undo();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 // javax.swing.text.GapContent$RemoveUndo this
0: .line 929
aload 0 /* this */
invokespecial javax.swing.undo.AbstractUndoableEdit.undo:()V
1: .line 931
aload 0 /* this */
getfield javax.swing.text.GapContent$RemoveUndo.this$0:Ljavax/swing/text/GapContent;
aload 0 /* this */
getfield javax.swing.text.GapContent$RemoveUndo.offset:I
aload 0 /* this */
getfield javax.swing.text.GapContent$RemoveUndo.string:Ljava/lang/String;
invokevirtual javax.swing.text.GapContent.insertString:(ILjava/lang/String;)Ljavax/swing/undo/UndoableEdit;
pop
2: .line 933
aload 0 /* this */
getfield javax.swing.text.GapContent$RemoveUndo.posRefs:Ljava/util/Vector;
ifnull 5
3: .line 934
aload 0 /* this */
getfield javax.swing.text.GapContent$RemoveUndo.this$0:Ljavax/swing/text/GapContent;
aload 0 /* this */
getfield javax.swing.text.GapContent$RemoveUndo.posRefs:Ljava/util/Vector;
aload 0 /* this */
getfield javax.swing.text.GapContent$RemoveUndo.offset:I
aload 0 /* this */
getfield javax.swing.text.GapContent$RemoveUndo.length:I
invokevirtual javax.swing.text.GapContent.updateUndoPositions:(Ljava/util/Vector;II)V
4: .line 935
aload 0 /* this */
aconst_null
putfield javax.swing.text.GapContent$RemoveUndo.posRefs:Ljava/util/Vector;
5: .line 937
StackMap locals:
StackMap stack:
aload 0 /* this */
aconst_null
putfield javax.swing.text.GapContent$RemoveUndo.string:Ljava/lang/String;
6: .line 938
goto 9
StackMap locals:
StackMap stack: javax.swing.text.BadLocationException
7: pop
8: .line 939
new javax.swing.undo.CannotUndoException
dup
invokespecial javax.swing.undo.CannotUndoException.<init>:()V
athrow
9: .line 941
StackMap locals:
StackMap stack:
return
end local 0 // javax.swing.text.GapContent$RemoveUndo this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/text/GapContent$RemoveUndo;
Exception table:
from to target type
1 6 7 Class javax.swing.text.BadLocationException
Exceptions:
throws javax.swing.undo.CannotUndoException
public void redo();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 // javax.swing.text.GapContent$RemoveUndo this
0: .line 945
aload 0 /* this */
invokespecial javax.swing.undo.AbstractUndoableEdit.redo:()V
1: .line 947
aload 0 /* this */
aload 0 /* this */
getfield javax.swing.text.GapContent$RemoveUndo.this$0:Ljavax/swing/text/GapContent;
aload 0 /* this */
getfield javax.swing.text.GapContent$RemoveUndo.offset:I
aload 0 /* this */
getfield javax.swing.text.GapContent$RemoveUndo.length:I
invokevirtual javax.swing.text.GapContent.getString:(II)Ljava/lang/String;
putfield javax.swing.text.GapContent$RemoveUndo.string:Ljava/lang/String;
2: .line 949
aload 0 /* this */
aload 0 /* this */
getfield javax.swing.text.GapContent$RemoveUndo.this$0:Ljavax/swing/text/GapContent;
aconst_null
aload 0 /* this */
getfield javax.swing.text.GapContent$RemoveUndo.offset:I
aload 0 /* this */
getfield javax.swing.text.GapContent$RemoveUndo.length:I
invokevirtual javax.swing.text.GapContent.getPositionsInRange:(Ljava/util/Vector;II)Ljava/util/Vector;
putfield javax.swing.text.GapContent$RemoveUndo.posRefs:Ljava/util/Vector;
3: .line 950
aload 0 /* this */
getfield javax.swing.text.GapContent$RemoveUndo.this$0:Ljavax/swing/text/GapContent;
aload 0 /* this */
getfield javax.swing.text.GapContent$RemoveUndo.offset:I
aload 0 /* this */
getfield javax.swing.text.GapContent$RemoveUndo.length:I
invokevirtual javax.swing.text.GapContent.remove:(II)Ljavax/swing/undo/UndoableEdit;
pop
4: .line 951
goto 7
StackMap locals:
StackMap stack: javax.swing.text.BadLocationException
5: pop
6: .line 952
new javax.swing.undo.CannotRedoException
dup
invokespecial javax.swing.undo.CannotRedoException.<init>:()V
athrow
7: .line 954
StackMap locals:
StackMap stack:
return
end local 0 // javax.swing.text.GapContent$RemoveUndo this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/GapContent$RemoveUndo;
Exception table:
from to target type
1 4 5 Class javax.swing.text.BadLocationException
Exceptions:
throws javax.swing.undo.CannotRedoException
}
SourceFile: "GapContent.java"
NestHost: javax.swing.text.GapContent
InnerClasses:
RemoveUndo = javax.swing.text.GapContent$RemoveUndo of javax.swing.text.GapContent
final UndoPosRef = javax.swing.text.GapContent$UndoPosRef of javax.swing.text.GapContent