class javax.swing.text.StyledEditorKit$AttributeTracker implements javax.swing.event.CaretListener, java.beans.PropertyChangeListener, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.StyledEditorKit$AttributeTracker
super_class: java.lang.Object
{
final javax.swing.text.StyledEditorKit this$0;
descriptor: Ljavax/swing/text/StyledEditorKit;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(javax.swing.text.StyledEditorKit);
descriptor: (Ljavax/swing/text/StyledEditorKit;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javax.swing.text.StyledEditorKit$AttributeTracker.this$0:Ljavax/swing/text/StyledEditorKit;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/StyledEditorKit$AttributeTracker;
MethodParameters:
Name Flags
this$0 final
void updateInputAttributes(int, int, javax.swing.text.JTextComponent);
descriptor: (IILjavax/swing/text/JTextComponent;)V
flags: (0x0000)
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
astore 4
start local 4 1: aload 4
instanceof javax.swing.text.StyledDocument
ifne 3
2: return
3: StackMap locals: javax.swing.text.Document
StackMap stack:
iload 1
iload 2
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 4: aload 4
checkcast javax.swing.text.StyledDocument
astore 6
start local 6 5: aload 0
getfield javax.swing.text.StyledEditorKit$AttributeTracker.this$0:Ljavax/swing/text/StyledEditorKit;
aload 6
iload 5
invokeinterface javax.swing.text.StyledDocument.getParagraphElement:(I)Ljavax/swing/text/Element;
putfield javax.swing.text.StyledEditorKit.currentParagraph:Ljavax/swing/text/Element;
6: aload 0
getfield javax.swing.text.StyledEditorKit$AttributeTracker.this$0:Ljavax/swing/text/StyledEditorKit;
getfield javax.swing.text.StyledEditorKit.currentParagraph:Ljavax/swing/text/Element;
invokeinterface javax.swing.text.Element.getStartOffset:()I
iload 5
if_icmpeq 7
iload 1
iload 2
if_icmpeq 9
7: StackMap locals: int javax.swing.text.StyledDocument
StackMap stack:
aload 6
iload 5
invokeinterface javax.swing.text.StyledDocument.getCharacterElement:(I)Ljavax/swing/text/Element;
astore 7
start local 7 8: goto 10
end local 7 9: StackMap locals:
StackMap stack:
aload 6
iload 5
iconst_1
isub
iconst_0
invokestatic java.lang.Math.max:(II)I
invokeinterface javax.swing.text.StyledDocument.getCharacterElement:(I)Ljavax/swing/text/Element;
astore 7
start local 7 10: StackMap locals: javax.swing.text.Element
StackMap stack:
aload 7
aload 0
getfield javax.swing.text.StyledEditorKit$AttributeTracker.this$0:Ljavax/swing/text/StyledEditorKit;
getfield javax.swing.text.StyledEditorKit.currentRun:Ljavax/swing/text/Element;
if_acmpeq 13
11: aload 0
getfield javax.swing.text.StyledEditorKit$AttributeTracker.this$0:Ljavax/swing/text/StyledEditorKit;
aload 7
putfield javax.swing.text.StyledEditorKit.currentRun:Ljavax/swing/text/Element;
12: aload 0
getfield javax.swing.text.StyledEditorKit$AttributeTracker.this$0:Ljavax/swing/text/StyledEditorKit;
aload 0
getfield javax.swing.text.StyledEditorKit$AttributeTracker.this$0:Ljavax/swing/text/StyledEditorKit;
getfield javax.swing.text.StyledEditorKit.currentRun:Ljavax/swing/text/Element;
aload 0
getfield javax.swing.text.StyledEditorKit$AttributeTracker.this$0:Ljavax/swing/text/StyledEditorKit;
invokevirtual javax.swing.text.StyledEditorKit.getInputAttributes:()Ljavax/swing/text/MutableAttributeSet;
invokevirtual javax.swing.text.StyledEditorKit.createInputAttributes:(Ljavax/swing/text/Element;Ljavax/swing/text/MutableAttributeSet;)V
13: StackMap locals:
StackMap stack:
return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/text/StyledEditorKit$AttributeTracker;
0 14 1 dot I
0 14 2 mark I
0 14 3 c Ljavax/swing/text/JTextComponent;
1 14 4 aDoc Ljavax/swing/text/Document;
4 14 5 start I
5 14 6 doc Ljavax/swing/text/StyledDocument;
8 9 7 run Ljavax/swing/text/Element;
10 14 7 run Ljavax/swing/text/Element;
MethodParameters:
Name Flags
dot
mark
c
public void propertyChange(java.beans.PropertyChangeEvent);
descriptor: (Ljava/beans/PropertyChangeEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
astore 2
start local 2 1: aload 1
invokevirtual java.beans.PropertyChangeEvent.getSource:()Ljava/lang/Object;
astore 3
start local 3 2: aload 3
instanceof javax.swing.text.JTextComponent
ifeq 5
3: aload 2
instanceof javax.swing.text.Document
ifeq 5
4: aload 0
iconst_0
iconst_0
aload 3
checkcast javax.swing.text.JTextComponent
invokevirtual javax.swing.text.StyledEditorKit$AttributeTracker.updateInputAttributes:(IILjavax/swing/text/JTextComponent;)V
5: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/StyledEditorKit$AttributeTracker;
0 6 1 evt Ljava/beans/PropertyChangeEvent;
1 6 2 newValue Ljava/lang/Object;
2 6 3 source Ljava/lang/Object;
MethodParameters:
Name Flags
evt
public void caretUpdate(javax.swing.event.CaretEvent);
descriptor: (Ljavax/swing/event/CaretEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.swing.event.CaretEvent.getDot:()I
aload 1
invokevirtual javax.swing.event.CaretEvent.getMark:()I
1: aload 1
invokevirtual javax.swing.event.CaretEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.text.JTextComponent
2: invokevirtual javax.swing.text.StyledEditorKit$AttributeTracker.updateInputAttributes:(IILjavax/swing/text/JTextComponent;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/StyledEditorKit$AttributeTracker;
0 4 1 e Ljavax/swing/event/CaretEvent;
MethodParameters:
Name Flags
e
}
SourceFile: "StyledEditorKit.java"
NestHost: javax.swing.text.StyledEditorKit
InnerClasses:
AttributeTracker = javax.swing.text.StyledEditorKit$AttributeTracker of javax.swing.text.StyledEditorKit