final class sun.awt.windows.WLabelPeer extends sun.awt.windows.WComponentPeer implements java.awt.peer.LabelPeer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.awt.windows.WLabelPeer
super_class: sun.awt.windows.WComponentPeer
{
public java.awt.Dimension getMinimumSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
aload 0
getfield sun.awt.windows.WLabelPeer.target:Ljava/lang/Object;
checkcast java.awt.Label
invokevirtual java.awt.Label.getFont:()Ljava/awt/Font;
invokevirtual sun.awt.windows.WLabelPeer.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 1
start local 1 1: aload 0
getfield sun.awt.windows.WLabelPeer.target:Ljava/lang/Object;
checkcast java.awt.Label
invokevirtual java.awt.Label.getText:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnonnull 4
3: ldc ""
astore 2
4: StackMap locals: java.awt.FontMetrics java.lang.String
StackMap stack:
new java.awt.Dimension
dup
aload 1
aload 2
invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
bipush 14
iadd
aload 1
invokevirtual java.awt.FontMetrics.getHeight:()I
bipush 8
iadd
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/windows/WLabelPeer;
1 5 1 fm Ljava/awt/FontMetrics;
2 5 2 label Ljava/lang/String;
native void lazyPaint();
descriptor: ()V
flags: (0x0100) ACC_NATIVE
synchronized void start();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.windows.WComponentPeer.start:()V
1: aload 0
invokevirtual sun.awt.windows.WLabelPeer.lazyPaint:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/windows/WLabelPeer;
public boolean shouldClearRectBeforePaint();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WLabelPeer;
public native void setText(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
label
public native void setAlignment(int);
descriptor: (I)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
alignment
void <init>(java.awt.Label);
descriptor: (Ljava/awt/Label;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.windows.WComponentPeer.<init>:(Ljava/awt/Component;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WLabelPeer;
0 2 1 target Ljava/awt/Label;
MethodParameters:
Name Flags
target
native void create(sun.awt.windows.WComponentPeer);
descriptor: (Lsun/awt/windows/WComponentPeer;)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
parent
void initialize();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WLabelPeer.target:Ljava/lang/Object;
checkcast java.awt.Label
astore 1
start local 1 1: aload 1
invokevirtual java.awt.Label.getText:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 0
aload 2
invokevirtual sun.awt.windows.WLabelPeer.setText:(Ljava/lang/String;)V
4: StackMap locals: java.awt.Label java.lang.String
StackMap stack:
aload 1
invokevirtual java.awt.Label.getAlignment:()I
istore 3
start local 3 5: iload 3
ifeq 7
6: aload 0
iload 3
invokevirtual sun.awt.windows.WLabelPeer.setAlignment:(I)V
7: StackMap locals: int
StackMap stack:
aload 0
getfield sun.awt.windows.WLabelPeer.target:Ljava/lang/Object;
checkcast java.awt.Component
invokevirtual java.awt.Component.getBackground:()Ljava/awt/Color;
astore 4
start local 4 8: aload 4
ifnull 10
9: aload 0
aload 4
invokevirtual sun.awt.windows.WLabelPeer.setBackground:(Ljava/awt/Color;)V
10: StackMap locals: java.awt.Color
StackMap stack:
aload 0
invokespecial sun.awt.windows.WComponentPeer.initialize:()V
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/awt/windows/WLabelPeer;
1 12 1 l Ljava/awt/Label;
2 12 2 txt Ljava/lang/String;
5 12 3 align I
8 12 4 bg Ljava/awt/Color;
}
SourceFile: "WLabelPeer.java"