class extends javax.swing.text.html.HiddenTagView
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.html.CommentView
super_class: javax.swing.text.html.HiddenTagView
{
static final javax.swing.border.Border ;
descriptor: Ljavax/swing/border/Border;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final int ;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3
static final int ;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 9
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new javax.swing.text.html.CommentView$CommentBorder
dup
invokespecial javax.swing.text.html.CommentView$CommentBorder.<init>:()V
putstatic javax.swing.text.html.CommentView.CBorder:Ljavax/swing/border/Border;
1: return
LocalVariableTable:
Start End Slot Name Signature
void (javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.text.html.HiddenTagView.<init>:(Ljavax/swing/text/Element;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/html/CommentView;
0 2 1 e Ljavax/swing/text/Element;
MethodParameters:
Name Flags
e
protected java.awt.Component ();
descriptor: ()Ljava/awt/Component;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.html.CommentView.getContainer:()Ljava/awt/Container;
astore 1
start local 1 1: aload 1
ifnull 3
aload 1
checkcast javax.swing.text.JTextComponent
invokevirtual javax.swing.text.JTextComponent.isEditable:()Z
ifne 3
2: aconst_null
areturn
3: StackMap locals: java.awt.Container
StackMap stack:
new javax.swing.JTextArea
dup
aload 0
invokevirtual javax.swing.text.html.CommentView.getRepresentedText:()Ljava/lang/String;
invokespecial javax.swing.JTextArea.<init>:(Ljava/lang/String;)V
astore 2
start local 2 4: aload 0
invokevirtual javax.swing.text.html.CommentView.getDocument:()Ljavax/swing/text/Document;
astore 3
start local 3 5: aload 3
instanceof javax.swing.text.StyledDocument
ifeq 9
6: aload 3
checkcast javax.swing.text.StyledDocument
aload 0
invokevirtual javax.swing.text.html.CommentView.getAttributes:()Ljavax/swing/text/AttributeSet;
invokeinterface javax.swing.text.StyledDocument.getFont:(Ljavax/swing/text/AttributeSet;)Ljava/awt/Font;
astore 4
start local 4 7: aload 2
aload 4
invokevirtual javax.swing.JTextArea.setFont:(Ljava/awt/Font;)V
8: goto 10
end local 4 9: StackMap locals: javax.swing.JTextArea javax.swing.text.Document
StackMap stack:
aload 2
invokevirtual javax.swing.JTextArea.getFont:()Ljava/awt/Font;
astore 4
start local 4 10: StackMap locals: java.awt.Font
StackMap stack:
aload 0
aload 4
invokevirtual javax.swing.text.html.CommentView.updateYAlign:(Ljava/awt/Font;)V
11: aload 2
getstatic javax.swing.text.html.CommentView.CBorder:Ljavax/swing/border/Border;
invokevirtual javax.swing.JTextArea.setBorder:(Ljavax/swing/border/Border;)V
12: aload 2
invokevirtual javax.swing.JTextArea.getDocument:()Ljavax/swing/text/Document;
aload 0
invokeinterface javax.swing.text.Document.addDocumentListener:(Ljavax/swing/event/DocumentListener;)V
13: aload 2
aload 0
invokevirtual javax.swing.text.html.CommentView.isVisible:()Z
invokevirtual javax.swing.JTextArea.setFocusable:(Z)V
14: aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/swing/text/html/CommentView;
1 15 1 host Ljava/awt/Container;
4 15 2 ta Ljavax/swing/JTextArea;
5 15 3 doc Ljavax/swing/text/Document;
7 9 4 font Ljava/awt/Font;
10 15 4 font Ljava/awt/Font;
void ();
descriptor: ()V
flags: (0x0000)
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/html/CommentView;
void ();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.html.CommentView.getTextComponent:()Ljavax/swing/text/JTextComponent;
astore 1
start local 1 1: aload 0
invokevirtual javax.swing.text.html.CommentView.getDocument:()Ljavax/swing/text/Document;
astore 2
start local 2 2: aload 1
ifnull 16
aload 2
ifnull 16
3: aload 1
invokevirtual javax.swing.text.JTextComponent.getText:()Ljava/lang/String;
astore 3
start local 3 4: new javax.swing.text.SimpleAttributeSet
dup
invokespecial javax.swing.text.SimpleAttributeSet.<init>:()V
astore 4
start local 4 5: aload 0
iconst_1
putfield javax.swing.text.html.CommentView.isSettingAttributes:Z
6: aload 4
getstatic javax.swing.text.html.HTML$Attribute.COMMENT:Ljavax/swing/text/html/HTML$Attribute;
aload 3
invokevirtual javax.swing.text.SimpleAttributeSet.addAttribute:(Ljava/lang/Object;Ljava/lang/Object;)V
7: aload 2
checkcast javax.swing.text.StyledDocument
8: aload 0
invokevirtual javax.swing.text.html.CommentView.getStartOffset:()I
aload 0
invokevirtual javax.swing.text.html.CommentView.getEndOffset:()I
9: aload 0
invokevirtual javax.swing.text.html.CommentView.getStartOffset:()I
isub
aload 4
iconst_0
10: invokeinterface javax.swing.text.StyledDocument.setCharacterAttributes:(IILjavax/swing/text/AttributeSet;Z)V
11: goto 15
12: StackMap locals: javax.swing.text.html.CommentView javax.swing.text.JTextComponent javax.swing.text.Document java.lang.String javax.swing.text.SimpleAttributeSet
StackMap stack: java.lang.Throwable
astore 5
13: aload 0
iconst_0
putfield javax.swing.text.html.CommentView.isSettingAttributes:Z
14: aload 5
athrow
15: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield javax.swing.text.html.CommentView.isSettingAttributes:Z
end local 4 end local 3 16: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/swing/text/html/CommentView;
1 17 1 textC Ljavax/swing/text/JTextComponent;
2 17 2 doc Ljavax/swing/text/Document;
4 16 3 text Ljava/lang/String;
5 16 4 sas Ljavax/swing/text/SimpleAttributeSet;
Exception table:
from to target type
6 12 12 any
javax.swing.text.JTextComponent ();
descriptor: ()Ljavax/swing/text/JTextComponent;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.html.CommentView.getComponent:()Ljava/awt/Component;
checkcast javax.swing.text.JTextComponent
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/html/CommentView;
java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.html.CommentView.getElement:()Ljavax/swing/text/Element;
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
astore 1
start local 1 1: aload 1
ifnull 5
2: aload 1
getstatic javax.swing.text.html.HTML$Attribute.COMMENT:Ljavax/swing/text/html/HTML$Attribute;
invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 3: aload 2
instanceof java.lang.String
ifeq 5
4: aload 2
checkcast java.lang.String
areturn
end local 2 5: StackMap locals: javax.swing.text.AttributeSet
StackMap stack:
ldc ""
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/html/CommentView;
1 6 1 as Ljavax/swing/text/AttributeSet;
3 5 2 comment Ljava/lang/Object;
}
SourceFile: "CommentView.java"
NestMembers:
javax.swing.text.html.CommentView$CommentBorder
InnerClasses:
CommentBorder = javax.swing.text.html.CommentView$CommentBorder of javax.swing.text.html.CommentView
public final Attribute = javax.swing.text.html.HTML$Attribute of javax.swing.text.html.HTML