class sun.tools.jconsole.SheetDialog$3 extends javax.swing.JLabel
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.tools.jconsole.SheetDialog$3
super_class: javax.swing.JLabel
{
private final int val$maxWidth;
descriptor: I
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 // sun.tools.jconsole.SheetDialog$3 this
start local 1 // java.lang.String $anonymous0
0: .line 103
aload 0 /* this */
iload 2
putfield sun.tools.jconsole.SheetDialog$3.val$maxWidth:I
aload 0 /* this */
aload 1 /* $anonymous0 */
invokespecial javax.swing.JLabel.<init>:(Ljava/lang/String;)V
return
end local 1 // java.lang.String $anonymous0
end local 0 // sun.tools.jconsole.SheetDialog$3 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/SheetDialog$3;
0 1 1 $anonymous0 Ljava/lang/String;
MethodParameters:
Name Flags
$anonymous0
val$maxWidth final
public java.awt.Dimension getPreferredSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=10, args_size=1
start local 0 // sun.tools.jconsole.SheetDialog$3 this
0: .line 105
aload 0 /* this */
invokevirtual sun.tools.jconsole.SheetDialog$3.getText:()Ljava/lang/String;
astore 1 /* text */
start local 1 // java.lang.String text
1: .line 106
aload 0 /* this */
getstatic sun.tools.jconsole.SheetDialog.viewInsets:Ljava/awt/Insets;
invokevirtual sun.tools.jconsole.SheetDialog$3.getInsets:(Ljava/awt/Insets;)Ljava/awt/Insets;
astore 2 /* insets */
start local 2 // java.awt.Insets insets
2: .line 107
aload 0 /* this */
aload 0 /* this */
invokevirtual sun.tools.jconsole.SheetDialog$3.getFont:()Ljava/awt/Font;
invokevirtual sun.tools.jconsole.SheetDialog$3.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 3 /* fm */
start local 3 // java.awt.FontMetrics fm
3: .line 108
aload 0 /* this */
invokespecial javax.swing.JLabel.getPreferredSize:()Ljava/awt/Dimension;
astore 4 /* pref */
start local 4 // java.awt.Dimension pref
4: .line 109
aload 0 /* this */
invokevirtual sun.tools.jconsole.SheetDialog$3.getMinimumSize:()Ljava/awt/Dimension;
astore 5 /* min */
start local 5 // java.awt.Dimension min
5: .line 111
getstatic sun.tools.jconsole.SheetDialog.iconR:Ljava/awt/Rectangle;
getstatic sun.tools.jconsole.SheetDialog.iconR:Ljava/awt/Rectangle;
getstatic sun.tools.jconsole.SheetDialog.iconR:Ljava/awt/Rectangle;
getstatic sun.tools.jconsole.SheetDialog.iconR:Ljava/awt/Rectangle;
iconst_0
dup_x1
putfield java.awt.Rectangle.height:I
dup_x1
putfield java.awt.Rectangle.width:I
dup_x1
putfield java.awt.Rectangle.y:I
putfield java.awt.Rectangle.x:I
6: .line 112
getstatic sun.tools.jconsole.SheetDialog.textR:Ljava/awt/Rectangle;
getstatic sun.tools.jconsole.SheetDialog.textR:Ljava/awt/Rectangle;
getstatic sun.tools.jconsole.SheetDialog.textR:Ljava/awt/Rectangle;
getstatic sun.tools.jconsole.SheetDialog.textR:Ljava/awt/Rectangle;
iconst_0
dup_x1
putfield java.awt.Rectangle.height:I
dup_x1
putfield java.awt.Rectangle.width:I
dup_x1
putfield java.awt.Rectangle.y:I
putfield java.awt.Rectangle.x:I
7: .line 113
aload 2 /* insets */
getfield java.awt.Insets.left:I
aload 2 /* insets */
getfield java.awt.Insets.right:I
iadd
istore 6 /* dx */
start local 6 // int dx
8: .line 114
aload 2 /* insets */
getfield java.awt.Insets.top:I
aload 2 /* insets */
getfield java.awt.Insets.bottom:I
iadd
istore 7 /* dy */
start local 7 // int dy
9: .line 115
getstatic sun.tools.jconsole.SheetDialog.viewR:Ljava/awt/Rectangle;
iload 6 /* dx */
putfield java.awt.Rectangle.x:I
10: .line 116
getstatic sun.tools.jconsole.SheetDialog.viewR:Ljava/awt/Rectangle;
iload 7 /* dy */
putfield java.awt.Rectangle.y:I
11: .line 117
getstatic sun.tools.jconsole.SheetDialog.viewR:Ljava/awt/Rectangle;
getstatic sun.tools.jconsole.SheetDialog.viewR:Ljava/awt/Rectangle;
sipush 32767
dup_x1
putfield java.awt.Rectangle.height:I
putfield java.awt.Rectangle.width:I
12: .line 119
aload 0 /* this */
ldc "html"
invokevirtual sun.tools.jconsole.SheetDialog$3.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.text.View
astore 8 /* v */
start local 8 // javax.swing.text.View v
13: .line 120
aload 8 /* v */
ifnull 31
14: .line 123
aload 0 /* this */
getfield sun.tools.jconsole.SheetDialog$3.val$maxWidth:I
15: .line 124
aload 4 /* pref */
getfield java.awt.Dimension.width:I
16: .line 125
aload 5 /* min */
getfield java.awt.Dimension.width:I
sipush 300
invokestatic java.lang.Math.max:(II)I
17: .line 124
invokestatic java.lang.Math.min:(II)I
18: .line 123
invokestatic java.lang.Math.min:(II)I
istore 9 /* w */
start local 9 // int w
19: .line 126
aload 8 /* v */
iload 9 /* w */
i2f
fconst_0
invokevirtual javax.swing.text.View.setSize:(FF)V
20: .line 128
aload 0 /* this */
aload 3 /* fm */
aload 1 /* text */
aconst_null
21: .line 129
aload 0 /* this */
invokevirtual sun.tools.jconsole.SheetDialog$3.getVerticalAlignment:()I
22: .line 130
aload 0 /* this */
invokevirtual sun.tools.jconsole.SheetDialog$3.getHorizontalAlignment:()I
23: .line 131
aload 0 /* this */
invokevirtual sun.tools.jconsole.SheetDialog$3.getVerticalTextPosition:()I
24: .line 132
aload 0 /* this */
invokevirtual sun.tools.jconsole.SheetDialog$3.getHorizontalTextPosition:()I
25: .line 133
getstatic sun.tools.jconsole.SheetDialog.viewR:Ljava/awt/Rectangle;
getstatic sun.tools.jconsole.SheetDialog.iconR:Ljava/awt/Rectangle;
getstatic sun.tools.jconsole.SheetDialog.textR:Ljava/awt/Rectangle;
26: .line 134
aload 0 /* this */
invokevirtual sun.tools.jconsole.SheetDialog$3.getIconTextGap:()I
27: .line 128
invokestatic javax.swing.SwingUtilities.layoutCompoundLabel:(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;Ljavax/swing/Icon;IIIILjava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;I)Ljava/lang/String;
pop
28: .line 135
new java.awt.Dimension
dup
getstatic sun.tools.jconsole.SheetDialog.textR:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
iload 6 /* dx */
iadd
29: .line 136
getstatic sun.tools.jconsole.SheetDialog.textR:Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
iload 7 /* dy */
iadd
30: .line 135
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 9 // int w
31: .line 138
StackMap locals: sun.tools.jconsole.SheetDialog$3 java.lang.String java.awt.Insets java.awt.FontMetrics java.awt.Dimension java.awt.Dimension int int javax.swing.text.View
StackMap stack:
aload 4 /* pref */
areturn
end local 8 // javax.swing.text.View v
end local 7 // int dy
end local 6 // int dx
end local 5 // java.awt.Dimension min
end local 4 // java.awt.Dimension pref
end local 3 // java.awt.FontMetrics fm
end local 2 // java.awt.Insets insets
end local 1 // java.lang.String text
end local 0 // sun.tools.jconsole.SheetDialog$3 this
LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lsun/tools/jconsole/SheetDialog$3;
1 32 1 text Ljava/lang/String;
2 32 2 insets Ljava/awt/Insets;
3 32 3 fm Ljava/awt/FontMetrics;
4 32 4 pref Ljava/awt/Dimension;
5 32 5 min Ljava/awt/Dimension;
8 32 6 dx I
9 32 7 dy I
13 32 8 v Ljavax/swing/text/View;
19 31 9 w I
}
SourceFile: "SheetDialog.java"
EnclosingMethod: sun.tools.jconsole.SheetDialog.fixWrapping:(Ljava/lang/Object;I)Ljava/lang/Object;
NestHost: sun.tools.jconsole.SheetDialog
InnerClasses:
sun.tools.jconsole.SheetDialog$3