final class sun.awt.windows.WFontMetrics extends java.awt.FontMetrics
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.awt.windows.WFontMetrics
super_class: java.awt.FontMetrics
{
int[] widths;
descriptor: [I
flags: (0x0000)
int ascent;
descriptor: I
flags: (0x0000)
int descent;
descriptor: I
flags: (0x0000)
int leading;
descriptor: I
flags: (0x0000)
int height;
descriptor: I
flags: (0x0000)
int maxAscent;
descriptor: I
flags: (0x0000)
int maxDescent;
descriptor: I
flags: (0x0000)
int maxHeight;
descriptor: I
flags: (0x0000)
int maxAdvance;
descriptor: I
flags: (0x0000)
static java.util.Hashtable<java.awt.Font, java.awt.FontMetrics> table;
descriptor: Ljava/util/Hashtable;
flags: (0x0008) ACC_STATIC
Signature: Ljava/util/Hashtable<Ljava/awt/Font;Ljava/awt/FontMetrics;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic sun.awt.windows.WFontMetrics.initIDs:()V
1: new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putstatic sun.awt.windows.WFontMetrics.table:Ljava/util/Hashtable;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.awt.Font);
descriptor: (Ljava/awt/Font;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.awt.FontMetrics.<init>:(Ljava/awt/Font;)V
1: aload 0
invokevirtual sun.awt.windows.WFontMetrics.init:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/windows/WFontMetrics;
0 3 1 font Ljava/awt/Font;
MethodParameters:
Name Flags
font
public int getLeading();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WFontMetrics.leading:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WFontMetrics;
public int getAscent();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WFontMetrics.ascent:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WFontMetrics;
public int getDescent();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WFontMetrics.descent:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WFontMetrics;
public int getHeight();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WFontMetrics.height:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WFontMetrics;
public int getMaxAscent();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WFontMetrics.maxAscent:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WFontMetrics;
public int getMaxDescent();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WFontMetrics.maxDescent:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WFontMetrics;
public int getMaxAdvance();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WFontMetrics.maxAdvance:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WFontMetrics;
public native int stringWidth(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
str
public native int charsWidth(char[], int, int);
descriptor: ([CII)I
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
data
off
len
public native int bytesWidth(byte[], int, int);
descriptor: ([BII)I
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
data
off
len
public int[] getWidths();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WFontMetrics.widths:[I
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WFontMetrics;
native void init();
descriptor: ()V
flags: (0x0100) ACC_NATIVE
static java.awt.FontMetrics getFontMetrics(java.awt.Font);
descriptor: (Ljava/awt/Font;)Ljava/awt/FontMetrics;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic sun.awt.windows.WFontMetrics.table:Ljava/util/Hashtable;
aload 0
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.awt.FontMetrics
astore 1
start local 1 1: aload 1
ifnonnull 3
2: getstatic sun.awt.windows.WFontMetrics.table:Ljava/util/Hashtable;
aload 0
new sun.awt.windows.WFontMetrics
dup
aload 0
invokespecial sun.awt.windows.WFontMetrics.<init>:(Ljava/awt/Font;)V
dup
astore 1
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: StackMap locals: java.awt.FontMetrics
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 font Ljava/awt/Font;
1 4 1 fm Ljava/awt/FontMetrics;
MethodParameters:
Name Flags
font
private static native void initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
}
SourceFile: "WFontMetrics.java"