public class java.awt.Label extends java.awt.Component implements javax.accessibility.Accessible
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.awt.Label
super_class: java.awt.Component
{
public static final int LEFT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int CENTER;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int RIGHT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
java.lang.String text;
descriptor: Ljava/lang/String;
flags: (0x0000)
int alignment;
descriptor: I
flags: (0x0000)
private static final java.lang.String base;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "label"
private static int nameCounter;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3094126758329070636
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.awt.Toolkit.loadLibraries:()V
1: invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
ifne 3
2: invokestatic java.awt.Label.initIDs:()V
3: StackMap locals:
StackMap stack:
iconst_0
putstatic java.awt.Label.nameCounter:I
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc ""
iconst_0
invokespecial java.awt.Label.<init>:(Ljava/lang/String;I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/Label;
Exceptions:
throws java.awt.HeadlessException
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokespecial java.awt.Label.<init>:(Ljava/lang/String;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/Label;
0 2 1 text Ljava/lang/String;
Exceptions:
throws java.awt.HeadlessException
MethodParameters:
Name Flags
text
public void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.awt.Component.<init>:()V
1: aload 0
iconst_0
putfield java.awt.Label.alignment:I
2: invokestatic java.awt.GraphicsEnvironment.checkHeadless:()V
3: aload 0
aload 1
putfield java.awt.Label.text:Ljava/lang/String;
4: aload 0
iload 2
invokevirtual java.awt.Label.setAlignment:(I)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/Label;
0 6 1 text Ljava/lang/String;
0 6 2 alignment I
Exceptions:
throws java.awt.HeadlessException
MethodParameters:
Name Flags
text
alignment
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: invokestatic java.awt.GraphicsEnvironment.checkHeadless:()V
1: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/Label;
0 3 1 s Ljava/io/ObjectInputStream;
Exceptions:
throws java.lang.ClassNotFoundException, java.io.IOException, java.awt.HeadlessException
MethodParameters:
Name Flags
s
java.lang.String constructComponentName();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: ldc Ljava/awt/Label;
dup
astore 1
monitorenter
1: new java.lang.StringBuilder
dup
ldc "label"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.awt.Label.nameCounter:I
dup
iconst_1
iadd
putstatic java.awt.Label.nameCounter:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
monitorexit
2: areturn
3: StackMap locals: java.awt.Label java.lang.Class
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/Label;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public void addNotify();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.Label.getTreeLock:()Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield java.awt.Label.peer:Ljava/awt/peer/ComponentPeer;
ifnonnull 3
2: aload 0
aload 0
invokevirtual java.awt.Label.getComponentFactory:()Lsun/awt/ComponentFactory;
aload 0
invokeinterface sun.awt.ComponentFactory.createLabel:(Ljava/awt/Label;)Ljava/awt/peer/LabelPeer;
putfield java.awt.Label.peer:Ljava/awt/peer/ComponentPeer;
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokespecial java.awt.Component.addNotify:()V
4: aload 1
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/awt/Label;
Exception table:
from to target type
1 5 6 any
6 7 6 any
public int getAlignment();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.Label.alignment:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Label;
public synchronized void setAlignment(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iload 1
tableswitch { // 0 - 2
0: 1
1: 1
2: 1
default: 6
}
1: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield java.awt.Label.alignment:I
2: aload 0
getfield java.awt.Label.peer:Ljava/awt/peer/ComponentPeer;
checkcast java.awt.peer.LabelPeer
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 2
iload 1
invokeinterface java.awt.peer.LabelPeer.setAlignment:(I)V
5: StackMap locals: java.awt.peer.LabelPeer
StackMap stack:
return
end local 2 6: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "improper alignment: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/awt/Label;
0 7 1 alignment I
3 6 2 peer Ljava/awt/peer/LabelPeer;
MethodParameters:
Name Flags
alignment
public java.lang.String getText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.Label.text:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Label;
public void setText(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
dup
astore 3
monitorenter
2: aload 1
aload 0
getfield java.awt.Label.text:Ljava/lang/String;
if_acmpeq 9
aload 0
getfield java.awt.Label.text:Ljava/lang/String;
ifnull 4
3: aload 0
getfield java.awt.Label.text:Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
4: StackMap locals: int java.awt.Label
StackMap stack:
aload 0
aload 1
putfield java.awt.Label.text:Ljava/lang/String;
5: aload 0
getfield java.awt.Label.peer:Ljava/awt/peer/ComponentPeer;
checkcast java.awt.peer.LabelPeer
astore 4
start local 4 6: aload 4
ifnull 8
7: aload 4
aload 1
invokeinterface java.awt.peer.LabelPeer.setText:(Ljava/lang/String;)V
8: StackMap locals: java.awt.peer.LabelPeer
StackMap stack:
iconst_1
istore 2
end local 4 9: StackMap locals:
StackMap stack:
aload 3
monitorexit
10: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
11: aload 3
monitorexit
12: athrow
13: StackMap locals:
StackMap stack:
iload 2
ifeq 15
14: aload 0
invokevirtual java.awt.Label.invalidateIfValid:()V
15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljava/awt/Label;
0 16 1 text Ljava/lang/String;
1 16 2 testvalid Z
6 9 4 peer Ljava/awt/peer/LabelPeer;
Exception table:
from to target type
2 10 11 any
11 12 11 any
MethodParameters:
Name Flags
text
protected java.lang.String paramString();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: ldc ""
astore 1
start local 1 1: aload 0
getfield java.awt.Label.alignment:I
tableswitch { // 0 - 2
0: 2
1: 3
2: 4
default: 5
}
2: StackMap locals: java.lang.String
StackMap stack:
ldc "left"
astore 1
goto 5
3: StackMap locals:
StackMap stack:
ldc "center"
astore 1
goto 5
4: StackMap locals:
StackMap stack:
ldc "right"
astore 1
5: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
6: aload 0
invokespecial java.awt.Component.paramString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ",align="
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 ",text="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.awt.Label.text:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/awt/Label;
1 7 1 align Ljava/lang/String;
private static native void initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
public javax.accessibility.AccessibleContext getAccessibleContext();
descriptor: ()Ljavax/accessibility/AccessibleContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.Label.accessibleContext:Ljavax/accessibility/AccessibleContext;
ifnonnull 2
1: aload 0
new java.awt.Label$AccessibleAWTLabel
dup
aload 0
invokespecial java.awt.Label$AccessibleAWTLabel.<init>:(Ljava/awt/Label;)V
putfield java.awt.Label.accessibleContext:Ljavax/accessibility/AccessibleContext;
2: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.Label.accessibleContext:Ljavax/accessibility/AccessibleContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/Label;
}
SourceFile: "Label.java"
NestMembers:
java.awt.Label$AccessibleAWTLabel
InnerClasses:
protected AccessibleAWTLabel = java.awt.Label$AccessibleAWTLabel of java.awt.Label