class javax.swing.text.DefaultCaret$Handler implements java.beans.PropertyChangeListener, javax.swing.event.DocumentListener, java.awt.event.ActionListener, java.awt.datatransfer.ClipboardOwner
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.DefaultCaret$Handler
super_class: java.lang.Object
{
final javax.swing.text.DefaultCaret this$0;
descriptor: Ljavax/swing/text/DefaultCaret;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(javax.swing.text.DefaultCaret);
descriptor: (Ljavax/swing/text/DefaultCaret;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret$Handler;
MethodParameters:
Name Flags
this$0 final
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.width:I
ifeq 1
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.height:I
ifne 10
1: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
ifnull 10
2: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getUI:()Ljavax/swing/plaf/TextUI;
astore 2
start local 2 3: aload 2
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.dot:I
4: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.dotBias:Ljavax/swing/text/Position$Bias;
5: invokevirtual javax.swing.plaf.TextUI.modelToView:(Ljavax/swing/text/JTextComponent;ILjavax/swing/text/Position$Bias;)Ljava/awt/Rectangle;
astore 3
start local 3 6: aload 3
ifnull 10
aload 3
getfield java.awt.Rectangle.width:I
ifeq 10
aload 3
getfield java.awt.Rectangle.height:I
ifeq 10
7: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
aload 3
invokevirtual javax.swing.text.DefaultCaret.damage:(Ljava/awt/Rectangle;)V
end local 3 8: goto 10
StackMap locals: javax.swing.text.DefaultCaret$Handler java.awt.event.ActionEvent javax.swing.plaf.TextUI
StackMap stack: javax.swing.text.BadLocationException
9: pop
end local 2 10: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.visible:Z
ifeq 11
iconst_0
goto 12
StackMap locals:
StackMap stack: javax.swing.text.DefaultCaret
11: iconst_1
StackMap locals: javax.swing.text.DefaultCaret$Handler java.awt.event.ActionEvent
StackMap stack: javax.swing.text.DefaultCaret int
12: putfield javax.swing.text.DefaultCaret.visible:Z
13: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
invokevirtual javax.swing.text.DefaultCaret.repaint:()V
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/swing/text/DefaultCaret$Handler;
0 15 1 e Ljava/awt/event/ActionEvent;
3 10 2 mapper Ljavax/swing/plaf/TextUI;
6 8 3 r Ljava/awt/Rectangle;
Exception table:
from to target type
3 8 9 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
e
public void insertUpdate(javax.swing.event.DocumentEvent);
descriptor: (Ljavax/swing/event/DocumentEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
invokevirtual javax.swing.text.DefaultCaret.getUpdatePolicy:()I
iconst_1
if_icmpeq 3
1: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
invokevirtual javax.swing.text.DefaultCaret.getUpdatePolicy:()I
ifne 12
2: invokestatic javax.swing.SwingUtilities.isEventDispatchThread:()Z
ifne 12
3: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.swing.event.DocumentEvent.getOffset:()I
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.dot:I
if_icmple 4
aload 1
invokeinterface javax.swing.event.DocumentEvent.getOffset:()I
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.mark:I
if_icmpgt 11
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
ifnull 11
5: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getHighlighter:()Ljavax/swing/text/Highlighter;
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
6: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.dot:I
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.mark:I
invokestatic java.lang.Math.min:(II)I
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.dot:I
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.mark:I
invokestatic java.lang.Math.max:(II)I
7: invokeinterface javax.swing.text.Highlighter.changeHighlight:(Ljava/lang/Object;II)V
8: goto 11
StackMap locals:
StackMap stack: javax.swing.text.BadLocationException
9: astore 2
start local 2 10: aload 2
invokevirtual javax.swing.text.BadLocationException.printStackTrace:()V
end local 2 11: StackMap locals:
StackMap stack:
return
12: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.swing.event.DocumentEvent.getOffset:()I
istore 2
start local 2 13: aload 1
invokeinterface javax.swing.event.DocumentEvent.getLength:()I
istore 3
start local 3 14: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.dot:I
istore 4
start local 4 15: iconst_0
istore 5
start local 5 16: aload 1
instanceof javax.swing.text.AbstractDocument$UndoRedoDocumentEvent
ifeq 19
17: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iload 2
iload 3
iadd
invokevirtual javax.swing.text.DefaultCaret.setDot:(I)V
18: return
19: StackMap locals: javax.swing.text.DefaultCaret$Handler javax.swing.event.DocumentEvent int int int int
StackMap stack:
iload 4
iload 2
if_icmplt 22
20: iload 4
iload 3
iadd
istore 4
21: iload 5
iconst_1
ior
i2s
istore 5
22: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.mark:I
istore 6
start local 6 23: iload 6
iload 2
if_icmplt 26
24: iload 6
iload 3
iadd
istore 6
25: iload 5
iconst_2
ior
i2s
istore 5
26: StackMap locals: int
StackMap stack:
iload 5
ifeq 52
27: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.dotBias:Ljavax/swing/text/Position$Bias;
astore 7
start local 7 28: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.dot:I
iload 2
if_icmpne 44
29: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
astore 8
start local 8 30: new javax.swing.text.Segment
dup
invokespecial javax.swing.text.Segment.<init>:()V
astore 10
start local 10 31: aload 8
iload 4
iconst_1
isub
iconst_1
aload 10
invokeinterface javax.swing.text.Document.getText:(IILjavax/swing/text/Segment;)V
32: aload 10
getfield javax.swing.text.Segment.count:I
ifle 35
33: aload 10
getfield javax.swing.text.Segment.array:[C
aload 10
getfield javax.swing.text.Segment.offset:I
caload
bipush 10
if_icmpne 35
34: iconst_1
goto 36
StackMap locals: javax.swing.text.DefaultCaret$Handler javax.swing.event.DocumentEvent int int int int int javax.swing.text.Position$Bias javax.swing.text.Document top javax.swing.text.Segment
StackMap stack:
35: iconst_0
StackMap locals:
StackMap stack: int
36: istore 9
end local 10 start local 9 37: goto 40
end local 9 StackMap locals: javax.swing.text.DefaultCaret$Handler javax.swing.event.DocumentEvent int int int int int javax.swing.text.Position$Bias javax.swing.text.Document
StackMap stack: javax.swing.text.BadLocationException
38: pop
39: iconst_0
istore 9
start local 9 40: StackMap locals: int
StackMap stack:
iload 9
ifeq 43
41: getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
astore 7
42: goto 44
43: StackMap locals:
StackMap stack:
getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
astore 7
end local 9 end local 8 44: StackMap locals:
StackMap stack:
iload 6
iload 4
if_icmpne 48
45: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iload 4
aload 7
invokevirtual javax.swing.text.DefaultCaret.setDot:(ILjavax/swing/text/Position$Bias;)V
46: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
invokevirtual javax.swing.text.DefaultCaret.ensureValidPosition:()V
47: goto 52
48: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iload 6
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.markBias:Ljavax/swing/text/Position$Bias;
invokevirtual javax.swing.text.DefaultCaret.setDot:(ILjavax/swing/text/Position$Bias;)V
49: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
invokevirtual javax.swing.text.DefaultCaret.getDot:()I
iload 6
if_icmpne 51
50: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iload 4
aload 7
invokevirtual javax.swing.text.DefaultCaret.moveDot:(ILjavax/swing/text/Position$Bias;)V
51: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
invokevirtual javax.swing.text.DefaultCaret.ensureValidPosition:()V
end local 7 52: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 53 0 this Ljavax/swing/text/DefaultCaret$Handler;
0 53 1 e Ljavax/swing/event/DocumentEvent;
10 11 2 e1 Ljavax/swing/text/BadLocationException;
13 53 2 offset I
14 53 3 length I
15 53 4 newDot I
16 53 5 changed S
23 53 6 newMark I
28 52 7 dotBias Ljavax/swing/text/Position$Bias;
30 44 8 doc Ljavax/swing/text/Document;
37 38 9 isNewline Z
40 44 9 isNewline Z
31 37 10 s Ljavax/swing/text/Segment;
Exception table:
from to target type
5 8 9 Class javax.swing.text.BadLocationException
30 37 38 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
e
public void removeUpdate(javax.swing.event.DocumentEvent);
descriptor: (Ljavax/swing/event/DocumentEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
invokevirtual javax.swing.text.DefaultCaret.getUpdatePolicy:()I
iconst_1
if_icmpeq 3
1: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
invokevirtual javax.swing.text.DefaultCaret.getUpdatePolicy:()I
ifne 15
2: invokestatic javax.swing.SwingUtilities.isEventDispatchThread:()Z
ifne 15
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
istore 2
start local 2 4: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.dot:I
iload 2
invokestatic java.lang.Math.min:(II)I
putfield javax.swing.text.DefaultCaret.dot:I
5: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.mark:I
iload 2
invokestatic java.lang.Math.min:(II)I
putfield javax.swing.text.DefaultCaret.mark:I
6: aload 1
invokeinterface javax.swing.event.DocumentEvent.getOffset:()I
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.dot:I
if_icmplt 7
aload 1
invokeinterface javax.swing.event.DocumentEvent.getOffset:()I
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.mark:I
if_icmpge 14
7: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
ifnull 14
8: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getHighlighter:()Ljavax/swing/text/Highlighter;
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
9: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.dot:I
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.mark:I
invokestatic java.lang.Math.min:(II)I
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.dot:I
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.mark:I
invokestatic java.lang.Math.max:(II)I
10: invokeinterface javax.swing.text.Highlighter.changeHighlight:(Ljava/lang/Object;II)V
11: goto 14
StackMap locals:
StackMap stack: javax.swing.text.BadLocationException
12: astore 3
start local 3 13: aload 3
invokevirtual javax.swing.text.BadLocationException.printStackTrace:()V
end local 3 14: StackMap locals:
StackMap stack:
return
end local 2 15: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.swing.event.DocumentEvent.getOffset:()I
istore 2
start local 2 16: iload 2
aload 1
invokeinterface javax.swing.event.DocumentEvent.getLength:()I
iadd
istore 3
start local 3 17: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.dot:I
istore 4
start local 4 18: iconst_0
istore 5
start local 5 19: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.mark:I
istore 6
start local 6 20: iconst_0
istore 7
start local 7 21: aload 1
instanceof javax.swing.text.AbstractDocument$UndoRedoDocumentEvent
ifeq 24
22: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iload 2
invokevirtual javax.swing.text.DefaultCaret.setDot:(I)V
23: return
24: StackMap locals: javax.swing.text.DefaultCaret$Handler javax.swing.event.DocumentEvent int int int int int int
StackMap stack:
iload 4
iload 3
if_icmplt 29
25: iload 4
iload 3
iload 2
isub
isub
istore 4
26: iload 4
iload 3
if_icmpne 32
27: iconst_1
istore 5
28: goto 32
StackMap locals:
StackMap stack:
29: iload 4
iload 2
if_icmplt 32
30: iload 2
istore 4
31: iconst_1
istore 5
32: StackMap locals:
StackMap stack:
iload 6
iload 3
if_icmplt 37
33: iload 6
iload 3
iload 2
isub
isub
istore 6
34: iload 6
iload 3
if_icmpne 40
35: iconst_1
istore 7
36: goto 40
StackMap locals:
StackMap stack:
37: iload 6
iload 2
if_icmplt 40
38: iload 2
istore 6
39: iconst_1
istore 7
40: StackMap locals:
StackMap stack:
iload 6
iload 4
if_icmpne 52
41: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iconst_1
putfield javax.swing.text.DefaultCaret.forceCaretPositionChange:Z
42: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iload 4
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iload 4
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.dotBias:Ljavax/swing/text/Position$Bias;
43: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.dotLTR:Z
44: invokevirtual javax.swing.text.DefaultCaret.guessBiasForOffset:(ILjavax/swing/text/Position$Bias;Z)Ljavax/swing/text/Position$Bias;
invokevirtual javax.swing.text.DefaultCaret.setDot:(ILjavax/swing/text/Position$Bias;)V
45: goto 49
StackMap locals:
StackMap stack: java.lang.Throwable
46: astore 8
47: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iconst_0
putfield javax.swing.text.DefaultCaret.forceCaretPositionChange:Z
48: aload 8
athrow
49: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iconst_0
putfield javax.swing.text.DefaultCaret.forceCaretPositionChange:Z
50: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
invokevirtual javax.swing.text.DefaultCaret.ensureValidPosition:()V
51: goto 62
52: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.dotBias:Ljavax/swing/text/Position$Bias;
astore 8
start local 8 53: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.markBias:Ljavax/swing/text/Position$Bias;
astore 9
start local 9 54: iload 5
ifeq 56
55: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iload 4
aload 8
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.dotLTR:Z
invokevirtual javax.swing.text.DefaultCaret.guessBiasForOffset:(ILjavax/swing/text/Position$Bias;Z)Ljavax/swing/text/Position$Bias;
astore 8
56: StackMap locals: javax.swing.text.Position$Bias javax.swing.text.Position$Bias
StackMap stack:
iload 7
ifeq 58
57: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.mark:I
aload 9
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.markLTR:Z
invokevirtual javax.swing.text.DefaultCaret.guessBiasForOffset:(ILjavax/swing/text/Position$Bias;Z)Ljavax/swing/text/Position$Bias;
astore 9
58: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iload 6
aload 9
invokevirtual javax.swing.text.DefaultCaret.setDot:(ILjavax/swing/text/Position$Bias;)V
59: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
invokevirtual javax.swing.text.DefaultCaret.getDot:()I
iload 6
if_icmpne 61
60: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iload 4
aload 8
invokevirtual javax.swing.text.DefaultCaret.moveDot:(ILjavax/swing/text/Position$Bias;)V
61: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
invokevirtual javax.swing.text.DefaultCaret.ensureValidPosition:()V
end local 9 end local 8 62: StackMap locals:
StackMap stack:
return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 63 0 this Ljavax/swing/text/DefaultCaret$Handler;
0 63 1 e Ljavax/swing/event/DocumentEvent;
4 15 2 length I
13 14 3 e1 Ljavax/swing/text/BadLocationException;
16 63 2 offs0 I
17 63 3 offs1 I
18 63 4 newDot I
19 63 5 adjustDotBias Z
20 63 6 newMark I
21 63 7 adjustMarkBias Z
53 62 8 dotBias Ljavax/swing/text/Position$Bias;
54 62 9 markBias Ljavax/swing/text/Position$Bias;
Exception table:
from to target type
8 11 12 Class javax.swing.text.BadLocationException
42 46 46 any
MethodParameters:
Name Flags
e
public void changedUpdate(javax.swing.event.DocumentEvent);
descriptor: (Ljavax/swing/event/DocumentEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
invokevirtual javax.swing.text.DefaultCaret.getUpdatePolicy:()I
iconst_1
if_icmpeq 3
1: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
invokevirtual javax.swing.text.DefaultCaret.getUpdatePolicy:()I
ifne 4
2: invokestatic javax.swing.SwingUtilities.isEventDispatchThread:()Z
ifne 4
3: StackMap locals:
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 1
instanceof javax.swing.text.AbstractDocument$UndoRedoDocumentEvent
ifeq 6
5: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
aload 1
invokeinterface javax.swing.event.DocumentEvent.getOffset:()I
aload 1
invokeinterface javax.swing.event.DocumentEvent.getLength:()I
iadd
invokevirtual javax.swing.text.DefaultCaret.setDot:(I)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/text/DefaultCaret$Handler;
0 7 1 e Ljavax/swing/event/DocumentEvent;
MethodParameters:
Name Flags
e
public void propertyChange(java.beans.PropertyChangeEvent);
descriptor: (Ljava/beans/PropertyChangeEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.beans.PropertyChangeEvent.getOldValue:()Ljava/lang/Object;
astore 2
start local 2 1: aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
astore 3
start local 3 2: aload 2
instanceof javax.swing.text.Document
ifne 3
aload 3
instanceof javax.swing.text.Document
ifeq 9
3: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iconst_0
invokevirtual javax.swing.text.DefaultCaret.setDot:(I)V
4: aload 2
ifnull 6
5: aload 2
checkcast javax.swing.text.Document
aload 0
invokeinterface javax.swing.text.Document.removeDocumentListener:(Ljavax/swing/event/DocumentListener;)V
6: StackMap locals:
StackMap stack:
aload 3
ifnull 35
7: aload 3
checkcast javax.swing.text.Document
aload 0
invokeinterface javax.swing.text.Document.addDocumentListener:(Ljavax/swing/event/DocumentListener;)V
8: goto 35
StackMap locals:
StackMap stack:
9: ldc "enabled"
aload 1
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
10: aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
astore 4
start local 4 11: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.isFocusOwner:()Z
ifeq 35
12: aload 4
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
if_acmpne 17
13: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.isEditable:()Z
ifeq 15
14: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iconst_1
invokevirtual javax.swing.text.DefaultCaret.setVisible:(Z)V
15: StackMap locals: java.lang.Boolean
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iconst_1
invokevirtual javax.swing.text.DefaultCaret.setSelectionVisible:(Z)V
16: goto 35
17: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iconst_0
invokevirtual javax.swing.text.DefaultCaret.setVisible:(Z)V
18: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iconst_0
invokevirtual javax.swing.text.DefaultCaret.setSelectionVisible:(Z)V
end local 4 19: goto 35
StackMap locals:
StackMap stack:
20: ldc "caretWidth"
aload 1
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
21: aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
checkcast java.lang.Integer
astore 4
start local 4 22: aload 4
ifnull 25
23: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
aload 4
invokevirtual java.lang.Integer.intValue:()I
putfield javax.swing.text.DefaultCaret.caretWidth:I
24: goto 26
25: StackMap locals: java.lang.Integer
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iconst_m1
putfield javax.swing.text.DefaultCaret.caretWidth:I
26: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
invokevirtual javax.swing.text.DefaultCaret.repaint:()V
end local 4 27: goto 35
StackMap locals:
StackMap stack:
28: ldc "caretAspectRatio"
aload 1
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 35
29: aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
checkcast java.lang.Number
astore 4
start local 4 30: aload 4
ifnull 33
31: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
aload 4
invokevirtual java.lang.Number.floatValue:()F
putfield javax.swing.text.DefaultCaret.aspectRatio:F
32: goto 34
33: StackMap locals: java.lang.Number
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
ldc -1.0
putfield javax.swing.text.DefaultCaret.aspectRatio:F
34: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
invokevirtual javax.swing.text.DefaultCaret.repaint:()V
end local 4 35: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Ljavax/swing/text/DefaultCaret$Handler;
0 36 1 evt Ljava/beans/PropertyChangeEvent;
1 36 2 oldValue Ljava/lang/Object;
2 36 3 newValue Ljava/lang/Object;
11 19 4 enabled Ljava/lang/Boolean;
22 27 4 newWidth Ljava/lang/Integer;
30 35 4 newRatio Ljava/lang/Number;
MethodParameters:
Name Flags
evt
public void lostOwnership(java.awt.datatransfer.Clipboard, java.awt.datatransfer.Transferable);
descriptor: (Ljava/awt/datatransfer/Clipboard;Ljava/awt/datatransfer/Transferable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.ownsSelection:Z
ifeq 4
1: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iconst_0
putfield javax.swing.text.DefaultCaret.ownsSelection:Z
2: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
ifnull 4
aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.hasFocus:()Z
ifne 4
3: aload 0
getfield javax.swing.text.DefaultCaret$Handler.this$0:Ljavax/swing/text/DefaultCaret;
iconst_0
invokevirtual javax.swing.text.DefaultCaret.setSelectionVisible:(Z)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/DefaultCaret$Handler;
0 5 1 clipboard Ljava/awt/datatransfer/Clipboard;
0 5 2 contents Ljava/awt/datatransfer/Transferable;
MethodParameters:
Name Flags
clipboard
contents
}
SourceFile: "DefaultCaret.java"
NestHost: javax.swing.text.DefaultCaret
InnerClasses:
UndoRedoDocumentEvent = javax.swing.text.AbstractDocument$UndoRedoDocumentEvent of javax.swing.text.AbstractDocument
Handler = javax.swing.text.DefaultCaret$Handler of javax.swing.text.DefaultCaret
public final Bias = javax.swing.text.Position$Bias of javax.swing.text.Position