public class sun.tools.jconsole.HTMLPane extends javax.swing.JEditorPane
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jconsole.HTMLPane
super_class: javax.swing.JEditorPane
{
private boolean hasSelection;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.JEditorPane.<init>:()V
1: aload 0
iconst_0
putfield sun.tools.jconsole.HTMLPane.hasSelection:Z
2: aload 0
ldc "text/html"
invokevirtual sun.tools.jconsole.HTMLPane.setContentType:(Ljava/lang/String;)V
3: aload 0
iconst_0
invokevirtual sun.tools.jconsole.HTMLPane.setEditable:(Z)V
4: aload 0
invokevirtual sun.tools.jconsole.HTMLPane.getCaret:()Ljavax/swing/text/Caret;
checkcast javax.swing.text.DefaultCaret
iconst_1
invokevirtual javax.swing.text.DefaultCaret.setUpdatePolicy:(I)V
5: aload 0
new sun.tools.jconsole.HTMLPane$1
dup
aload 0
invokespecial sun.tools.jconsole.HTMLPane$1.<init>:(Lsun/tools/jconsole/HTMLPane;)V
invokevirtual sun.tools.jconsole.HTMLPane.addCaretListener:(Ljavax/swing/event/CaretListener;)V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/tools/jconsole/HTMLPane;
public synchronized void setHasSelection(boolean);
descriptor: (Z)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.tools.jconsole.HTMLPane.hasSelection:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/HTMLPane;
0 2 1 b Z
MethodParameters:
Name Flags
b
public synchronized boolean getHasSelection();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.HTMLPane.hasSelection:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/HTMLPane;
public void setText(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.tools.jconsole.HTMLPane.getHasSelection:()Z
ifne 4
1: ldc "%06x"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual sun.tools.jconsole.HTMLPane.getForeground:()Ljava/awt/Color;
invokevirtual java.awt.Color.getRGB:()I
ldc 16777215
iand
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
2: astore 2
start local 2 3: aload 0
new java.lang.StringBuilder
dup
ldc "<html><body text=#"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "</body></html>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.swing.JEditorPane.setText:(Ljava/lang/String;)V
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/HTMLPane;
0 5 1 text Ljava/lang/String;
3 4 2 textColor Ljava/lang/String;
MethodParameters:
Name Flags
text
}
SourceFile: "HTMLPane.java"
NestMembers:
sun.tools.jconsole.HTMLPane$1
InnerClasses:
sun.tools.jconsole.HTMLPane$1