class javax.swing.text.StringContent$InsertUndo extends javax.swing.undo.AbstractUndoableEdit
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.StringContent$InsertUndo
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 posRefs;
descriptor: Ljava/util/Vector;
flags: (0x0004) ACC_PROTECTED
final javax.swing.text.StringContent this$0;
descriptor: Ljavax/swing/text/StringContent;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
protected void <init>(javax.swing.text.StringContent, int, int);
descriptor: (Ljavax/swing/text/StringContent;II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 // javax.swing.text.StringContent$InsertUndo this
start local 2 // int offset
start local 3 // int length
0: .line 396
aload 0 /* this */
aload 1
putfield javax.swing.text.StringContent$InsertUndo.this$0:Ljavax/swing/text/StringContent;
1: .line 397
aload 0 /* this */
invokespecial javax.swing.undo.AbstractUndoableEdit.<init>:()V
2: .line 398
aload 0 /* this */
iload 2 /* offset */
putfield javax.swing.text.StringContent$InsertUndo.offset:I
3: .line 399
aload 0 /* this */
iload 3 /* length */
putfield javax.swing.text.StringContent$InsertUndo.length:I
4: .line 400
return
end local 3 // int length
end local 2 // int offset
end local 0 // javax.swing.text.StringContent$InsertUndo this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/StringContent$InsertUndo;
0 5 2 offset I
0 5 3 length I
MethodParameters:
Name Flags
this$0 final
offset
length
public void undo();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 // javax.swing.text.StringContent$InsertUndo this
0: .line 403
aload 0 /* this */
invokespecial javax.swing.undo.AbstractUndoableEdit.undo:()V
1: .line 405
aload 0 /* this */
getfield javax.swing.text.StringContent$InsertUndo.this$0:Ljavax/swing/text/StringContent;
dup
astore 1
monitorenter
2: .line 407
aload 0 /* this */
getfield javax.swing.text.StringContent$InsertUndo.this$0:Ljavax/swing/text/StringContent;
getfield javax.swing.text.StringContent.marks:Ljava/util/Vector;
ifnull 4
3: .line 408
aload 0 /* this */
aload 0 /* this */
getfield javax.swing.text.StringContent$InsertUndo.this$0:Ljavax/swing/text/StringContent;
aconst_null
aload 0 /* this */
getfield javax.swing.text.StringContent$InsertUndo.offset:I
aload 0 /* this */
getfield javax.swing.text.StringContent$InsertUndo.length:I
invokevirtual javax.swing.text.StringContent.getPositionsInRange:(Ljava/util/Vector;II)Ljava/util/Vector;
putfield javax.swing.text.StringContent$InsertUndo.posRefs:Ljava/util/Vector;
4: .line 409
StackMap locals: javax.swing.text.StringContent
StackMap stack:
aload 0 /* this */
aload 0 /* this */
getfield javax.swing.text.StringContent$InsertUndo.this$0:Ljavax/swing/text/StringContent;
aload 0 /* this */
getfield javax.swing.text.StringContent$InsertUndo.offset:I
aload 0 /* this */
getfield javax.swing.text.StringContent$InsertUndo.length:I
invokevirtual javax.swing.text.StringContent.getString:(II)Ljava/lang/String;
putfield javax.swing.text.StringContent$InsertUndo.string:Ljava/lang/String;
5: .line 410
aload 0 /* this */
getfield javax.swing.text.StringContent$InsertUndo.this$0:Ljavax/swing/text/StringContent;
aload 0 /* this */
getfield javax.swing.text.StringContent$InsertUndo.offset:I
aload 0 /* this */
getfield javax.swing.text.StringContent$InsertUndo.length:I
invokevirtual javax.swing.text.StringContent.remove:(II)Ljavax/swing/undo/UndoableEdit;
pop
6: .line 405
aload 1
monitorexit
7: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 1
monitorexit
9: athrow
10: .line 412
StackMap locals: javax.swing.text.StringContent$InsertUndo
StackMap stack: javax.swing.text.BadLocationException
pop
11: .line 413
new javax.swing.undo.CannotUndoException
dup
invokespecial javax.swing.undo.CannotUndoException.<init>:()V
athrow
12: .line 415
StackMap locals:
StackMap stack:
return
end local 0 // javax.swing.text.StringContent$InsertUndo this
LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/text/StringContent$InsertUndo;
Exception table:
from to target type
2 7 8 any
8 9 8 any
1 10 10 Class javax.swing.text.BadLocationException
Exceptions:
throws javax.swing.undo.CannotUndoException
public void redo();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 // javax.swing.text.StringContent$InsertUndo this
0: .line 418
aload 0 /* this */
invokespecial javax.swing.undo.AbstractUndoableEdit.redo:()V
1: .line 420
aload 0 /* this */
getfield javax.swing.text.StringContent$InsertUndo.this$0:Ljavax/swing/text/StringContent;
dup
astore 1
monitorenter
2: .line 421
aload 0 /* this */
getfield javax.swing.text.StringContent$InsertUndo.this$0:Ljavax/swing/text/StringContent;
aload 0 /* this */
getfield javax.swing.text.StringContent$InsertUndo.offset:I
aload 0 /* this */
getfield javax.swing.text.StringContent$InsertUndo.string:Ljava/lang/String;
invokevirtual javax.swing.text.StringContent.insertString:(ILjava/lang/String;)Ljavax/swing/undo/UndoableEdit;
pop
3: .line 422
aload 0 /* this */
aconst_null
putfield javax.swing.text.StringContent$InsertUndo.string:Ljava/lang/String;
4: .line 424
aload 0 /* this */
getfield javax.swing.text.StringContent$InsertUndo.posRefs:Ljava/util/Vector;
ifnull 7
5: .line 425
aload 0 /* this */
getfield javax.swing.text.StringContent$InsertUndo.this$0:Ljavax/swing/text/StringContent;
aload 0 /* this */
getfield javax.swing.text.StringContent$InsertUndo.posRefs:Ljava/util/Vector;
invokevirtual javax.swing.text.StringContent.updateUndoPositions:(Ljava/util/Vector;)V
6: .line 426
aload 0 /* this */
aconst_null
putfield javax.swing.text.StringContent$InsertUndo.posRefs:Ljava/util/Vector;
7: .line 420
StackMap locals: javax.swing.text.StringContent
StackMap stack:
aload 1
monitorexit
8: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: .line 429
StackMap locals: javax.swing.text.StringContent$InsertUndo
StackMap stack: javax.swing.text.BadLocationException
pop
12: .line 430
new javax.swing.undo.CannotRedoException
dup
invokespecial javax.swing.undo.CannotRedoException.<init>:()V
athrow
13: .line 432
StackMap locals:
StackMap stack:
return
end local 0 // javax.swing.text.StringContent$InsertUndo this
LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/text/StringContent$InsertUndo;
Exception table:
from to target type
2 8 9 any
9 10 9 any
1 11 11 Class javax.swing.text.BadLocationException
Exceptions:
throws javax.swing.undo.CannotRedoException
}
SourceFile: "StringContent.java"
NestHost: javax.swing.text.StringContent
InnerClasses:
InsertUndo = javax.swing.text.StringContent$InsertUndo of javax.swing.text.StringContent