public class javax.swing.text.DefaultCaret extends java.awt.Rectangle implements javax.swing.text.Caret, java.awt.event.FocusListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.DefaultCaret
super_class: java.awt.Rectangle
{
public static final int UPDATE_WHEN_ON_EDT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int NEVER_UPDATE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int ALWAYS_UPDATE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
protected javax.swing.event.EventListenerList listenerList;
descriptor: Ljavax/swing/event/EventListenerList;
flags: (0x0004) ACC_PROTECTED
protected transient javax.swing.event.ChangeEvent changeEvent;
descriptor: Ljavax/swing/event/ChangeEvent;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
javax.swing.text.JTextComponent component;
descriptor: Ljavax/swing/text/JTextComponent;
flags: (0x0000)
int updatePolicy;
descriptor: I
flags: (0x0000)
boolean visible;
descriptor: Z
flags: (0x0000)
boolean active;
descriptor: Z
flags: (0x0000)
int dot;
descriptor: I
flags: (0x0000)
int mark;
descriptor: I
flags: (0x0000)
java.lang.Object selectionTag;
descriptor: Ljava/lang/Object;
flags: (0x0000)
boolean selectionVisible;
descriptor: Z
flags: (0x0000)
javax.swing.Timer flasher;
descriptor: Ljavax/swing/Timer;
flags: (0x0000)
java.awt.Point magicCaretPosition;
descriptor: Ljava/awt/Point;
flags: (0x0000)
transient javax.swing.text.Position$Bias dotBias;
descriptor: Ljavax/swing/text/Position$Bias;
flags: (0x0080) ACC_TRANSIENT
transient javax.swing.text.Position$Bias markBias;
descriptor: Ljavax/swing/text/Position$Bias;
flags: (0x0080) ACC_TRANSIENT
boolean dotLTR;
descriptor: Z
flags: (0x0000)
boolean markLTR;
descriptor: Z
flags: (0x0000)
transient javax.swing.text.DefaultCaret$Handler handler;
descriptor: Ljavax/swing/text/DefaultCaret$Handler;
flags: (0x0080) ACC_TRANSIENT
private transient int[] flagXPoints;
descriptor: [I
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient int[] flagYPoints;
descriptor: [I
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient javax.swing.text.NavigationFilter$FilterBypass filterBypass;
descriptor: Ljavax/swing/text/NavigationFilter$FilterBypass;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private static transient javax.swing.Action selectWord;
descriptor: Ljavax/swing/Action;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_TRANSIENT
private static transient javax.swing.Action selectLine;
descriptor: Ljavax/swing/Action;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_TRANSIENT
private boolean ownsSelection;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean forceCaretPositionChange;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private transient boolean shouldHandleRelease;
descriptor: Z
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.awt.event.MouseEvent selectedWordEvent;
descriptor: Ljava/awt/event/MouseEvent;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private int caretWidth;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private float aspectRatio;
descriptor: F
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
putstatic javax.swing.text.DefaultCaret.selectWord:Ljavax/swing/Action;
1: aconst_null
putstatic javax.swing.text.DefaultCaret.selectLine:Ljavax/swing/Action;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.awt.Rectangle.<init>:()V
1: aload 0
new javax.swing.event.EventListenerList
dup
invokespecial javax.swing.event.EventListenerList.<init>:()V
putfield javax.swing.text.DefaultCaret.listenerList:Ljavax/swing/event/EventListenerList;
2: aload 0
aconst_null
putfield javax.swing.text.DefaultCaret.changeEvent:Ljavax/swing/event/ChangeEvent;
3: aload 0
iconst_0
putfield javax.swing.text.DefaultCaret.updatePolicy:I
4: aload 0
new javax.swing.text.DefaultCaret$Handler
dup
aload 0
invokespecial javax.swing.text.DefaultCaret$Handler.<init>:(Ljavax/swing/text/DefaultCaret;)V
putfield javax.swing.text.DefaultCaret.handler:Ljavax/swing/text/DefaultCaret$Handler;
5: aload 0
iconst_3
newarray 10
putfield javax.swing.text.DefaultCaret.flagXPoints:[I
6: aload 0
iconst_3
newarray 10
putfield javax.swing.text.DefaultCaret.flagYPoints:[I
7: aload 0
aconst_null
putfield javax.swing.text.DefaultCaret.selectedWordEvent:Ljava/awt/event/MouseEvent;
8: aload 0
iconst_m1
putfield javax.swing.text.DefaultCaret.caretWidth:I
9: aload 0
ldc -1.0
putfield javax.swing.text.DefaultCaret.aspectRatio:F
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/text/DefaultCaret;
public void setUpdatePolicy(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.text.DefaultCaret.updatePolicy:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultCaret;
0 2 1 policy I
MethodParameters:
Name Flags
policy
public int getUpdatePolicy();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.updatePolicy:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret;
protected final javax.swing.text.JTextComponent getComponent();
descriptor: ()Ljavax/swing/text/JTextComponent;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret;
protected final synchronized void repaint();
descriptor: ()V
flags: (0x0034) ACC_PROTECTED, ACC_FINAL, ACC_SYNCHRONIZED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
ifnull 2
1: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
aload 0
getfield javax.swing.text.DefaultCaret.x:I
aload 0
getfield javax.swing.text.DefaultCaret.y:I
aload 0
getfield javax.swing.text.DefaultCaret.width:I
aload 0
getfield javax.swing.text.DefaultCaret.height:I
invokevirtual javax.swing.text.JTextComponent.repaint:(IIII)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/DefaultCaret;
protected synchronized void damage(java.awt.Rectangle);
descriptor: (Ljava/awt/Rectangle;)V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 7
1: aload 0
aload 1
getfield java.awt.Rectangle.height:I
invokevirtual javax.swing.text.DefaultCaret.getCaretWidth:(I)I
istore 2
start local 2 2: aload 0
aload 1
getfield java.awt.Rectangle.x:I
iconst_4
isub
iload 2
iconst_1
ishr
isub
putfield javax.swing.text.DefaultCaret.x:I
3: aload 0
aload 1
getfield java.awt.Rectangle.y:I
putfield javax.swing.text.DefaultCaret.y:I
4: aload 0
bipush 9
iload 2
iadd
putfield javax.swing.text.DefaultCaret.width:I
5: aload 0
aload 1
getfield java.awt.Rectangle.height:I
putfield javax.swing.text.DefaultCaret.height:I
6: aload 0
invokevirtual javax.swing.text.DefaultCaret.repaint:()V
end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/DefaultCaret;
0 8 1 r Ljava/awt/Rectangle;
2 7 2 damageWidth I
MethodParameters:
Name Flags
r
protected void adjustVisibility(java.awt.Rectangle);
descriptor: (Ljava/awt/Rectangle;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
invokestatic javax.swing.SwingUtilities.isEventDispatchThread:()Z
ifeq 5
3: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
aload 1
invokevirtual javax.swing.text.JTextComponent.scrollRectToVisible:(Ljava/awt/Rectangle;)V
4: goto 6
5: StackMap locals:
StackMap stack:
new javax.swing.text.DefaultCaret$SafeScroller
dup
aload 0
aload 1
invokespecial javax.swing.text.DefaultCaret$SafeScroller.<init>:(Ljavax/swing/text/DefaultCaret;Ljava/awt/Rectangle;)V
invokestatic javax.swing.SwingUtilities.invokeLater:(Ljava/lang/Runnable;)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;
0 7 1 nloc Ljava/awt/Rectangle;
MethodParameters:
Name Flags
nloc
protected javax.swing.text.Highlighter$HighlightPainter getSelectionPainter();
descriptor: ()Ljavax/swing/text/Highlighter$HighlightPainter;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic javax.swing.text.DefaultHighlighter.DefaultPainter:Ljavax/swing/text/LayeredHighlighter$LayerPainter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret;
protected void positionCaret(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new java.awt.Point
dup
aload 1
invokevirtual java.awt.event.MouseEvent.getX:()I
aload 1
invokevirtual java.awt.event.MouseEvent.getY:()I
invokespecial java.awt.Point.<init>:(II)V
astore 2
start local 2 1: iconst_1
anewarray javax.swing.text.Position$Bias
astore 3
start local 3 2: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getUI:()Ljavax/swing/plaf/TextUI;
aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
aload 2
aload 3
invokevirtual javax.swing.plaf.TextUI.viewToModel:(Ljavax/swing/text/JTextComponent;Ljava/awt/Point;[Ljavax/swing/text/Position$Bias;)I
istore 4
start local 4 3: aload 3
iconst_0
aaload
ifnonnull 5
4: aload 3
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
5: StackMap locals: java.awt.Point javax.swing.text.Position$Bias[] int
StackMap stack:
iload 4
iflt 7
6: aload 0
iload 4
aload 3
iconst_0
aaload
invokevirtual javax.swing.text.DefaultCaret.setDot:(ILjavax/swing/text/Position$Bias;)V
7: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/DefaultCaret;
0 8 1 e Ljava/awt/event/MouseEvent;
1 8 2 pt Ljava/awt/Point;
2 8 3 biasRet [Ljavax/swing/text/Position$Bias;
3 8 4 pos I
MethodParameters:
Name Flags
e
protected void moveCaret(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new java.awt.Point
dup
aload 1
invokevirtual java.awt.event.MouseEvent.getX:()I
aload 1
invokevirtual java.awt.event.MouseEvent.getY:()I
invokespecial java.awt.Point.<init>:(II)V
astore 2
start local 2 1: iconst_1
anewarray javax.swing.text.Position$Bias
astore 3
start local 3 2: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getUI:()Ljavax/swing/plaf/TextUI;
aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
aload 2
aload 3
invokevirtual javax.swing.plaf.TextUI.viewToModel:(Ljavax/swing/text/JTextComponent;Ljava/awt/Point;[Ljavax/swing/text/Position$Bias;)I
istore 4
start local 4 3: aload 3
iconst_0
aaload
ifnonnull 5
4: aload 3
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
5: StackMap locals: java.awt.Point javax.swing.text.Position$Bias[] int
StackMap stack:
iload 4
iflt 7
6: aload 0
iload 4
aload 3
iconst_0
aaload
invokevirtual javax.swing.text.DefaultCaret.moveDot:(ILjavax/swing/text/Position$Bias;)V
7: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/DefaultCaret;
0 8 1 e Ljava/awt/event/MouseEvent;
1 8 2 pt Ljava/awt/Point;
2 8 3 biasRet [Ljavax/swing/text/Position$Bias;
3 8 4 pos I
MethodParameters:
Name Flags
e
public void focusGained(java.awt.event.FocusEvent);
descriptor: (Ljava/awt/event/FocusEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.isEnabled:()Z
ifeq 5
1: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.isEditable:()Z
ifeq 3
2: aload 0
iconst_1
invokevirtual javax.swing.text.DefaultCaret.setVisible:(Z)V
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual javax.swing.text.DefaultCaret.setSelectionVisible:(Z)V
4: aload 0
invokevirtual javax.swing.text.DefaultCaret.updateSystemSelection:()V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/DefaultCaret;
0 6 1 e Ljava/awt/event/FocusEvent;
MethodParameters:
Name Flags
e
public void focusLost(java.awt.event.FocusEvent);
descriptor: (Ljava/awt/event/FocusEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
invokevirtual javax.swing.text.DefaultCaret.setVisible:(Z)V
1: aload 0
aload 1
invokevirtual java.awt.event.FocusEvent.getCause:()Ljava/awt/event/FocusEvent$Cause;
getstatic java.awt.event.FocusEvent$Cause.ACTIVATION:Ljava/awt/event/FocusEvent$Cause;
if_acmpeq 3
2: aload 1
invokevirtual java.awt.event.FocusEvent.getOppositeComponent:()Ljava/awt/Component;
instanceof javax.swing.JRootPane
ifeq 5
3: StackMap locals:
StackMap stack: javax.swing.text.DefaultCaret
aload 0
getfield javax.swing.text.DefaultCaret.ownsSelection:Z
ifne 4
aload 1
invokevirtual java.awt.event.FocusEvent.isTemporary:()Z
ifeq 5
StackMap locals:
StackMap stack: javax.swing.text.DefaultCaret
4: iconst_1
goto 6
StackMap locals:
StackMap stack: javax.swing.text.DefaultCaret
5: iconst_0
6: StackMap locals: javax.swing.text.DefaultCaret java.awt.event.FocusEvent
StackMap stack: javax.swing.text.DefaultCaret int
invokevirtual javax.swing.text.DefaultCaret.setSelectionVisible:(Z)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/DefaultCaret;
0 8 1 e Ljava/awt/event/FocusEvent;
MethodParameters:
Name Flags
e
private void selectWord(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.DefaultCaret.selectedWordEvent:Ljava/awt/event/MouseEvent;
ifnull 4
1: aload 0
getfield javax.swing.text.DefaultCaret.selectedWordEvent:Ljava/awt/event/MouseEvent;
invokevirtual java.awt.event.MouseEvent.getX:()I
aload 1
invokevirtual java.awt.event.MouseEvent.getX:()I
if_icmpne 4
2: aload 0
getfield javax.swing.text.DefaultCaret.selectedWordEvent:Ljava/awt/event/MouseEvent;
invokevirtual java.awt.event.MouseEvent.getY:()I
aload 1
invokevirtual java.awt.event.MouseEvent.getY:()I
if_icmpne 4
3: return
4: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 5: aload 0
invokevirtual javax.swing.text.DefaultCaret.getComponent:()Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getActionMap:()Ljavax/swing/ActionMap;
astore 3
start local 3 6: aload 3
ifnull 8
7: aload 3
ldc "select-word"
invokevirtual javax.swing.ActionMap.get:(Ljava/lang/Object;)Ljavax/swing/Action;
astore 2
8: StackMap locals: javax.swing.Action javax.swing.ActionMap
StackMap stack:
aload 2
ifnonnull 12
9: getstatic javax.swing.text.DefaultCaret.selectWord:Ljavax/swing/Action;
ifnonnull 11
10: new javax.swing.text.DefaultEditorKit$SelectWordAction
dup
invokespecial javax.swing.text.DefaultEditorKit$SelectWordAction.<init>:()V
putstatic javax.swing.text.DefaultCaret.selectWord:Ljavax/swing/Action;
11: StackMap locals:
StackMap stack:
getstatic javax.swing.text.DefaultCaret.selectWord:Ljavax/swing/Action;
astore 2
12: StackMap locals:
StackMap stack:
aload 2
new java.awt.event.ActionEvent
dup
aload 0
invokevirtual javax.swing.text.DefaultCaret.getComponent:()Ljavax/swing/text/JTextComponent;
13: sipush 1001
aconst_null
aload 1
invokevirtual java.awt.event.MouseEvent.getWhen:()J
aload 1
invokevirtual java.awt.event.MouseEvent.getModifiers:()I
invokespecial java.awt.event.ActionEvent.<init>:(Ljava/lang/Object;ILjava/lang/String;JI)V
14: invokeinterface javax.swing.Action.actionPerformed:(Ljava/awt/event/ActionEvent;)V
15: aload 0
aload 1
putfield javax.swing.text.DefaultCaret.selectedWordEvent:Ljava/awt/event/MouseEvent;
16: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/swing/text/DefaultCaret;
0 17 1 e Ljava/awt/event/MouseEvent;
5 17 2 a Ljavax/swing/Action;
6 17 3 map Ljavax/swing/ActionMap;
MethodParameters:
Name Flags
e
public void mouseClicked(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.DefaultCaret.getComponent:()Ljavax/swing/text/JTextComponent;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultCaret.getComponent:()Ljavax/swing/text/JTextComponent;
aload 1
invokestatic sun.swing.SwingUtilities2.getAdjustedClickCount:(Ljavax/swing/text/JTextComponent;Ljava/awt/event/MouseEvent;)I
istore 2
start local 2 3: aload 1
invokevirtual java.awt.event.MouseEvent.isConsumed:()Z
ifne 48
4: aload 1
invokestatic javax.swing.SwingUtilities.isLeftMouseButton:(Ljava/awt/event/MouseEvent;)Z
ifeq 27
5: iload 2
iconst_1
if_icmpne 8
6: aload 0
aconst_null
putfield javax.swing.text.DefaultCaret.selectedWordEvent:Ljava/awt/event/MouseEvent;
7: goto 48
StackMap locals: int
StackMap stack:
8: iload 2
iconst_2
if_icmpne 13
9: aload 1
invokestatic sun.swing.SwingUtilities2.canEventAccessSystemClipboard:(Ljava/awt/AWTEvent;)Z
ifeq 13
10: aload 0
aload 1
invokevirtual javax.swing.text.DefaultCaret.selectWord:(Ljava/awt/event/MouseEvent;)V
11: aload 0
aconst_null
putfield javax.swing.text.DefaultCaret.selectedWordEvent:Ljava/awt/event/MouseEvent;
12: goto 48
StackMap locals:
StackMap stack:
13: iload 2
iconst_3
if_icmpne 48
14: aload 1
invokestatic sun.swing.SwingUtilities2.canEventAccessSystemClipboard:(Ljava/awt/AWTEvent;)Z
ifeq 48
15: aconst_null
astore 3
start local 3 16: aload 0
invokevirtual javax.swing.text.DefaultCaret.getComponent:()Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getActionMap:()Ljavax/swing/ActionMap;
astore 4
start local 4 17: aload 4
ifnull 19
18: aload 4
ldc "select-line"
invokevirtual javax.swing.ActionMap.get:(Ljava/lang/Object;)Ljavax/swing/Action;
astore 3
19: StackMap locals: javax.swing.Action javax.swing.ActionMap
StackMap stack:
aload 3
ifnonnull 23
20: getstatic javax.swing.text.DefaultCaret.selectLine:Ljavax/swing/Action;
ifnonnull 22
21: new javax.swing.text.DefaultEditorKit$SelectLineAction
dup
invokespecial javax.swing.text.DefaultEditorKit$SelectLineAction.<init>:()V
putstatic javax.swing.text.DefaultCaret.selectLine:Ljavax/swing/Action;
22: StackMap locals:
StackMap stack:
getstatic javax.swing.text.DefaultCaret.selectLine:Ljavax/swing/Action;
astore 3
23: StackMap locals:
StackMap stack:
aload 3
new java.awt.event.ActionEvent
dup
aload 0
invokevirtual javax.swing.text.DefaultCaret.getComponent:()Ljavax/swing/text/JTextComponent;
24: sipush 1001
aconst_null
aload 1
invokevirtual java.awt.event.MouseEvent.getWhen:()J
aload 1
invokevirtual java.awt.event.MouseEvent.getModifiers:()I
invokespecial java.awt.event.ActionEvent.<init>:(Ljava/lang/Object;ILjava/lang/String;JI)V
25: invokeinterface javax.swing.Action.actionPerformed:(Ljava/awt/event/ActionEvent;)V
end local 4 end local 3 26: goto 48
StackMap locals:
StackMap stack:
27: aload 1
invokestatic javax.swing.SwingUtilities.isMiddleMouseButton:(Ljava/awt/event/MouseEvent;)Z
ifeq 48
28: iload 2
iconst_1
if_icmpne 48
aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.isEditable:()Z
ifeq 48
aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.isEnabled:()Z
ifeq 48
29: aload 1
invokestatic sun.swing.SwingUtilities2.canEventAccessSystemClipboard:(Ljava/awt/AWTEvent;)Z
ifeq 48
30: aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.text.JTextComponent
astore 3
start local 3 31: aload 3
ifnull 48
32: aload 3
invokevirtual javax.swing.text.JTextComponent.getToolkit:()Ljava/awt/Toolkit;
astore 4
start local 4 33: aload 4
invokevirtual java.awt.Toolkit.getSystemSelection:()Ljava/awt/datatransfer/Clipboard;
astore 5
start local 5 34: aload 5
ifnull 48
35: aload 0
aload 1
invokevirtual javax.swing.text.DefaultCaret.adjustCaret:(Ljava/awt/event/MouseEvent;)V
36: aload 3
invokevirtual javax.swing.text.JTextComponent.getTransferHandler:()Ljavax/swing/TransferHandler;
astore 6
start local 6 37: aload 6
ifnull 45
38: aconst_null
astore 7
start local 7 39: aload 5
aconst_null
invokevirtual java.awt.datatransfer.Clipboard.getContents:(Ljava/lang/Object;)Ljava/awt/datatransfer/Transferable;
astore 7
40: goto 43
StackMap locals: javax.swing.text.DefaultCaret java.awt.event.MouseEvent int javax.swing.text.JTextComponent java.awt.Toolkit java.awt.datatransfer.Clipboard javax.swing.TransferHandler java.awt.datatransfer.Transferable
StackMap stack: java.lang.IllegalStateException
41: pop
42: invokestatic javax.swing.UIManager.getLookAndFeel:()Ljavax/swing/LookAndFeel;
aload 3
invokevirtual javax.swing.LookAndFeel.provideErrorFeedback:(Ljava/awt/Component;)V
43: StackMap locals:
StackMap stack:
aload 7
ifnull 45
44: aload 6
aload 3
aload 7
invokevirtual javax.swing.TransferHandler.importData:(Ljavax/swing/JComponent;Ljava/awt/datatransfer/Transferable;)Z
pop
end local 7 45: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual javax.swing.text.DefaultCaret.adjustFocus:(Z)V
end local 6 end local 5 end local 4 46: goto 48
StackMap locals: javax.swing.text.DefaultCaret java.awt.event.MouseEvent int javax.swing.text.JTextComponent
StackMap stack: java.awt.HeadlessException
47: pop
end local 3 48: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 49 0 this Ljavax/swing/text/DefaultCaret;
0 49 1 e Ljava/awt/event/MouseEvent;
3 49 2 nclicks I
16 26 3 a Ljavax/swing/Action;
17 26 4 map Ljavax/swing/ActionMap;
31 48 3 c Ljavax/swing/text/JTextComponent;
33 46 4 tk Ljava/awt/Toolkit;
34 46 5 buffer Ljava/awt/datatransfer/Clipboard;
37 46 6 th Ljavax/swing/TransferHandler;
39 45 7 trans Ljava/awt/datatransfer/Transferable;
Exception table:
from to target type
39 40 41 Class java.lang.IllegalStateException
32 46 47 Class java.awt.HeadlessException
MethodParameters:
Name Flags
e
public void mousePressed(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.DefaultCaret.getComponent:()Ljavax/swing/text/JTextComponent;
aload 1
invokestatic sun.swing.SwingUtilities2.getAdjustedClickCount:(Ljavax/swing/text/JTextComponent;Ljava/awt/event/MouseEvent;)I
istore 2
start local 2 1: aload 1
invokestatic javax.swing.SwingUtilities.isLeftMouseButton:(Ljava/awt/event/MouseEvent;)Z
ifeq 10
2: aload 1
invokevirtual java.awt.event.MouseEvent.isConsumed:()Z
ifeq 5
3: aload 0
iconst_1
putfield javax.swing.text.DefaultCaret.shouldHandleRelease:Z
4: goto 10
5: StackMap locals: int
StackMap stack:
aload 0
iconst_0
putfield javax.swing.text.DefaultCaret.shouldHandleRelease:Z
6: aload 0
aload 1
invokevirtual javax.swing.text.DefaultCaret.adjustCaretAndFocus:(Ljava/awt/event/MouseEvent;)V
7: iload 2
iconst_2
if_icmpne 10
8: aload 1
invokestatic sun.swing.SwingUtilities2.canEventAccessSystemClipboard:(Ljava/awt/AWTEvent;)Z
ifeq 10
9: aload 0
aload 1
invokevirtual javax.swing.text.DefaultCaret.selectWord:(Ljava/awt/event/MouseEvent;)V
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/text/DefaultCaret;
0 11 1 e Ljava/awt/event/MouseEvent;
1 11 2 nclicks I
MethodParameters:
Name Flags
e
void adjustCaretAndFocus(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.text.DefaultCaret.adjustCaret:(Ljava/awt/event/MouseEvent;)V
1: aload 0
iconst_0
invokevirtual javax.swing.text.DefaultCaret.adjustFocus:(Z)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/DefaultCaret;
0 3 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
private void adjustCaret(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.getModifiers:()I
iconst_1
iand
ifeq 4
1: aload 0
invokevirtual javax.swing.text.DefaultCaret.getDot:()I
iconst_m1
if_icmpeq 4
2: aload 0
aload 1
invokevirtual javax.swing.text.DefaultCaret.moveCaret:(Ljava/awt/event/MouseEvent;)V
3: goto 6
StackMap locals:
StackMap stack:
4: aload 1
invokevirtual java.awt.event.MouseEvent.isPopupTrigger:()Z
ifne 6
5: aload 0
aload 1
invokevirtual javax.swing.text.DefaultCaret.positionCaret:(Ljava/awt/event/MouseEvent;)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;
0 7 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
private void adjustFocus(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
ifnull 6
aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.isEnabled:()Z
ifeq 6
1: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.isRequestFocusEnabled:()Z
ifeq 6
2: iload 1
ifeq 5
3: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.requestFocusInWindow:()Z
pop
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.requestFocus:()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;
0 7 1 inWindow Z
MethodParameters:
Name Flags
inWindow
public void mouseReleased(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.isConsumed:()Z
ifne 4
1: aload 0
getfield javax.swing.text.DefaultCaret.shouldHandleRelease:Z
ifeq 4
2: aload 1
invokestatic javax.swing.SwingUtilities.isLeftMouseButton:(Ljava/awt/event/MouseEvent;)Z
ifeq 4
3: aload 0
aload 1
invokevirtual javax.swing.text.DefaultCaret.adjustCaretAndFocus:(Ljava/awt/event/MouseEvent;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/DefaultCaret;
0 5 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
public void mouseEntered(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret;
0 1 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
public void mouseExited(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret;
0 1 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
public void mouseDragged(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.isConsumed:()Z
ifne 2
aload 1
invokestatic javax.swing.SwingUtilities.isLeftMouseButton:(Ljava/awt/event/MouseEvent;)Z
ifeq 2
1: aload 0
aload 1
invokevirtual javax.swing.text.DefaultCaret.moveCaret:(Ljava/awt/event/MouseEvent;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/DefaultCaret;
0 3 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
public void mouseMoved(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret;
0 1 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
public void paint(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.DefaultCaret.isVisible:()Z
ifeq 32
1: aload 0
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 2: aload 2
aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
aload 0
getfield javax.swing.text.DefaultCaret.dot:I
aload 0
getfield javax.swing.text.DefaultCaret.dotBias:Ljavax/swing/text/Position$Bias;
invokevirtual javax.swing.plaf.TextUI.modelToView:(Ljavax/swing/text/JTextComponent;ILjavax/swing/text/Position$Bias;)Ljava/awt/Rectangle;
astore 3
start local 3 3: aload 3
ifnull 4
aload 3
getfield java.awt.Rectangle.width:I
ifne 5
aload 3
getfield java.awt.Rectangle.height:I
ifne 5
4: StackMap locals: javax.swing.plaf.TextUI java.awt.Rectangle
StackMap stack:
return
5: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret.width:I
ifle 11
aload 0
getfield javax.swing.text.DefaultCaret.height:I
ifle 11
6: aload 0
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.y:I
aload 3
getfield java.awt.Rectangle.width:I
aload 3
getfield java.awt.Rectangle.height:I
invokevirtual javax.swing.text.DefaultCaret._contains:(IIII)Z
ifne 11
7: aload 1
invokevirtual java.awt.Graphics.getClipBounds:()Ljava/awt/Rectangle;
astore 4
start local 4 8: aload 4
ifnull 10
aload 4
aload 0
invokevirtual java.awt.Rectangle.contains:(Ljava/awt/Rectangle;)Z
ifne 10
9: aload 0
invokevirtual javax.swing.text.DefaultCaret.repaint:()V
10: StackMap locals: java.awt.Rectangle
StackMap stack:
aload 0
aload 3
invokevirtual javax.swing.text.DefaultCaret.damage:(Ljava/awt/Rectangle;)V
end local 4 11: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getCaretColor:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
12: aload 0
aload 3
getfield java.awt.Rectangle.height:I
invokevirtual javax.swing.text.DefaultCaret.getCaretWidth:(I)I
istore 4
start local 4 13: aload 3
dup
getfield java.awt.Rectangle.x:I
iload 4
iconst_1
ishr
isub
putfield java.awt.Rectangle.x:I
14: aload 1
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.y:I
iload 4
aload 3
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
15: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
astore 5
start local 5 16: aload 5
instanceof javax.swing.text.AbstractDocument
ifeq 32
17: aload 5
checkcast javax.swing.text.AbstractDocument
invokevirtual javax.swing.text.AbstractDocument.getBidiRootElement:()Ljavax/swing/text/Element;
astore 6
start local 6 18: aload 6
ifnull 32
aload 6
invokeinterface javax.swing.text.Element.getElementCount:()I
iconst_1
if_icmple 32
19: aload 0
getfield javax.swing.text.DefaultCaret.flagXPoints:[I
iconst_0
aload 3
getfield java.awt.Rectangle.x:I
aload 0
getfield javax.swing.text.DefaultCaret.dotLTR:Z
ifeq 20
iload 4
goto 21
StackMap locals: javax.swing.text.DefaultCaret java.awt.Graphics javax.swing.plaf.TextUI java.awt.Rectangle int javax.swing.text.Document javax.swing.text.Element
StackMap stack: int[] int int
20: iconst_0
StackMap locals: javax.swing.text.DefaultCaret java.awt.Graphics javax.swing.plaf.TextUI java.awt.Rectangle int javax.swing.text.Document javax.swing.text.Element
StackMap stack: int[] int int int
21: iadd
iastore
22: aload 0
getfield javax.swing.text.DefaultCaret.flagYPoints:[I
iconst_0
aload 3
getfield java.awt.Rectangle.y:I
iastore
23: aload 0
getfield javax.swing.text.DefaultCaret.flagXPoints:[I
iconst_1
aload 0
getfield javax.swing.text.DefaultCaret.flagXPoints:[I
iconst_0
iaload
iastore
24: aload 0
getfield javax.swing.text.DefaultCaret.flagYPoints:[I
iconst_1
aload 0
getfield javax.swing.text.DefaultCaret.flagYPoints:[I
iconst_0
iaload
iconst_4
iadd
iastore
25: aload 0
getfield javax.swing.text.DefaultCaret.flagXPoints:[I
iconst_2
aload 0
getfield javax.swing.text.DefaultCaret.flagXPoints:[I
iconst_0
iaload
aload 0
getfield javax.swing.text.DefaultCaret.dotLTR:Z
ifeq 26
iconst_4
goto 27
StackMap locals: javax.swing.text.DefaultCaret java.awt.Graphics javax.swing.plaf.TextUI java.awt.Rectangle int javax.swing.text.Document javax.swing.text.Element
StackMap stack: int[] int int
26: bipush -4
StackMap locals: javax.swing.text.DefaultCaret java.awt.Graphics javax.swing.plaf.TextUI java.awt.Rectangle int javax.swing.text.Document javax.swing.text.Element
StackMap stack: int[] int int int
27: iadd
iastore
28: aload 0
getfield javax.swing.text.DefaultCaret.flagYPoints:[I
iconst_2
aload 0
getfield javax.swing.text.DefaultCaret.flagYPoints:[I
iconst_0
iaload
iastore
29: aload 1
aload 0
getfield javax.swing.text.DefaultCaret.flagXPoints:[I
aload 0
getfield javax.swing.text.DefaultCaret.flagYPoints:[I
iconst_3
invokevirtual java.awt.Graphics.fillPolygon:([I[II)V
end local 6 end local 5 end local 4 end local 3 end local 2 30: goto 32
StackMap locals: javax.swing.text.DefaultCaret java.awt.Graphics
StackMap stack: javax.swing.text.BadLocationException
31: pop
32: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Ljavax/swing/text/DefaultCaret;
0 33 1 g Ljava/awt/Graphics;
2 30 2 mapper Ljavax/swing/plaf/TextUI;
3 30 3 r Ljava/awt/Rectangle;
8 11 4 clip Ljava/awt/Rectangle;
13 30 4 paintWidth I
16 30 5 doc Ljavax/swing/text/Document;
18 30 6 bidi Ljavax/swing/text/Element;
Exception table:
from to target type
1 4 31 Class javax.swing.text.BadLocationException
5 30 31 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
g
public void install(javax.swing.text.JTextComponent);
descriptor: (Ljavax/swing/text/JTextComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
1: aload 1
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
astore 2
start local 2 2: aload 0
aload 0
iconst_0
dup_x1
putfield javax.swing.text.DefaultCaret.mark:I
putfield javax.swing.text.DefaultCaret.dot:I
3: aload 0
aload 0
iconst_1
dup_x1
putfield javax.swing.text.DefaultCaret.markLTR:Z
putfield javax.swing.text.DefaultCaret.dotLTR:Z
4: aload 0
aload 0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
dup_x1
putfield javax.swing.text.DefaultCaret.markBias:Ljavax/swing/text/Position$Bias;
putfield javax.swing.text.DefaultCaret.dotBias:Ljavax/swing/text/Position$Bias;
5: aload 2
ifnull 7
6: aload 2
aload 0
getfield javax.swing.text.DefaultCaret.handler:Ljavax/swing/text/DefaultCaret$Handler;
invokeinterface javax.swing.text.Document.addDocumentListener:(Ljavax/swing/event/DocumentListener;)V
7: StackMap locals: javax.swing.text.Document
StackMap stack:
aload 1
aload 0
getfield javax.swing.text.DefaultCaret.handler:Ljavax/swing/text/DefaultCaret$Handler;
invokevirtual javax.swing.text.JTextComponent.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
8: aload 1
aload 0
invokevirtual javax.swing.text.JTextComponent.addFocusListener:(Ljava/awt/event/FocusListener;)V
9: aload 1
aload 0
invokevirtual javax.swing.text.JTextComponent.addMouseListener:(Ljava/awt/event/MouseListener;)V
10: aload 1
aload 0
invokevirtual javax.swing.text.JTextComponent.addMouseMotionListener:(Ljava/awt/event/MouseMotionListener;)V
11: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.hasFocus:()Z
ifeq 13
12: aload 0
aconst_null
invokevirtual javax.swing.text.DefaultCaret.focusGained:(Ljava/awt/event/FocusEvent;)V
13: StackMap locals:
StackMap stack:
aload 1
ldc "caretAspectRatio"
invokevirtual javax.swing.text.JTextComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Number
astore 3
start local 3 14: aload 3
ifnull 17
15: aload 0
aload 3
invokevirtual java.lang.Number.floatValue:()F
putfield javax.swing.text.DefaultCaret.aspectRatio:F
16: goto 18
17: StackMap locals: java.lang.Number
StackMap stack:
aload 0
ldc -1.0
putfield javax.swing.text.DefaultCaret.aspectRatio:F
18: StackMap locals:
StackMap stack:
aload 1
ldc "caretWidth"
invokevirtual javax.swing.text.JTextComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 4
start local 4 19: aload 4
ifnull 22
20: aload 0
aload 4
invokevirtual java.lang.Integer.intValue:()I
putfield javax.swing.text.DefaultCaret.caretWidth:I
21: goto 23
22: StackMap locals: java.lang.Integer
StackMap stack:
aload 0
iconst_m1
putfield javax.swing.text.DefaultCaret.caretWidth:I
23: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljavax/swing/text/DefaultCaret;
0 24 1 c Ljavax/swing/text/JTextComponent;
2 24 2 doc Ljavax/swing/text/Document;
14 24 3 ratio Ljava/lang/Number;
19 24 4 width Ljava/lang/Integer;
MethodParameters:
Name Flags
c
public void deinstall(javax.swing.text.JTextComponent);
descriptor: (Ljavax/swing/text/JTextComponent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual javax.swing.text.JTextComponent.removeMouseListener:(Ljava/awt/event/MouseListener;)V
1: aload 1
aload 0
invokevirtual javax.swing.text.JTextComponent.removeMouseMotionListener:(Ljava/awt/event/MouseMotionListener;)V
2: aload 1
aload 0
invokevirtual javax.swing.text.JTextComponent.removeFocusListener:(Ljava/awt/event/FocusListener;)V
3: aload 1
aload 0
getfield javax.swing.text.DefaultCaret.handler:Ljavax/swing/text/DefaultCaret$Handler;
invokevirtual javax.swing.text.JTextComponent.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
4: aload 1
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
astore 2
start local 2 5: aload 2
ifnull 7
6: aload 2
aload 0
getfield javax.swing.text.DefaultCaret.handler:Ljavax/swing/text/DefaultCaret$Handler;
invokeinterface javax.swing.text.Document.removeDocumentListener:(Ljavax/swing/event/DocumentListener;)V
7: StackMap locals: javax.swing.text.Document
StackMap stack:
aload 0
dup
astore 3
monitorenter
8: aload 0
aconst_null
putfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
9: aload 3
monitorexit
10: goto 13
StackMap locals: javax.swing.text.DefaultCaret javax.swing.text.JTextComponent javax.swing.text.Document javax.swing.text.DefaultCaret
StackMap stack: java.lang.Throwable
11: aload 3
monitorexit
12: athrow
13: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret.flasher:Ljavax/swing/Timer;
ifnull 15
14: aload 0
getfield javax.swing.text.DefaultCaret.flasher:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.stop:()V
15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/text/DefaultCaret;
0 16 1 c Ljavax/swing/text/JTextComponent;
5 16 2 doc Ljavax/swing/text/Document;
Exception table:
from to target type
8 10 11 any
11 12 11 any
MethodParameters:
Name Flags
c
public void addChangeListener(javax.swing.event.ChangeListener);
descriptor: (Ljavax/swing/event/ChangeListener;)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.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/ChangeListener;
aload 1
invokevirtual javax.swing.event.EventListenerList.add:(Ljava/lang/Class;Ljava/util/EventListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultCaret;
0 2 1 l Ljavax/swing/event/ChangeListener;
MethodParameters:
Name Flags
l
public void removeChangeListener(javax.swing.event.ChangeListener);
descriptor: (Ljavax/swing/event/ChangeListener;)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.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/ChangeListener;
aload 1
invokevirtual javax.swing.event.EventListenerList.remove:(Ljava/lang/Class;Ljava/util/EventListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultCaret;
0 2 1 l Ljavax/swing/event/ChangeListener;
MethodParameters:
Name Flags
l
public javax.swing.event.ChangeListener[] getChangeListeners();
descriptor: ()[Ljavax/swing/event/ChangeListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/ChangeListener;
invokevirtual javax.swing.event.EventListenerList.getListeners:(Ljava/lang/Class;)[Ljava/util/EventListener;
checkcast javax.swing.event.ChangeListener[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret;
protected void fireStateChanged();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.listenerList:Ljavax/swing/event/EventListenerList;
invokevirtual javax.swing.event.EventListenerList.getListenerList:()[Ljava/lang/Object;
astore 1
start local 1 1: aload 1
arraylength
iconst_2
isub
istore 2
start local 2 2: goto 8
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 1
iload 2
aaload
ldc Ljavax/swing/event/ChangeListener;
if_acmpne 7
4: aload 0
getfield javax.swing.text.DefaultCaret.changeEvent:Ljavax/swing/event/ChangeEvent;
ifnonnull 6
5: aload 0
new javax.swing.event.ChangeEvent
dup
aload 0
invokespecial javax.swing.event.ChangeEvent.<init>:(Ljava/lang/Object;)V
putfield javax.swing.text.DefaultCaret.changeEvent:Ljavax/swing/event/ChangeEvent;
6: StackMap locals:
StackMap stack:
aload 1
iload 2
iconst_1
iadd
aaload
checkcast javax.swing.event.ChangeListener
aload 0
getfield javax.swing.text.DefaultCaret.changeEvent:Ljavax/swing/event/ChangeEvent;
invokeinterface javax.swing.event.ChangeListener.stateChanged:(Ljavax/swing/event/ChangeEvent;)V
7: StackMap locals:
StackMap stack:
iinc 2 -2
StackMap locals:
StackMap stack:
8: iload 2
ifge 3
end local 2 9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/text/DefaultCaret;
1 10 1 listeners [Ljava/lang/Object;
2 9 2 i I
public <T extends java.util.EventListener> T[] getListeners(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)[Ljava/util/EventListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.DefaultCaret.listenerList:Ljavax/swing/event/EventListenerList;
aload 1
invokevirtual javax.swing.event.EventListenerList.getListeners:(Ljava/lang/Class;)[Ljava/util/EventListener;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret;
0 1 1 listenerType Ljava/lang/Class<TT;>;
Signature: <T::Ljava/util/EventListener;>(Ljava/lang/Class<TT;>;)[TT;
MethodParameters:
Name Flags
listenerType
public void setSelectionVisible(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield javax.swing.text.DefaultCaret.selectionVisible:Z
if_icmpeq 17
1: aload 0
iload 1
putfield javax.swing.text.DefaultCaret.selectionVisible:Z
2: aload 0
getfield javax.swing.text.DefaultCaret.selectionVisible:Z
ifeq 13
3: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getHighlighter:()Ljavax/swing/text/Highlighter;
astore 2
start local 2 4: aload 0
getfield javax.swing.text.DefaultCaret.dot:I
aload 0
getfield javax.swing.text.DefaultCaret.mark:I
if_icmpeq 17
aload 2
ifnull 17
aload 0
getfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
ifnonnull 17
5: aload 0
getfield javax.swing.text.DefaultCaret.dot:I
aload 0
getfield javax.swing.text.DefaultCaret.mark:I
invokestatic java.lang.Math.min:(II)I
istore 3
start local 3 6: aload 0
getfield javax.swing.text.DefaultCaret.dot:I
aload 0
getfield javax.swing.text.DefaultCaret.mark:I
invokestatic java.lang.Math.max:(II)I
istore 4
start local 4 7: aload 0
invokevirtual javax.swing.text.DefaultCaret.getSelectionPainter:()Ljavax/swing/text/Highlighter$HighlightPainter;
astore 5
start local 5 8: aload 0
aload 2
iload 3
iload 4
aload 5
invokeinterface javax.swing.text.Highlighter.addHighlight:(IILjavax/swing/text/Highlighter$HighlightPainter;)Ljava/lang/Object;
putfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
9: goto 17
StackMap locals: javax.swing.text.DefaultCaret int javax.swing.text.Highlighter int int javax.swing.text.Highlighter$HighlightPainter
StackMap stack: javax.swing.text.BadLocationException
10: pop
11: aload 0
aconst_null
putfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
end local 5 end local 4 end local 3 end local 2 12: goto 17
13: StackMap locals: javax.swing.text.DefaultCaret int
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
ifnull 17
14: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getHighlighter:()Ljavax/swing/text/Highlighter;
astore 2
start local 2 15: aload 2
aload 0
getfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
invokeinterface javax.swing.text.Highlighter.removeHighlight:(Ljava/lang/Object;)V
16: aload 0
aconst_null
putfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
end local 2 17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/swing/text/DefaultCaret;
0 18 1 vis Z
4 12 2 h Ljavax/swing/text/Highlighter;
6 12 3 p0 I
7 12 4 p1 I
8 12 5 p Ljavax/swing/text/Highlighter$HighlightPainter;
15 17 2 h Ljavax/swing/text/Highlighter;
Exception table:
from to target type
8 9 10 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
vis
public boolean isSelectionVisible();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.selectionVisible:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret;
public boolean isActive();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.active:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret;
public boolean isVisible();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.visible:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret;
public void setVisible(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.text.DefaultCaret.active:Z
1: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
ifnull 9
2: aload 0
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 0
getfield javax.swing.text.DefaultCaret.visible:Z
iload 1
if_icmpeq 9
4: aload 0
iload 1
putfield javax.swing.text.DefaultCaret.visible:Z
5: aload 2
aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
aload 0
getfield javax.swing.text.DefaultCaret.dot:I
aload 0
getfield javax.swing.text.DefaultCaret.dotBias:Ljavax/swing/text/Position$Bias;
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 0
aload 3
invokevirtual javax.swing.text.DefaultCaret.damage:(Ljava/awt/Rectangle;)V
end local 3 7: goto 9
StackMap locals: javax.swing.text.DefaultCaret int javax.swing.plaf.TextUI
StackMap stack: javax.swing.text.BadLocationException
8: pop
end local 2 9: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret.flasher:Ljavax/swing/Timer;
ifnull 14
10: aload 0
getfield javax.swing.text.DefaultCaret.visible:Z
ifeq 13
11: aload 0
getfield javax.swing.text.DefaultCaret.flasher:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.start:()V
12: goto 14
13: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret.flasher:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.stop:()V
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/swing/text/DefaultCaret;
0 15 1 e Z
3 9 2 mapper Ljavax/swing/plaf/TextUI;
6 7 3 loc Ljava/awt/Rectangle;
Exception table:
from to target type
5 7 8 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
e
public void setBlinkRate(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 5
1: aload 0
getfield javax.swing.text.DefaultCaret.flasher:Ljavax/swing/Timer;
ifnonnull 3
2: aload 0
new javax.swing.Timer
dup
iload 1
aload 0
getfield javax.swing.text.DefaultCaret.handler:Ljavax/swing/text/DefaultCaret$Handler;
invokespecial javax.swing.Timer.<init>:(ILjava/awt/event/ActionListener;)V
putfield javax.swing.text.DefaultCaret.flasher:Ljavax/swing/Timer;
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret.flasher:Ljavax/swing/Timer;
iload 1
invokevirtual javax.swing.Timer.setDelay:(I)V
4: goto 9
5: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret.flasher:Ljavax/swing/Timer;
ifnull 9
6: aload 0
getfield javax.swing.text.DefaultCaret.flasher:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.stop:()V
7: aload 0
getfield javax.swing.text.DefaultCaret.flasher:Ljavax/swing/Timer;
aload 0
getfield javax.swing.text.DefaultCaret.handler:Ljavax/swing/text/DefaultCaret$Handler;
invokevirtual javax.swing.Timer.removeActionListener:(Ljava/awt/event/ActionListener;)V
8: aload 0
aconst_null
putfield javax.swing.text.DefaultCaret.flasher:Ljavax/swing/Timer;
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/text/DefaultCaret;
0 10 1 rate I
MethodParameters:
Name Flags
rate
public int getBlinkRate();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.flasher:Ljavax/swing/Timer;
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield javax.swing.text.DefaultCaret.flasher:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.getDelay:()I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/DefaultCaret;
public int getDot();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.dot:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret;
public int getMark();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.mark:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret;
public void setDot(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
invokevirtual javax.swing.text.DefaultCaret.setDot:(ILjavax/swing/text/Position$Bias;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultCaret;
0 2 1 dot I
MethodParameters:
Name Flags
dot
public void moveDot(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
invokevirtual javax.swing.text.DefaultCaret.moveDot:(ILjavax/swing/text/Position$Bias;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultCaret;
0 2 1 dot I
MethodParameters:
Name Flags
dot
public void moveDot(int, javax.swing.text.Position$Bias);
descriptor: (ILjavax/swing/text/Position$Bias;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "null bias"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.isEnabled:()Z
ifne 5
3: aload 0
iload 1
aload 2
invokevirtual javax.swing.text.DefaultCaret.setDot:(ILjavax/swing/text/Position$Bias;)V
4: return
5: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield javax.swing.text.DefaultCaret.dot:I
if_icmpeq 11
6: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getNavigationFilter:()Ljavax/swing/text/NavigationFilter;
astore 3
start local 3 7: aload 3
ifnull 10
8: aload 3
aload 0
invokevirtual javax.swing.text.DefaultCaret.getFilterBypass:()Ljavax/swing/text/NavigationFilter$FilterBypass;
iload 1
aload 2
invokevirtual javax.swing.text.NavigationFilter.moveDot:(Ljavax/swing/text/NavigationFilter$FilterBypass;ILjavax/swing/text/Position$Bias;)V
9: goto 11
10: StackMap locals: javax.swing.text.NavigationFilter
StackMap stack:
aload 0
iload 1
aload 2
invokevirtual javax.swing.text.DefaultCaret.handleMoveDot:(ILjavax/swing/text/Position$Bias;)V
end local 3 11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/text/DefaultCaret;
0 12 1 dot I
0 12 2 dotBias Ljavax/swing/text/Position$Bias;
7 11 3 filter Ljavax/swing/text/NavigationFilter;
MethodParameters:
Name Flags
dot
dotBias
void handleMoveDot(int, javax.swing.text.Position$Bias);
descriptor: (ILjavax/swing/text/Position$Bias;)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokevirtual javax.swing.text.DefaultCaret.changeCaretPosition:(ILjavax/swing/text/Position$Bias;)V
1: aload 0
getfield javax.swing.text.DefaultCaret.selectionVisible:Z
ifeq 19
2: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getHighlighter:()Ljavax/swing/text/Highlighter;
astore 3
start local 3 3: aload 3
ifnull 19
4: iload 1
aload 0
getfield javax.swing.text.DefaultCaret.mark:I
invokestatic java.lang.Math.min:(II)I
istore 4
start local 4 5: iload 1
aload 0
getfield javax.swing.text.DefaultCaret.mark:I
invokestatic java.lang.Math.max:(II)I
istore 5
start local 5 6: iload 4
iload 5
if_icmpne 11
7: aload 0
getfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
ifnull 19
8: aload 3
aload 0
getfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
invokeinterface javax.swing.text.Highlighter.removeHighlight:(Ljava/lang/Object;)V
9: aload 0
aconst_null
putfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
10: goto 19
11: StackMap locals: javax.swing.text.Highlighter int int
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
ifnull 14
12: aload 3
aload 0
getfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
iload 4
iload 5
invokeinterface javax.swing.text.Highlighter.changeHighlight:(Ljava/lang/Object;II)V
13: goto 19
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultCaret.getSelectionPainter:()Ljavax/swing/text/Highlighter$HighlightPainter;
astore 6
start local 6 15: aload 0
aload 3
iload 4
iload 5
aload 6
invokeinterface javax.swing.text.Highlighter.addHighlight:(IILjavax/swing/text/Highlighter$HighlightPainter;)Ljava/lang/Object;
putfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
end local 6 16: goto 19
StackMap locals:
StackMap stack: javax.swing.text.BadLocationException
17: pop
18: new javax.swing.text.StateInvariantError
dup
ldc "Bad caret position"
invokespecial javax.swing.text.StateInvariantError.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 end local 3 19: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljavax/swing/text/DefaultCaret;
0 20 1 dot I
0 20 2 dotBias Ljavax/swing/text/Position$Bias;
3 19 3 h Ljavax/swing/text/Highlighter;
5 19 4 p0 I
6 19 5 p1 I
15 16 6 p Ljavax/swing/text/Highlighter$HighlightPainter;
Exception table:
from to target type
11 16 17 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
dot
dotBias
public void setDot(int, javax.swing.text.Position$Bias);
descriptor: (ILjavax/swing/text/Position$Bias;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "null bias"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getNavigationFilter:()Ljavax/swing/text/NavigationFilter;
astore 3
start local 3 3: aload 3
ifnull 6
4: aload 3
aload 0
invokevirtual javax.swing.text.DefaultCaret.getFilterBypass:()Ljavax/swing/text/NavigationFilter$FilterBypass;
iload 1
aload 2
invokevirtual javax.swing.text.NavigationFilter.setDot:(Ljavax/swing/text/NavigationFilter$FilterBypass;ILjavax/swing/text/Position$Bias;)V
5: goto 7
6: StackMap locals: javax.swing.text.NavigationFilter
StackMap stack:
aload 0
iload 1
aload 2
invokevirtual javax.swing.text.DefaultCaret.handleSetDot:(ILjavax/swing/text/Position$Bias;)V
7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/DefaultCaret;
0 8 1 dot I
0 8 2 dotBias Ljavax/swing/text/Position$Bias;
3 8 3 filter Ljavax/swing/text/NavigationFilter;
MethodParameters:
Name Flags
dot
dotBias
void handleSetDot(int, javax.swing.text.Position$Bias);
descriptor: (ILjavax/swing/text/Position$Bias;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
astore 3
start local 3 1: aload 3
ifnull 3
2: iload 1
aload 3
invokeinterface javax.swing.text.Document.getLength:()I
invokestatic java.lang.Math.min:(II)I
istore 1
3: StackMap locals: javax.swing.text.Document
StackMap stack:
iload 1
iconst_0
invokestatic java.lang.Math.max:(II)I
istore 1
4: iload 1
ifne 6
5: getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
astore 2
6: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield javax.swing.text.DefaultCaret.mark:I
7: aload 0
getfield javax.swing.text.DefaultCaret.dot:I
iload 1
if_icmpne 9
aload 0
getfield javax.swing.text.DefaultCaret.dotBias:Ljavax/swing/text/Position$Bias;
aload 2
if_acmpne 9
8: aload 0
getfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
ifnonnull 9
aload 0
getfield javax.swing.text.DefaultCaret.forceCaretPositionChange:Z
ifeq 10
9: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
invokevirtual javax.swing.text.DefaultCaret.changeCaretPosition:(ILjavax/swing/text/Position$Bias;)V
10: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield javax.swing.text.DefaultCaret.dotBias:Ljavax/swing/text/Position$Bias;
putfield javax.swing.text.DefaultCaret.markBias:Ljavax/swing/text/Position$Bias;
11: aload 0
aload 0
getfield javax.swing.text.DefaultCaret.dotLTR:Z
putfield javax.swing.text.DefaultCaret.markLTR:Z
12: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getHighlighter:()Ljavax/swing/text/Highlighter;
astore 4
start local 4 13: aload 4
ifnull 16
aload 0
getfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
ifnull 16
14: aload 4
aload 0
getfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
invokeinterface javax.swing.text.Highlighter.removeHighlight:(Ljava/lang/Object;)V
15: aload 0
aconst_null
putfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
16: StackMap locals: javax.swing.text.Highlighter
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/swing/text/DefaultCaret;
0 17 1 dot I
0 17 2 dotBias Ljavax/swing/text/Position$Bias;
1 17 3 doc Ljavax/swing/text/Document;
13 17 4 h Ljavax/swing/text/Highlighter;
MethodParameters:
Name Flags
dot
dotBias
public javax.swing.text.Position$Bias getDotBias();
descriptor: ()Ljavax/swing/text/Position$Bias;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.dotBias:Ljavax/swing/text/Position$Bias;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret;
public javax.swing.text.Position$Bias getMarkBias();
descriptor: ()Ljavax/swing/text/Position$Bias;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.markBias:Ljavax/swing/text/Position$Bias;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret;
boolean isDotLeftToRight();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.dotLTR:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret;
boolean isMarkLeftToRight();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.markLTR:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret;
boolean isPositionLTR(int, javax.swing.text.Position$Bias);
descriptor: (ILjavax/swing/text/Position$Bias;)Z
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
astore 3
start local 3 1: aload 2
getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
if_acmpne 3
iinc 1 -1
iload 1
ifge 3
2: iconst_0
istore 1
3: StackMap locals: javax.swing.text.Document
StackMap stack:
aload 3
iload 1
iload 1
invokestatic javax.swing.text.AbstractDocument.isLeftToRight:(Ljavax/swing/text/Document;II)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/DefaultCaret;
0 4 1 position I
0 4 2 bias Ljavax/swing/text/Position$Bias;
1 4 3 doc Ljavax/swing/text/Document;
MethodParameters:
Name Flags
position
bias
javax.swing.text.Position$Bias guessBiasForOffset(int, javax.swing.text.Position$Bias, boolean);
descriptor: (ILjavax/swing/text/Position$Bias;Z)Ljavax/swing/text/Position$Bias;
flags: (0x0000)
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
aload 0
iload 1
aload 2
invokevirtual javax.swing.text.DefaultCaret.isPositionLTR:(ILjavax/swing/text/Position$Bias;)Z
if_icmpeq 3
1: getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
astore 2
2: goto 6
3: StackMap locals:
StackMap stack:
aload 2
getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
if_acmpeq 6
4: iload 3
aload 0
iload 1
getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
invokevirtual javax.swing.text.DefaultCaret.isPositionLTR:(ILjavax/swing/text/Position$Bias;)Z
if_icmpeq 6
5: getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
astore 2
6: StackMap locals:
StackMap stack:
aload 2
getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
if_acmpne 13
iload 1
ifle 13
7: new javax.swing.text.Segment
dup
invokespecial javax.swing.text.Segment.<init>:()V
astore 4
start local 4 8: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
iload 1
iconst_1
isub
iconst_1
aload 4
invokeinterface javax.swing.text.Document.getText:(IILjavax/swing/text/Segment;)V
9: aload 4
getfield javax.swing.text.Segment.count:I
ifle 13
aload 4
getfield javax.swing.text.Segment.array:[C
aload 4
getfield javax.swing.text.Segment.offset:I
caload
bipush 10
if_icmpne 13
10: getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
astore 2
end local 4 11: goto 13
12: StackMap locals:
StackMap stack: javax.swing.text.BadLocationException
pop
13: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/text/DefaultCaret;
0 14 1 offset I
0 14 2 lastBias Ljavax/swing/text/Position$Bias;
0 14 3 lastLTR Z
8 11 4 s Ljavax/swing/text/Segment;
Exception table:
from to target type
7 11 12 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
offset
lastBias
lastLTR
void changeCaretPosition(int, javax.swing.text.Position$Bias);
descriptor: (ILjavax/swing/text/Position$Bias;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.swing.text.DefaultCaret.repaint:()V
1: aload 0
getfield javax.swing.text.DefaultCaret.flasher:Ljavax/swing/Timer;
ifnull 4
aload 0
getfield javax.swing.text.DefaultCaret.flasher:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.isRunning:()Z
ifeq 4
2: aload 0
iconst_1
putfield javax.swing.text.DefaultCaret.visible:Z
3: aload 0
getfield javax.swing.text.DefaultCaret.flasher:Ljavax/swing/Timer;
invokevirtual javax.swing.Timer.restart:()V
4: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield javax.swing.text.DefaultCaret.dot:I
5: aload 0
aload 2
putfield javax.swing.text.DefaultCaret.dotBias:Ljavax/swing/text/Position$Bias;
6: aload 0
aload 0
iload 1
aload 2
invokevirtual javax.swing.text.DefaultCaret.isPositionLTR:(ILjavax/swing/text/Position$Bias;)Z
putfield javax.swing.text.DefaultCaret.dotLTR:Z
7: aload 0
invokevirtual javax.swing.text.DefaultCaret.fireStateChanged:()V
8: aload 0
invokevirtual javax.swing.text.DefaultCaret.updateSystemSelection:()V
9: aload 0
aconst_null
invokevirtual javax.swing.text.DefaultCaret.setMagicCaretPosition:(Ljava/awt/Point;)V
10: new javax.swing.text.DefaultCaret$1
dup
aload 0
invokespecial javax.swing.text.DefaultCaret$1.<init>:(Ljavax/swing/text/DefaultCaret;)V
astore 3
start local 3 11: aload 3
invokestatic javax.swing.SwingUtilities.invokeLater:(Ljava/lang/Runnable;)V
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/text/DefaultCaret;
0 13 1 dot I
0 13 2 dotBias Ljavax/swing/text/Position$Bias;
11 13 3 callRepaintNewCaret Ljava/lang/Runnable;
MethodParameters:
Name Flags
dot
dotBias
void repaintNewCaret();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
ifnull 13
1: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getUI:()Ljavax/swing/plaf/TextUI;
astore 1
start local 1 2: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
astore 2
start local 2 3: aload 1
ifnull 13
aload 2
ifnull 13
4: aload 1
aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
aload 0
getfield javax.swing.text.DefaultCaret.dot:I
aload 0
getfield javax.swing.text.DefaultCaret.dotBias:Ljavax/swing/text/Position$Bias;
invokevirtual javax.swing.plaf.TextUI.modelToView:(Ljavax/swing/text/JTextComponent;ILjavax/swing/text/Position$Bias;)Ljava/awt/Rectangle;
astore 3
start local 3 5: goto 8
end local 3 StackMap locals: javax.swing.text.DefaultCaret javax.swing.plaf.TextUI javax.swing.text.Document
StackMap stack: javax.swing.text.BadLocationException
6: pop
7: aconst_null
astore 3
start local 3 8: StackMap locals: java.awt.Rectangle
StackMap stack:
aload 3
ifnull 12
9: aload 0
aload 3
invokevirtual javax.swing.text.DefaultCaret.adjustVisibility:(Ljava/awt/Rectangle;)V
10: aload 0
invokevirtual javax.swing.text.DefaultCaret.getMagicCaretPosition:()Ljava/awt/Point;
ifnonnull 12
11: aload 0
new java.awt.Point
dup
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.y:I
invokespecial java.awt.Point.<init>:(II)V
invokevirtual javax.swing.text.DefaultCaret.setMagicCaretPosition:(Ljava/awt/Point;)V
12: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual javax.swing.text.DefaultCaret.damage:(Ljava/awt/Rectangle;)V
end local 3 end local 2 end local 1 13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/text/DefaultCaret;
2 13 1 mapper Ljavax/swing/plaf/TextUI;
3 13 2 doc Ljavax/swing/text/Document;
5 6 3 newLoc Ljava/awt/Rectangle;
8 13 3 newLoc Ljava/awt/Rectangle;
Exception table:
from to target type
4 5 6 Class javax.swing.text.BadLocationException
private void updateSystemSelection();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=1
start local 0 0: invokestatic sun.swing.SwingUtilities2.canCurrentEventAccessSystemClipboard:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret.dot:I
aload 0
getfield javax.swing.text.DefaultCaret.mark:I
if_icmpeq 31
aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
ifnull 31
aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.hasFocus:()Z
ifeq 31
3: aload 0
invokevirtual javax.swing.text.DefaultCaret.getSystemSelection:()Ljava/awt/datatransfer/Clipboard;
astore 1
start local 1 4: aload 1
ifnull 31
5: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
instanceof javax.swing.JPasswordField
ifeq 24
6: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
ldc "JPasswordField.cutCopyAllowed"
invokevirtual javax.swing.text.JTextComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
7: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
8: if_acmpeq 24
9: aconst_null
astore 3
start local 3 10: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
checkcast javax.swing.JPasswordField
invokevirtual javax.swing.JPasswordField.getEchoChar:()C
istore 4
start local 4 11: aload 0
invokevirtual javax.swing.text.DefaultCaret.getDot:()I
aload 0
invokevirtual javax.swing.text.DefaultCaret.getMark:()I
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 12: aload 0
invokevirtual javax.swing.text.DefaultCaret.getDot:()I
aload 0
invokevirtual javax.swing.text.DefaultCaret.getMark:()I
invokestatic java.lang.Math.max:(II)I
istore 6
start local 6 13: iload 5
istore 7
start local 7 14: goto 19
15: StackMap locals: javax.swing.text.DefaultCaret java.awt.datatransfer.Clipboard top java.lang.StringBuilder int int int int
StackMap stack:
aload 3
ifnonnull 17
16: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
17: StackMap locals:
StackMap stack:
aload 3
iload 4
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
18: iinc 7 1
StackMap locals:
StackMap stack:
19: iload 7
iload 6
if_icmplt 15
end local 7 20: aload 3
ifnull 21
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 22
StackMap locals:
StackMap stack:
21: aconst_null
StackMap locals:
StackMap stack: java.lang.String
22: astore 2
end local 6 end local 5 end local 4 end local 3 start local 2 23: goto 25
end local 2 24: StackMap locals: javax.swing.text.DefaultCaret java.awt.datatransfer.Clipboard
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getSelectedText:()Ljava/lang/String;
astore 2
start local 2 25: StackMap locals: java.lang.String
StackMap stack:
aload 1
26: new java.awt.datatransfer.StringSelection
dup
aload 2
invokespecial java.awt.datatransfer.StringSelection.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual javax.swing.text.DefaultCaret.getClipboardOwner:()Ljava/awt/datatransfer/ClipboardOwner;
27: invokevirtual java.awt.datatransfer.Clipboard.setContents:(Ljava/awt/datatransfer/Transferable;Ljava/awt/datatransfer/ClipboardOwner;)V
28: aload 0
iconst_1
putfield javax.swing.text.DefaultCaret.ownsSelection:Z
29: goto 31
StackMap locals:
StackMap stack: java.lang.IllegalStateException
30: pop
end local 2 end local 1 31: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Ljavax/swing/text/DefaultCaret;
4 31 1 clip Ljava/awt/datatransfer/Clipboard;
23 24 2 selectedText Ljava/lang/String;
25 31 2 selectedText Ljava/lang/String;
10 23 3 txt Ljava/lang/StringBuilder;
11 23 4 echoChar C
12 23 5 p0 I
13 23 6 p1 I
14 20 7 i I
Exception table:
from to target type
25 29 30 Class java.lang.IllegalStateException
private java.awt.datatransfer.Clipboard getSystemSelection();
descriptor: ()Ljava/awt/datatransfer/Clipboard;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
invokevirtual javax.swing.text.JTextComponent.getToolkit:()Ljava/awt/Toolkit;
invokevirtual java.awt.Toolkit.getSystemSelection:()Ljava/awt/datatransfer/Clipboard;
1: areturn
2: StackMap locals:
StackMap stack: java.awt.HeadlessException
pop
goto 4
3: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/DefaultCaret;
Exception table:
from to target type
0 1 2 Class java.awt.HeadlessException
0 1 3 Class java.lang.SecurityException
private java.awt.datatransfer.ClipboardOwner getClipboardOwner();
descriptor: ()Ljava/awt/datatransfer/ClipboardOwner;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.handler:Ljavax/swing/text/DefaultCaret$Handler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret;
private void ensureValidPosition();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
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 1
start local 1 1: aload 0
getfield javax.swing.text.DefaultCaret.dot:I
iload 1
if_icmpgt 2
aload 0
getfield javax.swing.text.DefaultCaret.mark:I
iload 1
if_icmple 3
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
invokevirtual javax.swing.text.DefaultCaret.handleSetDot:(ILjavax/swing/text/Position$Bias;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/DefaultCaret;
1 4 1 length I
public void setMagicCaretPosition(java.awt.Point);
descriptor: (Ljava/awt/Point;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javax.swing.text.DefaultCaret.magicCaretPosition:Ljava/awt/Point;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultCaret;
0 2 1 p Ljava/awt/Point;
MethodParameters:
Name Flags
p
public java.awt.Point getMagicCaretPosition();
descriptor: ()Ljava/awt/Point;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.magicCaretPosition:Ljava/awt/Point;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultCaret;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultCaret;
0 2 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Dot=("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.swing.text.DefaultCaret.dot:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.swing.text.DefaultCaret.dotBias:Ljavax/swing/text/Position$Bias;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " Mark=("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.swing.text.DefaultCaret.mark:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.swing.text.DefaultCaret.markBias:Ljavax/swing/text/Position$Bias;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/DefaultCaret;
1 3 1 s Ljava/lang/String;
private javax.swing.text.NavigationFilter$FilterBypass getFilterBypass();
descriptor: ()Ljavax/swing/text/NavigationFilter$FilterBypass;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultCaret.filterBypass:Ljavax/swing/text/NavigationFilter$FilterBypass;
ifnonnull 2
1: aload 0
new javax.swing.text.DefaultCaret$DefaultFilterBypass
dup
aload 0
invokespecial javax.swing.text.DefaultCaret$DefaultFilterBypass.<init>:(Ljavax/swing/text/DefaultCaret;)V
putfield javax.swing.text.DefaultCaret.filterBypass:Ljavax/swing/text/NavigationFilter$FilterBypass;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret.filterBypass:Ljavax/swing/text/NavigationFilter$FilterBypass;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/DefaultCaret;
private boolean _contains(int, int, int, int);
descriptor: (IIII)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield javax.swing.text.DefaultCaret.width:I
istore 5
start local 5 1: aload 0
getfield javax.swing.text.DefaultCaret.height:I
istore 6
start local 6 2: iload 5
iload 6
ior
iload 3
ior
iload 4
ior
ifge 4
3: iconst_0
ireturn
4: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret.x:I
istore 7
start local 7 5: aload 0
getfield javax.swing.text.DefaultCaret.y:I
istore 8
start local 8 6: iload 1
iload 7
if_icmplt 7
iload 2
iload 8
if_icmpge 8
7: StackMap locals: int int
StackMap stack:
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iload 3
ifle 15
9: iload 5
iload 7
iadd
istore 5
10: iload 3
iload 1
iadd
istore 3
11: iload 3
iload 1
if_icmpgt 14
12: iload 5
iload 7
if_icmpge 13
iload 3
iload 5
if_icmple 17
StackMap locals:
StackMap stack:
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
iload 5
iload 7
if_icmplt 17
iload 3
iload 5
if_icmple 17
iconst_0
ireturn
15: StackMap locals:
StackMap stack:
iload 7
iload 5
iadd
iload 1
if_icmpge 17
16: iconst_0
ireturn
17: StackMap locals:
StackMap stack:
iload 4
ifle 24
18: iload 6
iload 8
iadd
istore 6
19: iload 4
iload 2
iadd
istore 4
20: iload 4
iload 2
if_icmpgt 23
21: iload 6
iload 8
if_icmpge 22
iload 4
iload 6
if_icmple 26
StackMap locals:
StackMap stack:
22: iconst_0
ireturn
23: StackMap locals:
StackMap stack:
iload 6
iload 8
if_icmplt 26
iload 4
iload 6
if_icmple 26
iconst_0
ireturn
24: StackMap locals:
StackMap stack:
iload 8
iload 6
iadd
iload 2
if_icmpge 26
25: iconst_0
ireturn
26: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 8 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 27 0 this Ljavax/swing/text/DefaultCaret;
0 27 1 X I
0 27 2 Y I
0 27 3 W I
0 27 4 H I
1 27 5 w I
2 27 6 h I
5 27 7 x I
6 27 8 y I
MethodParameters:
Name Flags
X
Y
W
H
int getCaretWidth(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.DefaultCaret.aspectRatio:F
ldc -1.0
fcmpl
ifle 2
1: aload 0
getfield javax.swing.text.DefaultCaret.aspectRatio:F
iload 1
i2f
fmul
f2i
iconst_1
iadd
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultCaret.caretWidth:I
iconst_m1
if_icmple 4
3: aload 0
getfield javax.swing.text.DefaultCaret.caretWidth:I
ireturn
4: StackMap locals:
StackMap stack:
ldc "Caret.width"
invokestatic javax.swing.UIManager.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 5: aload 2
instanceof java.lang.Integer
ifeq 7
6: aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
7: StackMap locals: java.lang.Object
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/DefaultCaret;
0 8 1 height I
5 8 2 property Ljava/lang/Object;
MethodParameters:
Name Flags
height
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.readFields:()Ljava/io/ObjectInputStream$GetField;
astore 2
start local 2 1: aload 2
ldc "listenerList"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.event.EventListenerList
astore 3
start local 3 2: aload 3
ifnonnull 4
3: new java.io.InvalidObjectException
dup
ldc "Null listenerList"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.io.ObjectInputStream$GetField javax.swing.event.EventListenerList
StackMap stack:
aload 0
aload 3
putfield javax.swing.text.DefaultCaret.listenerList:Ljavax/swing/event/EventListenerList;
5: aload 0
aload 2
ldc "component"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.text.JTextComponent
putfield javax.swing.text.DefaultCaret.component:Ljavax/swing/text/JTextComponent;
6: aload 0
aload 2
ldc "updatePolicy"
iconst_0
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;I)I
putfield javax.swing.text.DefaultCaret.updatePolicy:I
7: aload 0
aload 2
ldc "visible"
iconst_0
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Z)Z
putfield javax.swing.text.DefaultCaret.visible:Z
8: aload 0
aload 2
ldc "active"
iconst_0
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Z)Z
putfield javax.swing.text.DefaultCaret.active:Z
9: aload 0
aload 2
ldc "dot"
iconst_0
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;I)I
putfield javax.swing.text.DefaultCaret.dot:I
10: aload 0
aload 2
ldc "mark"
iconst_0
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;I)I
putfield javax.swing.text.DefaultCaret.mark:I
11: aload 0
aload 2
ldc "selectionTag"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
putfield javax.swing.text.DefaultCaret.selectionTag:Ljava/lang/Object;
12: aload 0
aload 2
ldc "selectionVisible"
iconst_0
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Z)Z
putfield javax.swing.text.DefaultCaret.selectionVisible:Z
13: aload 0
aload 2
ldc "flasher"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.Timer
putfield javax.swing.text.DefaultCaret.flasher:Ljavax/swing/Timer;
14: aload 0
aload 2
ldc "magicCaretPosition"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.awt.Point
putfield javax.swing.text.DefaultCaret.magicCaretPosition:Ljava/awt/Point;
15: aload 0
aload 2
ldc "dotLTR"
iconst_0
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Z)Z
putfield javax.swing.text.DefaultCaret.dotLTR:Z
16: aload 0
aload 2
ldc "markLTR"
iconst_0
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Z)Z
putfield javax.swing.text.DefaultCaret.markLTR:Z
17: aload 0
aload 2
ldc "ownsSelection"
iconst_0
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Z)Z
putfield javax.swing.text.DefaultCaret.ownsSelection:Z
18: aload 0
aload 2
ldc "forceCaretPositionChange"
iconst_0
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Z)Z
putfield javax.swing.text.DefaultCaret.forceCaretPositionChange:Z
19: aload 0
aload 2
ldc "caretWidth"
iconst_0
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;I)I
putfield javax.swing.text.DefaultCaret.caretWidth:I
20: aload 0
aload 2
ldc "aspectRatio"
fconst_0
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;F)F
putfield javax.swing.text.DefaultCaret.aspectRatio:F
21: aload 0
new javax.swing.text.DefaultCaret$Handler
dup
aload 0
invokespecial javax.swing.text.DefaultCaret$Handler.<init>:(Ljavax/swing/text/DefaultCaret;)V
putfield javax.swing.text.DefaultCaret.handler:Ljavax/swing/text/DefaultCaret$Handler;
22: aload 1
invokevirtual java.io.ObjectInputStream.readBoolean:()Z
ifne 25
23: aload 0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
putfield javax.swing.text.DefaultCaret.dotBias:Ljavax/swing/text/Position$Bias;
24: goto 26
25: StackMap locals:
StackMap stack:
aload 0
getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
putfield javax.swing.text.DefaultCaret.dotBias:Ljavax/swing/text/Position$Bias;
26: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.ObjectInputStream.readBoolean:()Z
ifne 29
27: aload 0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
putfield javax.swing.text.DefaultCaret.markBias:Ljavax/swing/text/Position$Bias;
28: goto 30
29: StackMap locals:
StackMap stack:
aload 0
getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
putfield javax.swing.text.DefaultCaret.markBias:Ljavax/swing/text/Position$Bias;
30: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Ljavax/swing/text/DefaultCaret;
0 31 1 s Ljava/io/ObjectInputStream;
1 31 2 f Ljava/io/ObjectInputStream$GetField;
2 31 3 newListenerList Ljavax/swing/event/EventListenerList;
Exceptions:
throws java.lang.ClassNotFoundException, java.io.IOException
MethodParameters:
Name Flags
s
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: aload 1
aload 0
getfield javax.swing.text.DefaultCaret.dotBias:Ljavax/swing/text/Position$Bias;
getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
if_acmpne 2
iconst_1
goto 3
StackMap locals:
StackMap stack: java.io.ObjectOutputStream
2: iconst_0
StackMap locals: javax.swing.text.DefaultCaret java.io.ObjectOutputStream
StackMap stack: java.io.ObjectOutputStream int
3: invokevirtual java.io.ObjectOutputStream.writeBoolean:(Z)V
4: aload 1
aload 0
getfield javax.swing.text.DefaultCaret.markBias:Ljavax/swing/text/Position$Bias;
getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
if_acmpne 5
iconst_1
goto 6
StackMap locals:
StackMap stack: java.io.ObjectOutputStream
5: iconst_0
StackMap locals: javax.swing.text.DefaultCaret java.io.ObjectOutputStream
StackMap stack: java.io.ObjectOutputStream int
6: invokevirtual java.io.ObjectOutputStream.writeBoolean:(Z)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/DefaultCaret;
0 8 1 s Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
}
SourceFile: "DefaultCaret.java"
NestMembers:
javax.swing.text.DefaultCaret$1 javax.swing.text.DefaultCaret$DefaultFilterBypass javax.swing.text.DefaultCaret$Handler javax.swing.text.DefaultCaret$SafeScroller
InnerClasses:
public final Cause = java.awt.event.FocusEvent$Cause of java.awt.event.FocusEvent
public abstract GetField = java.io.ObjectInputStream$GetField of java.io.ObjectInputStream
javax.swing.text.DefaultCaret$1
private DefaultFilterBypass = javax.swing.text.DefaultCaret$DefaultFilterBypass of javax.swing.text.DefaultCaret
Handler = javax.swing.text.DefaultCaret$Handler of javax.swing.text.DefaultCaret
SafeScroller = javax.swing.text.DefaultCaret$SafeScroller of javax.swing.text.DefaultCaret
SelectLineAction = javax.swing.text.DefaultEditorKit$SelectLineAction of javax.swing.text.DefaultEditorKit
SelectWordAction = javax.swing.text.DefaultEditorKit$SelectWordAction of javax.swing.text.DefaultEditorKit
public abstract HighlightPainter = javax.swing.text.Highlighter$HighlightPainter of javax.swing.text.Highlighter
public abstract FilterBypass = javax.swing.text.NavigationFilter$FilterBypass of javax.swing.text.NavigationFilter
public final Bias = javax.swing.text.Position$Bias of javax.swing.text.Position