public class sun.font.Decoration
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.font.Decoration
super_class: java.lang.Object
{
private static final int VALUES_MASK;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final sun.font.Decoration PLAIN;
descriptor: Lsun/font/Decoration;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 7
anewarray sun.font.EAttribute
dup
iconst_0
1: getstatic sun.font.EAttribute.EFOREGROUND:Lsun/font/EAttribute;
aastore
dup
iconst_1
getstatic sun.font.EAttribute.EBACKGROUND:Lsun/font/EAttribute;
aastore
dup
iconst_2
getstatic sun.font.EAttribute.ESWAP_COLORS:Lsun/font/EAttribute;
aastore
dup
iconst_3
2: getstatic sun.font.EAttribute.ESTRIKETHROUGH:Lsun/font/EAttribute;
aastore
dup
iconst_4
getstatic sun.font.EAttribute.EUNDERLINE:Lsun/font/EAttribute;
aastore
dup
iconst_5
getstatic sun.font.EAttribute.EINPUT_METHOD_HIGHLIGHT:Lsun/font/EAttribute;
aastore
dup
bipush 6
3: getstatic sun.font.EAttribute.EINPUT_METHOD_UNDERLINE:Lsun/font/EAttribute;
aastore
4: invokestatic sun.font.AttributeValues.getMask:([Lsun/font/EAttribute;)I
putstatic sun.font.Decoration.VALUES_MASK:I
5: new sun.font.Decoration
dup
invokespecial sun.font.Decoration.<init>:()V
putstatic sun.font.Decoration.PLAIN:Lsun/font/Decoration;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/font/Decoration;
public static sun.font.Decoration getPlainDecoration();
descriptor: ()Lsun/font/Decoration;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.font.Decoration.PLAIN:Lsun/font/Decoration;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static sun.font.Decoration getDecoration(sun.font.AttributeValues);
descriptor: (Lsun/font/AttributeValues;)Lsun/font/Decoration;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
getstatic sun.font.Decoration.VALUES_MASK:I
invokevirtual sun.font.AttributeValues.anyDefined:(I)Z
ifne 2
1: StackMap locals:
StackMap stack:
getstatic sun.font.Decoration.PLAIN:Lsun/font/Decoration;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.font.AttributeValues.applyIMHighlight:()Lsun/font/AttributeValues;
astore 0
3: new sun.font.Decoration$DecorationImpl
dup
aload 0
invokevirtual sun.font.AttributeValues.getForeground:()Ljava/awt/Paint;
4: aload 0
invokevirtual sun.font.AttributeValues.getBackground:()Ljava/awt/Paint;
5: aload 0
invokevirtual sun.font.AttributeValues.getSwapColors:()Z
6: aload 0
invokevirtual sun.font.AttributeValues.getStrikethrough:()Z
7: aload 0
invokevirtual sun.font.AttributeValues.getUnderline:()I
invokestatic sun.font.Underline.getUnderline:(I)Lsun/font/Underline;
8: aload 0
invokevirtual sun.font.AttributeValues.getInputMethodUnderline:()I
invokestatic sun.font.Underline.getUnderline:(I)Lsun/font/Underline;
9: invokespecial sun.font.Decoration$DecorationImpl.<init>:(Ljava/awt/Paint;Ljava/awt/Paint;ZZLsun/font/Underline;Lsun/font/Underline;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 values Lsun/font/AttributeValues;
MethodParameters:
Name Flags
values
public static sun.font.Decoration getDecoration(java.util.Map<? extends java.text.AttributedCharacterIterator$Attribute, ?>);
descriptor: (Ljava/util/Map;)Lsun/font/Decoration;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: getstatic sun.font.Decoration.PLAIN:Lsun/font/Decoration;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.font.AttributeValues.fromMap:(Ljava/util/Map;)Lsun/font/AttributeValues;
invokestatic sun.font.Decoration.getDecoration:(Lsun/font/AttributeValues;)Lsun/font/Decoration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 attributes Ljava/util/Map<+Ljava/text/AttributedCharacterIterator$Attribute;*>;
Signature: (Ljava/util/Map<+Ljava/text/AttributedCharacterIterator$Attribute;*>;)Lsun/font/Decoration;
MethodParameters:
Name Flags
attributes
public void drawTextAndDecorations(sun.font.Decoration$Label, java.awt.Graphics2D, float, float);
descriptor: (Lsun/font/Decoration$Label;Ljava/awt/Graphics2D;FF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
aload 2
fload 3
fload 4
invokeinterface sun.font.Decoration$Label.handleDraw:(Ljava/awt/Graphics2D;FF)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/font/Decoration;
0 2 1 label Lsun/font/Decoration$Label;
0 2 2 g2d Ljava/awt/Graphics2D;
0 2 3 x F
0 2 4 y F
MethodParameters:
Name Flags
label
g2d
x
y
public java.awt.geom.Rectangle2D getVisualBounds(sun.font.Decoration$Label);
descriptor: (Lsun/font/Decoration$Label;)Ljava/awt/geom/Rectangle2D;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface sun.font.Decoration$Label.handleGetVisualBounds:()Ljava/awt/geom/Rectangle2D;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/font/Decoration;
0 1 1 label Lsun/font/Decoration$Label;
MethodParameters:
Name Flags
label
public java.awt.geom.Rectangle2D getCharVisualBounds(sun.font.Decoration$Label, int);
descriptor: (Lsun/font/Decoration$Label;I)Ljava/awt/geom/Rectangle2D;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iload 2
invokeinterface sun.font.Decoration$Label.handleGetCharVisualBounds:(I)Ljava/awt/geom/Rectangle2D;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/font/Decoration;
0 1 1 label Lsun/font/Decoration$Label;
0 1 2 index I
MethodParameters:
Name Flags
label
index
java.awt.Shape getOutline(sun.font.Decoration$Label, float, float);
descriptor: (Lsun/font/Decoration$Label;FF)Ljava/awt/Shape;
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
fload 2
fload 3
invokeinterface sun.font.Decoration$Label.handleGetOutline:(FF)Ljava/awt/Shape;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/font/Decoration;
0 1 1 label Lsun/font/Decoration$Label;
0 1 2 x F
0 1 3 y F
MethodParameters:
Name Flags
label
x
y
}
SourceFile: "Decoration.java"
NestMembers:
sun.font.Decoration$DecorationImpl sun.font.Decoration$Label
InnerClasses:
public Attribute = java.text.AttributedCharacterIterator$Attribute of java.text.AttributedCharacterIterator
private final DecorationImpl = sun.font.Decoration$DecorationImpl of sun.font.Decoration
public abstract Label = sun.font.Decoration$Label of sun.font.Decoration