public final class sun.font.TextLabelFactory
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.font.TextLabelFactory
super_class: java.lang.Object
{
private final java.awt.font.FontRenderContext frc;
descriptor: Ljava/awt/font/FontRenderContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final char[] text;
descriptor: [C
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.text.Bidi bidi;
descriptor: Ljava/text/Bidi;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.text.Bidi lineBidi;
descriptor: Ljava/text/Bidi;
flags: (0x0002) ACC_PRIVATE
private final int flags;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int lineStart;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int lineLimit;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(java.awt.font.FontRenderContext, char[], java.text.Bidi, int);
descriptor: (Ljava/awt/font/FontRenderContext;[CLjava/text/Bidi;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.font.TextLabelFactory.frc:Ljava/awt/font/FontRenderContext;
2: aload 0
aload 2
invokevirtual char[].clone:()Ljava/lang/Object;
checkcast char[]
putfield sun.font.TextLabelFactory.text:[C
3: aload 0
aload 3
putfield sun.font.TextLabelFactory.bidi:Ljava/text/Bidi;
4: aload 0
iload 4
putfield sun.font.TextLabelFactory.flags:I
5: aload 0
aload 3
putfield sun.font.TextLabelFactory.lineBidi:Ljava/text/Bidi;
6: aload 0
iconst_0
putfield sun.font.TextLabelFactory.lineStart:I
7: aload 0
aload 2
arraylength
putfield sun.font.TextLabelFactory.lineLimit:I
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/font/TextLabelFactory;
0 9 1 frc Ljava/awt/font/FontRenderContext;
0 9 2 text [C
0 9 3 bidi Ljava/text/Bidi;
0 9 4 flags I
MethodParameters:
Name Flags
frc
text
bidi
flags
public java.awt.font.FontRenderContext getFontRenderContext();
descriptor: ()Ljava/awt/font/FontRenderContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.font.TextLabelFactory.frc:Ljava/awt/font/FontRenderContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/font/TextLabelFactory;
public java.text.Bidi getLineBidi();
descriptor: ()Ljava/text/Bidi;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.font.TextLabelFactory.lineBidi:Ljava/text/Bidi;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/font/TextLabelFactory;
public void setLineContext(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
putfield sun.font.TextLabelFactory.lineStart:I
1: aload 0
iload 2
putfield sun.font.TextLabelFactory.lineLimit:I
2: aload 0
getfield sun.font.TextLabelFactory.bidi:Ljava/text/Bidi;
ifnull 4
3: aload 0
aload 0
getfield sun.font.TextLabelFactory.bidi:Ljava/text/Bidi;
iload 1
iload 2
invokevirtual java.text.Bidi.createLineBidi:(II)Ljava/text/Bidi;
putfield sun.font.TextLabelFactory.lineBidi:Ljava/text/Bidi;
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/font/TextLabelFactory;
0 5 1 lineStart I
0 5 2 lineLimit I
MethodParameters:
Name Flags
lineStart
lineLimit
public sun.font.ExtendedTextLabel createExtended(java.awt.Font, sun.font.CoreMetrics, sun.font.Decoration, int, int);
descriptor: (Ljava/awt/Font;Lsun/font/CoreMetrics;Lsun/font/Decoration;II)Lsun/font/ExtendedTextLabel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 4
iload 5
if_icmpge 1
iload 4
aload 0
getfield sun.font.TextLabelFactory.lineStart:I
if_icmplt 1
iload 5
aload 0
getfield sun.font.TextLabelFactory.lineLimit:I
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "bad start: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " or limit: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 5
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
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.font.TextLabelFactory.lineBidi:Ljava/text/Bidi;
ifnonnull 3
iconst_0
goto 4
StackMap locals:
StackMap stack:
3: aload 0
getfield sun.font.TextLabelFactory.lineBidi:Ljava/text/Bidi;
iload 4
aload 0
getfield sun.font.TextLabelFactory.lineStart:I
isub
invokevirtual java.text.Bidi.getLevelAt:(I)I
StackMap locals:
StackMap stack: int
4: istore 6
start local 6 5: aload 0
getfield sun.font.TextLabelFactory.lineBidi:Ljava/text/Bidi;
ifnull 6
aload 0
getfield sun.font.TextLabelFactory.lineBidi:Ljava/text/Bidi;
invokevirtual java.text.Bidi.baseIsLeftToRight:()Z
ifeq 7
StackMap locals: int
StackMap stack:
6: iconst_0
goto 8
StackMap locals:
StackMap stack:
7: iconst_1
StackMap locals:
StackMap stack: int
8: istore 7
start local 7 9: aload 0
getfield sun.font.TextLabelFactory.flags:I
bipush -10
iand
istore 8
start local 8 10: iload 6
iconst_1
iand
ifeq 11
iload 8
iconst_1
ior
istore 8
11: StackMap locals: int int
StackMap stack:
iload 7
iconst_1
iand
ifeq 12
iload 8
bipush 8
ior
istore 8
12: StackMap locals:
StackMap stack:
new sun.font.StandardTextSource
dup
aload 0
getfield sun.font.TextLabelFactory.text:[C
iload 4
iload 5
iload 4
isub
aload 0
getfield sun.font.TextLabelFactory.lineStart:I
aload 0
getfield sun.font.TextLabelFactory.lineLimit:I
aload 0
getfield sun.font.TextLabelFactory.lineStart:I
isub
iload 6
iload 8
aload 1
aload 0
getfield sun.font.TextLabelFactory.frc:Ljava/awt/font/FontRenderContext;
aload 2
invokespecial sun.font.StandardTextSource.<init>:([CIIIIIILjava/awt/Font;Ljava/awt/font/FontRenderContext;Lsun/font/CoreMetrics;)V
astore 9
start local 9 13: new sun.font.ExtendedTextSourceLabel
dup
aload 9
aload 3
invokespecial sun.font.ExtendedTextSourceLabel.<init>:(Lsun/font/TextSource;Lsun/font/Decoration;)V
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/font/TextLabelFactory;
0 14 1 font Ljava/awt/Font;
0 14 2 lm Lsun/font/CoreMetrics;
0 14 3 decorator Lsun/font/Decoration;
0 14 4 start I
0 14 5 limit I
5 14 6 level I
9 14 7 linedir I
10 14 8 layoutFlags I
13 14 9 source Lsun/font/TextSource;
MethodParameters:
Name Flags
font
lm
decorator
start
limit
public sun.font.TextLabel createSimple(java.awt.Font, sun.font.CoreMetrics, int, int);
descriptor: (Ljava/awt/Font;Lsun/font/CoreMetrics;II)Lsun/font/TextLabel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 3
iload 4
if_icmpge 1
iload 3
aload 0
getfield sun.font.TextLabelFactory.lineStart:I
if_icmplt 1
iload 4
aload 0
getfield sun.font.TextLabelFactory.lineLimit:I
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "bad start: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " or limit: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
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
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.font.TextLabelFactory.lineBidi:Ljava/text/Bidi;
ifnonnull 3
iconst_0
goto 4
StackMap locals:
StackMap stack:
3: aload 0
getfield sun.font.TextLabelFactory.lineBidi:Ljava/text/Bidi;
iload 3
aload 0
getfield sun.font.TextLabelFactory.lineStart:I
isub
invokevirtual java.text.Bidi.getLevelAt:(I)I
StackMap locals:
StackMap stack: int
4: istore 5
start local 5 5: aload 0
getfield sun.font.TextLabelFactory.lineBidi:Ljava/text/Bidi;
ifnull 6
aload 0
getfield sun.font.TextLabelFactory.lineBidi:Ljava/text/Bidi;
invokevirtual java.text.Bidi.baseIsLeftToRight:()Z
ifeq 7
StackMap locals: int
StackMap stack:
6: iconst_0
goto 8
StackMap locals:
StackMap stack:
7: iconst_1
StackMap locals:
StackMap stack: int
8: istore 6
start local 6 9: aload 0
getfield sun.font.TextLabelFactory.flags:I
bipush -10
iand
istore 7
start local 7 10: iload 5
iconst_1
iand
ifeq 11
iload 7
iconst_1
ior
istore 7
11: StackMap locals: int int
StackMap stack:
iload 6
iconst_1
iand
ifeq 12
iload 7
bipush 8
ior
istore 7
12: StackMap locals:
StackMap stack:
new sun.font.StandardTextSource
dup
aload 0
getfield sun.font.TextLabelFactory.text:[C
iload 3
iload 4
iload 3
isub
aload 0
getfield sun.font.TextLabelFactory.lineStart:I
aload 0
getfield sun.font.TextLabelFactory.lineLimit:I
aload 0
getfield sun.font.TextLabelFactory.lineStart:I
isub
iload 5
iload 7
aload 1
aload 0
getfield sun.font.TextLabelFactory.frc:Ljava/awt/font/FontRenderContext;
aload 2
invokespecial sun.font.StandardTextSource.<init>:([CIIIIIILjava/awt/Font;Ljava/awt/font/FontRenderContext;Lsun/font/CoreMetrics;)V
astore 8
start local 8 13: new sun.font.TextSourceLabel
dup
aload 8
invokespecial sun.font.TextSourceLabel.<init>:(Lsun/font/TextSource;)V
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/font/TextLabelFactory;
0 14 1 font Ljava/awt/Font;
0 14 2 lm Lsun/font/CoreMetrics;
0 14 3 start I
0 14 4 limit I
5 14 5 level I
9 14 6 linedir I
10 14 7 layoutFlags I
13 14 8 source Lsun/font/TextSource;
MethodParameters:
Name Flags
font
lm
start
limit
}
SourceFile: "TextLabelFactory.java"