public class com.sun.javafx.scene.control.skin.Utils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.javafx.scene.control.skin.Utils
super_class: java.lang.Object
{
static final javafx.scene.text.Text helper;
descriptor: Ljavafx/scene/text/Text;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final double DEFAULT_WRAPPING_WIDTH;
descriptor: D
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final double DEFAULT_LINE_SPACING;
descriptor: D
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.String DEFAULT_TEXT;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final javafx.scene.text.TextBoundsType DEFAULT_BOUNDS_TYPE;
descriptor: Ljavafx/scene/text/TextBoundsType;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final com.sun.javafx.scene.text.TextLayout layout;
descriptor: Lcom/sun/javafx/scene/text/TextLayout;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$javafx$geometry$HPos;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$javafx$geometry$VPos;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lcom/sun/javafx/scene/control/skin/Utils;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.sun.javafx.scene.control.skin.Utils.$assertionsDisabled:Z
3: new javafx.scene.text.Text
dup
invokespecial javafx.scene.text.Text.<init>:()V
putstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
4: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
invokevirtual javafx.scene.text.Text.getWrappingWidth:()D
putstatic com.sun.javafx.scene.control.skin.Utils.DEFAULT_WRAPPING_WIDTH:D
5: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
invokevirtual javafx.scene.text.Text.getLineSpacing:()D
putstatic com.sun.javafx.scene.control.skin.Utils.DEFAULT_LINE_SPACING:D
6: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
invokevirtual javafx.scene.text.Text.getText:()Ljava/lang/String;
putstatic com.sun.javafx.scene.control.skin.Utils.DEFAULT_TEXT:Ljava/lang/String;
7: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
invokevirtual javafx.scene.text.Text.getBoundsType:()Ljavafx/scene/text/TextBoundsType;
putstatic com.sun.javafx.scene.control.skin.Utils.DEFAULT_BOUNDS_TYPE:Ljavafx/scene/text/TextBoundsType;
8: invokestatic com.sun.javafx.tk.Toolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
invokevirtual com.sun.javafx.tk.Toolkit.getTextLayoutFactory:()Lcom/sun/javafx/scene/text/TextLayoutFactory;
invokeinterface com.sun.javafx.scene.text.TextLayoutFactory.createLayout:()Lcom/sun/javafx/scene/text/TextLayout;
putstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/scene/control/skin/Utils;
public static double getAscent(javafx.scene.text.Font, javafx.scene.text.TextBoundsType);
descriptor: (Ljavafx/scene/text/Font;Ljavafx/scene/text/TextBoundsType;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
ldc ""
aload 0
invokestatic com.sun.javafx.scene.text.FontHelper.getNativeFont:(Ljavafx/scene/text/Font;)Ljava/lang/Object;
invokeinterface com.sun.javafx.scene.text.TextLayout.setContent:(Ljava/lang/String;Ljava/lang/Object;)Z
pop
1: getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
fconst_0
invokeinterface com.sun.javafx.scene.text.TextLayout.setWrapWidth:(F)Z
pop
2: getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
fconst_0
invokeinterface com.sun.javafx.scene.text.TextLayout.setLineSpacing:(F)Z
pop
3: aload 1
getstatic javafx.scene.text.TextBoundsType.LOGICAL_VERTICAL_CENTER:Ljavafx/scene/text/TextBoundsType;
if_acmpne 6
4: getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
sipush 16384
invokeinterface com.sun.javafx.scene.text.TextLayout.setBoundsType:(I)Z
pop
5: goto 7
6: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
iconst_0
invokeinterface com.sun.javafx.scene.text.TextLayout.setBoundsType:(I)Z
pop
7: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
invokeinterface com.sun.javafx.scene.text.TextLayout.getBounds:()Lcom/sun/javafx/geom/BaseBounds;
invokevirtual com.sun.javafx.geom.BaseBounds.getMinY:()F
fneg
f2d
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 font Ljavafx/scene/text/Font;
0 8 1 boundsType Ljavafx/scene/text/TextBoundsType;
MethodParameters:
Name Flags
font
boundsType
public static double getLineHeight(javafx.scene.text.Font, javafx.scene.text.TextBoundsType);
descriptor: (Ljavafx/scene/text/Font;Ljavafx/scene/text/TextBoundsType;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
ldc ""
aload 0
invokestatic com.sun.javafx.scene.text.FontHelper.getNativeFont:(Ljavafx/scene/text/Font;)Ljava/lang/Object;
invokeinterface com.sun.javafx.scene.text.TextLayout.setContent:(Ljava/lang/String;Ljava/lang/Object;)Z
pop
1: getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
fconst_0
invokeinterface com.sun.javafx.scene.text.TextLayout.setWrapWidth:(F)Z
pop
2: getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
fconst_0
invokeinterface com.sun.javafx.scene.text.TextLayout.setLineSpacing:(F)Z
pop
3: aload 1
getstatic javafx.scene.text.TextBoundsType.LOGICAL_VERTICAL_CENTER:Ljavafx/scene/text/TextBoundsType;
if_acmpne 6
4: getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
sipush 16384
invokeinterface com.sun.javafx.scene.text.TextLayout.setBoundsType:(I)Z
pop
5: goto 7
6: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
iconst_0
invokeinterface com.sun.javafx.scene.text.TextLayout.setBoundsType:(I)Z
pop
7: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
invokeinterface com.sun.javafx.scene.text.TextLayout.getLines:()[Lcom/sun/javafx/scene/text/TextLine;
iconst_0
aaload
invokeinterface com.sun.javafx.scene.text.TextLine.getBounds:()Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getHeight:()F
f2d
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 font Ljavafx/scene/text/Font;
0 8 1 boundsType Ljavafx/scene/text/TextBoundsType;
MethodParameters:
Name Flags
font
boundsType
public static double computeTextWidth(javafx.scene.text.Font, java.lang.String, double);
descriptor: (Ljavafx/scene/text/Font;Ljava/lang/String;D)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
aload 1
ifnull 1
aload 1
goto 2
StackMap locals:
StackMap stack: com.sun.javafx.scene.text.TextLayout
1: ldc ""
StackMap locals: javafx.scene.text.Font java.lang.String double
StackMap stack: com.sun.javafx.scene.text.TextLayout java.lang.String
2: aload 0
invokestatic com.sun.javafx.scene.text.FontHelper.getNativeFont:(Ljavafx/scene/text/Font;)Ljava/lang/Object;
invokeinterface com.sun.javafx.scene.text.TextLayout.setContent:(Ljava/lang/String;Ljava/lang/Object;)Z
pop
3: getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
dload 2
d2f
invokeinterface com.sun.javafx.scene.text.TextLayout.setWrapWidth:(F)Z
pop
4: getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
invokeinterface com.sun.javafx.scene.text.TextLayout.getBounds:()Lcom/sun/javafx/geom/BaseBounds;
invokevirtual com.sun.javafx.geom.BaseBounds.getWidth:()F
f2d
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 font Ljavafx/scene/text/Font;
0 5 1 text Ljava/lang/String;
0 5 2 wrappingWidth D
MethodParameters:
Name Flags
font
text
wrappingWidth
public static double computeTextHeight(javafx.scene.text.Font, java.lang.String, double, javafx.scene.text.TextBoundsType);
descriptor: (Ljavafx/scene/text/Font;Ljava/lang/String;DLjavafx/scene/text/TextBoundsType;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
aload 1
dload 2
dconst_0
aload 4
invokestatic com.sun.javafx.scene.control.skin.Utils.computeTextHeight:(Ljavafx/scene/text/Font;Ljava/lang/String;DDLjavafx/scene/text/TextBoundsType;)D
dreturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 font Ljavafx/scene/text/Font;
0 1 1 text Ljava/lang/String;
0 1 2 wrappingWidth D
0 1 4 boundsType Ljavafx/scene/text/TextBoundsType;
MethodParameters:
Name Flags
font
text
wrappingWidth
boundsType
public static double computeTextHeight(javafx.scene.text.Font, java.lang.String, double, double, javafx.scene.text.TextBoundsType);
descriptor: (Ljavafx/scene/text/Font;Ljava/lang/String;DDLjavafx/scene/text/TextBoundsType;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 6 0: getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
aload 1
ifnull 1
aload 1
goto 2
StackMap locals:
StackMap stack: com.sun.javafx.scene.text.TextLayout
1: ldc ""
StackMap locals: javafx.scene.text.Font java.lang.String double double javafx.scene.text.TextBoundsType
StackMap stack: com.sun.javafx.scene.text.TextLayout java.lang.String
2: aload 0
invokestatic com.sun.javafx.scene.text.FontHelper.getNativeFont:(Ljavafx/scene/text/Font;)Ljava/lang/Object;
invokeinterface com.sun.javafx.scene.text.TextLayout.setContent:(Ljava/lang/String;Ljava/lang/Object;)Z
pop
3: getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
dload 2
d2f
invokeinterface com.sun.javafx.scene.text.TextLayout.setWrapWidth:(F)Z
pop
4: getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
dload 4
d2f
invokeinterface com.sun.javafx.scene.text.TextLayout.setLineSpacing:(F)Z
pop
5: aload 6
getstatic javafx.scene.text.TextBoundsType.LOGICAL_VERTICAL_CENTER:Ljavafx/scene/text/TextBoundsType;
if_acmpne 8
6: getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
sipush 16384
invokeinterface com.sun.javafx.scene.text.TextLayout.setBoundsType:(I)Z
pop
7: goto 9
8: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
iconst_0
invokeinterface com.sun.javafx.scene.text.TextLayout.setBoundsType:(I)Z
pop
9: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
invokeinterface com.sun.javafx.scene.text.TextLayout.getBounds:()Lcom/sun/javafx/geom/BaseBounds;
invokevirtual com.sun.javafx.geom.BaseBounds.getHeight:()F
f2d
dreturn
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 font Ljavafx/scene/text/Font;
0 10 1 text Ljava/lang/String;
0 10 2 wrappingWidth D
0 10 4 lineSpacing D
0 10 6 boundsType Ljavafx/scene/text/TextBoundsType;
MethodParameters:
Name Flags
font
text
wrappingWidth
lineSpacing
boundsType
public static javafx.geometry.Point2D computeMnemonicPosition(javafx.scene.text.Font, java.lang.String, int, double, double);
descriptor: (Ljavafx/scene/text/Font;Ljava/lang/String;IDD)Ljavafx/geometry/Point2D;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=16, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 0
ifnull 2
aload 1
ifnull 2
1: iload 2
iflt 2
iload 2
aload 1
invokevirtual java.lang.String.length:()I
if_icmple 3
2: StackMap locals:
StackMap stack:
aconst_null
areturn
3: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
aload 1
aload 0
invokestatic com.sun.javafx.scene.text.FontHelper.getNativeFont:(Ljavafx/scene/text/Font;)Ljava/lang/Object;
invokeinterface com.sun.javafx.scene.text.TextLayout.setContent:(Ljava/lang/String;Ljava/lang/Object;)Z
pop
4: getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
dload 3
d2f
invokeinterface com.sun.javafx.scene.text.TextLayout.setWrapWidth:(F)Z
pop
5: getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
dload 5
d2f
invokeinterface com.sun.javafx.scene.text.TextLayout.setLineSpacing:(F)Z
pop
6: iconst_0
istore 7
start local 7 7: iconst_0
istore 8
start local 8 8: getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
invokeinterface com.sun.javafx.scene.text.TextLayout.getLines:()[Lcom/sun/javafx/scene/text/TextLine;
arraylength
istore 9
start local 9 9: goto 16
10: StackMap locals: int int int
StackMap stack:
getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
invokeinterface com.sun.javafx.scene.text.TextLayout.getLines:()[Lcom/sun/javafx/scene/text/TextLine;
iload 8
aaload
invokeinterface com.sun.javafx.scene.text.TextLine.getLength:()I
istore 10
start local 10 11: iload 2
iload 7
if_icmplt 14
12: iload 2
iload 7
iload 10
iadd
if_icmpge 14
13: goto 17
14: StackMap locals: int
StackMap stack:
iload 7
iload 10
iadd
istore 7
15: iinc 8 1
end local 10 16: StackMap locals:
StackMap stack:
iload 8
iload 9
if_icmplt 10
17: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.scene.control.skin.Utils.layout:Lcom/sun/javafx/scene/text/TextLayout;
invokeinterface com.sun.javafx.scene.text.TextLayout.getBounds:()Lcom/sun/javafx/geom/BaseBounds;
invokevirtual com.sun.javafx.geom.BaseBounds.getHeight:()F
iload 9
i2f
fdiv
f2d
dstore 10
start local 10 18: aload 0
aload 1
iload 7
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
dconst_0
invokestatic com.sun.javafx.scene.control.skin.Utils.computeTextWidth:(Ljavafx/scene/text/Font;Ljava/lang/String;D)D
dstore 12
start local 12 19: dload 10
iload 8
iconst_1
iadd
i2d
dmul
dstore 14
start local 14 20: iload 8
iconst_1
iadd
iload 9
if_icmpeq 22
21: dload 14
dload 5
ldc 2.0
ddiv
dsub
dstore 14
22: StackMap locals: double double double
StackMap stack:
new javafx.geometry.Point2D
dup
dload 12
dload 14
invokespecial javafx.geometry.Point2D.<init>:(DD)V
areturn
end local 14 end local 12 end local 10 end local 9 end local 8 end local 7 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 font Ljavafx/scene/text/Font;
0 23 1 text Ljava/lang/String;
0 23 2 mnemonicIndex I
0 23 3 wrappingWidth D
0 23 5 lineSpacing D
7 23 7 start I
8 23 8 i I
9 23 9 totalLines I
11 16 10 lineLength I
18 23 10 lineHeight D
19 23 12 x D
20 23 14 y D
MethodParameters:
Name Flags
font
text
mnemonicIndex
wrappingWidth
lineSpacing
public static int computeTruncationIndex(javafx.scene.text.Font, java.lang.String, double);
descriptor: (Ljavafx/scene/text/Font;Ljava/lang/String;D)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=7, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
aload 1
invokevirtual javafx.scene.text.Text.setText:(Ljava/lang/String;)V
1: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
aload 0
invokevirtual javafx.scene.text.Text.setFont:(Ljavafx/scene/text/Font;)V
2: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
dconst_0
invokevirtual javafx.scene.text.Text.setWrappingWidth:(D)V
3: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
dconst_0
invokevirtual javafx.scene.text.Text.setLineSpacing:(D)V
4: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
invokevirtual javafx.scene.text.Text.getLayoutBounds:()Ljavafx/geometry/Bounds;
astore 4
start local 4 5: new javafx.geometry.Point2D
dup
dload 2
ldc 2.0
dsub
aload 4
invokevirtual javafx.geometry.Bounds.getMinY:()D
aload 4
invokevirtual javafx.geometry.Bounds.getHeight:()D
ldc 2.0
ddiv
dadd
invokespecial javafx.geometry.Point2D.<init>:(DD)V
astore 5
start local 5 6: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
aload 5
invokevirtual javafx.scene.text.Text.hitTest:(Ljavafx/geometry/Point2D;)Ljavafx/scene/text/HitInfo;
invokevirtual javafx.scene.text.HitInfo.getCharIndex:()I
istore 6
start local 6 7: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
getstatic com.sun.javafx.scene.control.skin.Utils.DEFAULT_WRAPPING_WIDTH:D
invokevirtual javafx.scene.text.Text.setWrappingWidth:(D)V
8: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
getstatic com.sun.javafx.scene.control.skin.Utils.DEFAULT_LINE_SPACING:D
invokevirtual javafx.scene.text.Text.setLineSpacing:(D)V
9: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
getstatic com.sun.javafx.scene.control.skin.Utils.DEFAULT_TEXT:Ljava/lang/String;
invokevirtual javafx.scene.text.Text.setText:(Ljava/lang/String;)V
10: iload 6
ireturn
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 font Ljavafx/scene/text/Font;
0 11 1 text Ljava/lang/String;
0 11 2 width D
5 11 4 bounds Ljavafx/geometry/Bounds;
6 11 5 endPoint Ljavafx/geometry/Point2D;
7 11 6 index I
MethodParameters:
Name Flags
font
text
width
public static java.lang.String computeClippedText(javafx.scene.text.Font, java.lang.String, double, javafx.scene.control.OverrunStyle, java.lang.String);
descriptor: (Ljavafx/scene/text/Font;Ljava/lang/String;DLjavafx/scene/control/OverrunStyle;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=26, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 5 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Must specify a font"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 4
ifnull 3
aload 4
getstatic javafx.scene.control.OverrunStyle.CLIP:Ljavafx/scene/control/OverrunStyle;
if_acmpne 4
StackMap locals:
StackMap stack:
3: getstatic javafx.scene.control.OverrunStyle.ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
goto 5
StackMap locals:
StackMap stack:
4: aload 4
StackMap locals:
StackMap stack: javafx.scene.control.OverrunStyle
5: astore 6
start local 6 6: aload 4
getstatic javafx.scene.control.OverrunStyle.CLIP:Ljavafx/scene/control/OverrunStyle;
if_acmpne 7
ldc ""
goto 8
StackMap locals: javafx.scene.control.OverrunStyle
StackMap stack:
7: aload 5
StackMap locals:
StackMap stack: java.lang.String
8: astore 7
start local 7 9: aload 1
ifnull 10
ldc ""
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
10: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
11: StackMap locals:
StackMap stack:
aload 0
aload 1
dconst_0
invokestatic com.sun.javafx.scene.control.skin.Utils.computeTextWidth:(Ljavafx/scene/text/Font;Ljava/lang/String;D)D
dstore 8
start local 8 12: dload 8
dload 2
dsub
ldc 0.0010000000474974513
dcmpg
ifge 14
13: aload 1
areturn
14: StackMap locals: double
StackMap stack:
aload 0
aload 7
dconst_0
invokestatic com.sun.javafx.scene.control.skin.Utils.computeTextWidth:(Ljavafx/scene/text/Font;Ljava/lang/String;D)D
dstore 10
start local 10 15: dload 2
dload 10
dsub
dstore 12
start local 12 16: dload 2
dload 10
dcmpg
ifge 18
17: ldc ""
areturn
18: StackMap locals: double double
StackMap stack:
aload 6
getstatic javafx.scene.control.OverrunStyle.ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
if_acmpeq 22
19: aload 6
getstatic javafx.scene.control.OverrunStyle.WORD_ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
if_acmpeq 22
20: aload 6
getstatic javafx.scene.control.OverrunStyle.LEADING_ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
if_acmpeq 22
21: aload 6
getstatic javafx.scene.control.OverrunStyle.LEADING_WORD_ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
if_acmpne 84
22: StackMap locals:
StackMap stack:
aload 6
getstatic javafx.scene.control.OverrunStyle.WORD_ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
if_acmpeq 24
aload 6
getstatic javafx.scene.control.OverrunStyle.LEADING_WORD_ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
if_acmpeq 24
23: iconst_0
goto 25
StackMap locals:
StackMap stack:
24: iconst_1
StackMap locals:
StackMap stack: int
25: istore 14
start local 14 26: aload 6
getstatic javafx.scene.control.OverrunStyle.ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
if_acmpne 31
new java.text.Bidi
dup
aload 1
iconst_0
invokespecial java.text.Bidi.<init>:(Ljava/lang/String;I)V
invokevirtual java.text.Bidi.isMixed:()Z
ifne 31
27: aload 0
aload 1
dload 2
dload 10
dsub
invokestatic com.sun.javafx.scene.control.skin.Utils.computeTruncationIndex:(Ljavafx/scene/text/Font;Ljava/lang/String;D)I
istore 16
start local 16 28: iload 16
iflt 29
iload 16
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 30
29: StackMap locals: javafx.scene.text.Font java.lang.String double javafx.scene.control.OverrunStyle java.lang.String javafx.scene.control.OverrunStyle java.lang.String double double double int top int
StackMap stack:
aload 1
areturn
30: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
iconst_0
iload 16
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 16 31: StackMap locals: javafx.scene.text.Font java.lang.String double javafx.scene.control.OverrunStyle java.lang.String javafx.scene.control.OverrunStyle java.lang.String double double double int
StackMap stack:
dconst_0
dstore 16
start local 16 32: iconst_m1
istore 18
start local 18 33: iconst_0
istore 19
start local 19 34: aload 6
getstatic javafx.scene.control.OverrunStyle.LEADING_ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
if_acmpeq 35
aload 6
getstatic javafx.scene.control.OverrunStyle.LEADING_WORD_ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
if_acmpne 36
StackMap locals: javafx.scene.text.Font java.lang.String double javafx.scene.control.OverrunStyle java.lang.String javafx.scene.control.OverrunStyle java.lang.String double double double int top double int int
StackMap stack:
35: aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
goto 37
StackMap locals:
StackMap stack:
36: iconst_0
StackMap locals:
StackMap stack: int
37: istore 20
start local 20 38: iload 20
ifne 39
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
goto 40
StackMap locals: int
StackMap stack:
39: iconst_0
StackMap locals:
StackMap stack: int
40: istore 21
start local 21 41: iload 20
ifne 42
iconst_1
goto 43
StackMap locals: int
StackMap stack:
42: iconst_m1
StackMap locals:
StackMap stack: int
43: istore 22
start local 22 44: iload 20
ifne 46
iload 20
iload 21
if_icmple 45
iconst_1
goto 48
StackMap locals: int
StackMap stack:
45: iconst_0
goto 48
StackMap locals:
StackMap stack:
46: iload 20
iload 21
if_icmpge 47
iconst_1
goto 48
StackMap locals:
StackMap stack:
47: iconst_0
StackMap locals:
StackMap stack: int
48: istore 23
start local 23 49: iload 20
istore 24
start local 24 50: goto 68
51: StackMap locals: int int
StackMap stack:
iload 24
istore 19
52: aload 1
iload 19
invokevirtual java.lang.String.charAt:(I)C
istore 25
start local 25 53: aload 0
54: iload 20
ifne 55
aload 1
iconst_0
iload 24
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 56
55: StackMap locals: javafx.scene.text.Font java.lang.String double javafx.scene.control.OverrunStyle java.lang.String javafx.scene.control.OverrunStyle java.lang.String double double double int top double int int int int int int int int
StackMap stack: javafx.scene.text.Font
aload 1
iload 24
iload 20
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
56: StackMap locals: javafx.scene.text.Font java.lang.String double javafx.scene.control.OverrunStyle java.lang.String javafx.scene.control.OverrunStyle java.lang.String double double double int top double int int int int int int int int
StackMap stack: javafx.scene.text.Font java.lang.String
dconst_0
57: invokestatic com.sun.javafx.scene.control.skin.Utils.computeTextWidth:(Ljavafx/scene/text/Font;Ljava/lang/String;D)D
dstore 16
58: iload 25
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 60
59: iload 19
istore 18
60: StackMap locals:
StackMap stack:
dload 16
dload 12
dcmpl
ifle 62
61: goto 69
62: StackMap locals:
StackMap stack:
iload 20
ifne 64
iload 24
iload 21
if_icmplt 63
iconst_1
goto 66
StackMap locals:
StackMap stack:
63: iconst_0
goto 66
StackMap locals:
StackMap stack:
64: iload 24
iload 21
if_icmpgt 65
iconst_1
goto 66
StackMap locals:
StackMap stack:
65: iconst_0
StackMap locals:
StackMap stack: int
66: istore 23
end local 25 67: iload 24
iload 22
iadd
istore 24
StackMap locals:
StackMap stack:
68: iload 23
ifeq 51
end local 24 69: StackMap locals:
StackMap stack:
iload 14
ifeq 70
iload 18
iconst_m1
if_icmpeq 70
iconst_0
goto 71
StackMap locals:
StackMap stack:
70: iconst_1
StackMap locals:
StackMap stack: int
71: istore 24
start local 24 72: iload 20
ifne 76
73: aload 1
iconst_0
iload 24
ifeq 74
iload 19
goto 75
StackMap locals: javafx.scene.text.Font java.lang.String double javafx.scene.control.OverrunStyle java.lang.String javafx.scene.control.OverrunStyle java.lang.String double double double int top double int int int int int int int
StackMap stack: java.lang.String int
74: iload 18
StackMap locals: javafx.scene.text.Font java.lang.String double javafx.scene.control.OverrunStyle java.lang.String javafx.scene.control.OverrunStyle java.lang.String double double double int top double int int int int int int int
StackMap stack: java.lang.String int int
75: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 79
76: StackMap locals:
StackMap stack:
aload 1
iload 24
ifeq 77
iload 19
goto 78
StackMap locals:
StackMap stack: java.lang.String
77: iload 18
StackMap locals: javafx.scene.text.Font java.lang.String double javafx.scene.control.OverrunStyle java.lang.String javafx.scene.control.OverrunStyle java.lang.String double double double int top double int int int int int int int
StackMap stack: java.lang.String int
78: iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
79: StackMap locals:
StackMap stack: java.lang.String
astore 15
start local 15 80: getstatic com.sun.javafx.scene.control.skin.Utils.$assertionsDisabled:Z
ifne 81
aload 1
aload 15
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 81
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 24 end local 23 end local 22 end local 21 end local 20 end local 19 end local 18 end local 16 81: StackMap locals: javafx.scene.text.Font java.lang.String double javafx.scene.control.OverrunStyle java.lang.String javafx.scene.control.OverrunStyle java.lang.String double double double int java.lang.String
StackMap stack:
aload 6
getstatic javafx.scene.control.OverrunStyle.ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
if_acmpeq 82
aload 6
getstatic javafx.scene.control.OverrunStyle.WORD_ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
if_acmpne 83
82: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 15
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
83: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 7
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 15
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 15 end local 14 84: StackMap locals:
StackMap stack:
iconst_0
istore 14
start local 14 85: iconst_0
istore 15
start local 15 86: iconst_m1
istore 16
start local 16 87: iconst_m1
istore 17
start local 17 88: iconst_m1
istore 14
89: iconst_m1
istore 15
90: dconst_0
dstore 18
start local 18 91: iconst_0
istore 20
start local 20 92: goto 109
93: StackMap locals: javafx.scene.text.Font java.lang.String double javafx.scene.control.OverrunStyle java.lang.String javafx.scene.control.OverrunStyle java.lang.String double double double int int int int double int
StackMap stack:
aload 1
iload 20
invokevirtual java.lang.String.charAt:(I)C
istore 21
start local 21 94: dload 18
aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 21
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
dconst_0
invokestatic com.sun.javafx.scene.control.skin.Utils.computeTextWidth:(Ljavafx/scene/text/Font;Ljava/lang/String;D)D
dadd
dstore 18
95: dload 18
dload 12
dcmpl
ifle 97
96: goto 110
97: StackMap locals: int
StackMap stack:
iload 20
istore 14
98: iload 21
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 100
99: iload 14
istore 16
100: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
iload 20
isub
istore 22
start local 22 101: aload 1
iload 22
invokevirtual java.lang.String.charAt:(I)C
istore 21
102: dload 18
aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 21
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
dconst_0
invokestatic com.sun.javafx.scene.control.skin.Utils.computeTextWidth:(Ljavafx/scene/text/Font;Ljava/lang/String;D)D
dadd
dstore 18
103: dload 18
dload 12
dcmpl
ifle 105
104: goto 110
105: StackMap locals: int
StackMap stack:
iload 22
istore 15
106: iload 21
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 108
107: iload 15
istore 17
end local 22 end local 21 108: StackMap locals:
StackMap stack:
iinc 20 1
StackMap locals:
StackMap stack:
109: iload 20
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
if_icmple 93
end local 20 end local 18 110: StackMap locals:
StackMap stack:
iload 14
ifge 112
111: aload 7
areturn
112: StackMap locals:
StackMap stack:
aload 6
getstatic javafx.scene.control.OverrunStyle.CENTER_ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
if_acmpne 116
113: iload 15
ifge 115
114: new java.lang.StringBuilder
dup
aload 1
iconst_0
iload 14
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
115: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
iconst_0
iload 14
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
iload 15
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
116: StackMap locals:
StackMap stack:
aload 1
iload 14
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isWhitespace:(C)Z
117: istore 18
start local 18 118: iload 16
iconst_m1
if_icmpeq 119
iload 18
ifeq 120
StackMap locals: int
StackMap stack:
119: iload 14
iconst_1
iadd
goto 121
StackMap locals:
StackMap stack:
120: iload 16
StackMap locals:
StackMap stack: int
121: istore 19
start local 19 122: aload 1
iconst_0
iload 19
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 20
start local 20 123: iload 15
ifge 125
124: new java.lang.StringBuilder
dup
aload 20
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
125: StackMap locals: int java.lang.String
StackMap stack:
aload 1
iload 15
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isWhitespace:(C)Z
126: istore 21
start local 21 127: iload 17
iconst_m1
if_icmpeq 128
iload 21
ifeq 129
StackMap locals: int
StackMap stack:
128: iload 15
goto 130
StackMap locals:
StackMap stack:
129: iload 17
iconst_1
iadd
StackMap locals:
StackMap stack: int
130: istore 19
131: aload 1
iload 19
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 22
start local 22 132: new java.lang.StringBuilder
dup
aload 20
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 22
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 22 end local 21 end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 end local 12 end local 10 end local 8 end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 133 0 font Ljavafx/scene/text/Font;
0 133 1 text Ljava/lang/String;
0 133 2 width D
0 133 4 type Ljavafx/scene/control/OverrunStyle;
0 133 5 ellipsisString Ljava/lang/String;
6 133 6 style Ljavafx/scene/control/OverrunStyle;
9 133 7 ellipsis Ljava/lang/String;
12 133 8 stringWidth D
15 133 10 ellipsisWidth D
16 133 12 availableWidth D
26 84 14 wordTrim Z
80 84 15 substring Ljava/lang/String;
28 31 16 hit I
32 81 16 total D
33 81 18 whitespaceIndex I
34 81 19 index I
38 81 20 start I
41 81 21 end I
44 81 22 stepValue I
49 81 23 done Z
50 69 24 i I
53 67 25 c C
72 81 24 fullTrim Z
85 133 14 leadingIndex I
86 133 15 trailingIndex I
87 133 16 leadingWhitespace I
88 133 17 trailingWhitespace I
91 110 18 total D
92 110 20 i I
94 108 21 c C
101 108 22 index I
118 133 18 leadingIndexIsLastLetterInWord Z
122 133 19 index I
123 133 20 leading Ljava/lang/String;
127 133 21 trailingIndexIsFirstLetterInWord Z
132 133 22 trailing Ljava/lang/String;
MethodParameters:
Name Flags
font
text
width
type
ellipsisString
public static java.lang.String computeClippedWrappedText(javafx.scene.text.Font, java.lang.String, double, double, javafx.scene.control.OverrunStyle, java.lang.String, javafx.scene.text.TextBoundsType);
descriptor: (Ljavafx/scene/text/Font;Ljava/lang/String;DDLjavafx/scene/control/OverrunStyle;Ljava/lang/String;Ljavafx/scene/text/TextBoundsType;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=28, args_size=7
start local 0 start local 1 start local 2 start local 4 start local 6 start local 7 start local 8 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Must specify a font"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 6
getstatic javafx.scene.control.OverrunStyle.CLIP:Ljavafx/scene/control/OverrunStyle;
if_acmpne 3
ldc ""
goto 4
StackMap locals:
StackMap stack:
3: aload 7
StackMap locals:
StackMap stack: java.lang.String
4: astore 9
start local 9 5: aload 9
invokevirtual java.lang.String.length:()I
istore 10
start local 10 6: aload 0
aload 9
dconst_0
invokestatic com.sun.javafx.scene.control.skin.Utils.computeTextWidth:(Ljavafx/scene/text/Font;Ljava/lang/String;D)D
dstore 11
start local 11 7: aload 0
aload 9
dconst_0
aload 8
invokestatic com.sun.javafx.scene.control.skin.Utils.computeTextHeight:(Ljavafx/scene/text/Font;Ljava/lang/String;DLjavafx/scene/text/TextBoundsType;)D
dstore 13
start local 13 8: dload 2
dload 11
dcmpg
iflt 9
dload 4
dload 13
dcmpg
ifge 10
9: StackMap locals: javafx.scene.text.Font java.lang.String double double javafx.scene.control.OverrunStyle java.lang.String javafx.scene.text.TextBoundsType java.lang.String int double double
StackMap stack:
aload 1
areturn
10: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
aload 1
invokevirtual javafx.scene.text.Text.setText:(Ljava/lang/String;)V
11: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
aload 0
invokevirtual javafx.scene.text.Text.setFont:(Ljavafx/scene/text/Font;)V
12: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
dload 2
invokestatic java.lang.Math.ceil:(D)D
d2i
i2d
invokevirtual javafx.scene.text.Text.setWrappingWidth:(D)V
13: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
aload 8
invokevirtual javafx.scene.text.Text.setBoundsType:(Ljavafx/scene/text/TextBoundsType;)V
14: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
dconst_0
invokevirtual javafx.scene.text.Text.setLineSpacing:(D)V
15: aload 6
getstatic javafx.scene.control.OverrunStyle.LEADING_ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
if_acmpeq 18
16: aload 6
getstatic javafx.scene.control.OverrunStyle.LEADING_WORD_ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
if_acmpeq 18
17: iconst_0
goto 19
StackMap locals:
StackMap stack:
18: iconst_1
StackMap locals:
StackMap stack: int
19: istore 15
start local 15 20: aload 6
getstatic javafx.scene.control.OverrunStyle.CENTER_ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
if_acmpeq 23
21: aload 6
getstatic javafx.scene.control.OverrunStyle.CENTER_WORD_ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
if_acmpeq 23
22: iconst_0
goto 24
StackMap locals: int
StackMap stack:
23: iconst_1
StackMap locals:
StackMap stack: int
24: istore 16
start local 16 25: iload 15
ifne 26
iload 16
ifeq 27
StackMap locals: int
StackMap stack:
26: iconst_0
goto 28
StackMap locals:
StackMap stack:
27: iconst_1
StackMap locals:
StackMap stack: int
28: istore 17
start local 17 29: aload 6
getstatic javafx.scene.control.OverrunStyle.WORD_ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
if_acmpeq 33
30: aload 6
getstatic javafx.scene.control.OverrunStyle.LEADING_WORD_ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
if_acmpeq 33
31: aload 6
getstatic javafx.scene.control.OverrunStyle.CENTER_WORD_ELLIPSIS:Ljavafx/scene/control/OverrunStyle;
if_acmpeq 33
32: iconst_0
goto 34
StackMap locals: int
StackMap stack:
33: iconst_1
StackMap locals:
StackMap stack: int
34: istore 18
start local 18 35: aload 1
astore 19
start local 19 36: aload 19
ifnull 37
aload 19
invokevirtual java.lang.String.length:()I
goto 38
StackMap locals: int java.lang.String
StackMap stack:
37: iconst_0
StackMap locals:
StackMap stack: int
38: istore 20
start local 20 39: iconst_m1
istore 21
start local 21 40: aconst_null
astore 22
start local 22 41: iload 16
ifeq 43
42: new javafx.geometry.Point2D
dup
dload 2
dload 11
dsub
ldc 2.0
ddiv
dload 4
ldc 2.0
ddiv
getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
invokevirtual javafx.scene.text.Text.getBaselineOffset:()D
dsub
invokespecial javafx.geometry.Point2D.<init>:(DD)V
astore 22
43: StackMap locals: int int javafx.geometry.Point2D
StackMap stack:
new javafx.geometry.Point2D
dup
dconst_0
dload 4
getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
invokevirtual javafx.scene.text.Text.getBaselineOffset:()D
dsub
invokespecial javafx.geometry.Point2D.<init>:(DD)V
astore 23
start local 23 44: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
aload 23
invokevirtual javafx.scene.text.Text.hitTest:(Ljavafx/geometry/Point2D;)Ljavafx/scene/text/HitInfo;
invokevirtual javafx.scene.text.HitInfo.getCharIndex:()I
istore 24
start local 24 45: iload 24
iload 20
if_icmplt 48
46: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
getstatic javafx.scene.text.TextBoundsType.LOGICAL:Ljavafx/scene/text/TextBoundsType;
invokevirtual javafx.scene.text.Text.setBoundsType:(Ljavafx/scene/text/TextBoundsType;)V
47: aload 1
areturn
48: StackMap locals: javafx.geometry.Point2D int
StackMap stack:
iload 16
ifeq 50
49: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
aload 22
invokevirtual javafx.scene.text.Text.hitTest:(Ljavafx/geometry/Point2D;)Ljavafx/scene/text/HitInfo;
invokevirtual javafx.scene.text.HitInfo.getCharIndex:()I
istore 24
50: StackMap locals:
StackMap stack:
iload 24
ifle 109
iload 24
iload 20
if_icmpge 109
51: iload 16
ifne 52
iload 17
ifeq 64
52: StackMap locals:
StackMap stack:
iload 24
istore 25
start local 25 53: iload 16
ifeq 63
54: iload 18
ifeq 62
55: aload 1
iload 25
iconst_1
iadd
invokestatic com.sun.javafx.scene.control.skin.Utils.lastBreakCharIndex:(Ljava/lang/String;I)I
istore 26
start local 26 56: iload 26
iflt 59
57: iload 26
iconst_1
iadd
istore 25
58: goto 62
59: StackMap locals: int int
StackMap stack:
aload 1
iload 25
invokestatic com.sun.javafx.scene.control.skin.Utils.firstBreakCharIndex:(Ljava/lang/String;I)I
istore 26
60: iload 26
iflt 62
61: iload 26
iconst_1
iadd
istore 25
end local 26 62: StackMap locals:
StackMap stack:
iload 25
iload 10
iadd
istore 21
63: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 19
iconst_0
iload 25
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 19
end local 25 64: StackMap locals:
StackMap stack:
iload 15
ifne 65
iload 16
ifeq 78
65: StackMap locals:
StackMap stack:
iconst_0
iload 20
iload 24
isub
bipush 10
isub
invokestatic java.lang.Math.max:(II)I
istore 25
start local 25 66: iload 25
ifle 74
iload 18
ifeq 74
67: aload 1
iload 25
iconst_1
iadd
invokestatic com.sun.javafx.scene.control.skin.Utils.lastBreakCharIndex:(Ljava/lang/String;I)I
istore 26
start local 26 68: iload 26
iflt 71
69: iload 26
iconst_1
iadd
istore 25
70: goto 74
71: StackMap locals: int int
StackMap stack:
aload 1
iload 25
invokestatic com.sun.javafx.scene.control.skin.Utils.firstBreakCharIndex:(Ljava/lang/String;I)I
istore 26
72: iload 26
iflt 74
73: iload 26
iconst_1
iadd
istore 25
end local 26 74: StackMap locals:
StackMap stack:
iload 16
ifeq 77
75: new java.lang.StringBuilder
dup
aload 19
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
iload 25
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 19
76: goto 78
77: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 9
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
iload 25
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 19
end local 25 78: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
aload 19
invokevirtual javafx.scene.text.Text.setText:(Ljava/lang/String;)V
79: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
aload 23
invokevirtual javafx.scene.text.Text.hitTest:(Ljavafx/geometry/Point2D;)Ljavafx/scene/text/HitInfo;
invokevirtual javafx.scene.text.HitInfo.getCharIndex:()I
istore 25
start local 25 80: iload 16
ifeq 85
iload 25
iload 21
if_icmpge 85
81: iload 25
ifle 83
aload 19
iload 25
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 10
if_icmpne 83
82: iinc 25 -1
83: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
iconst_0
iload 25
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 19
84: goto 109
85: StackMap locals:
StackMap stack:
iload 25
ifle 109
iload 25
aload 19
invokevirtual java.lang.String.length:()I
if_icmpge 109
86: iload 15
ifeq 94
87: iload 10
iconst_1
iadd
istore 26
start local 26 88: iload 18
ifeq 92
89: aload 19
iload 26
invokestatic com.sun.javafx.scene.control.skin.Utils.firstBreakCharIndex:(Ljava/lang/String;I)I
istore 27
start local 27 90: iload 27
iflt 92
91: iload 27
iconst_1
iadd
istore 26
end local 27 92: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
aload 9
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 19
iload 26
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 19
end local 26 93: goto 78
StackMap locals:
StackMap stack:
94: iload 16
ifeq 102
95: iload 21
iconst_1
iadd
istore 26
start local 26 96: iload 18
ifeq 100
97: aload 19
iload 26
invokestatic com.sun.javafx.scene.control.skin.Utils.firstBreakCharIndex:(Ljava/lang/String;I)I
istore 27
start local 27 98: iload 27
iflt 100
99: iload 27
iconst_1
iadd
istore 26
end local 27 100: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
aload 19
iconst_0
iload 21
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 19
iload 26
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 19
end local 26 101: goto 78
102: StackMap locals:
StackMap stack:
aload 19
invokevirtual java.lang.String.length:()I
iload 10
isub
iconst_1
isub
istore 26
start local 26 103: iload 18
ifeq 107
104: aload 19
iload 26
invokestatic com.sun.javafx.scene.control.skin.Utils.lastBreakCharIndex:(Ljava/lang/String;I)I
istore 27
start local 27 105: iload 27
iflt 107
106: iload 27
istore 26
end local 27 107: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
aload 19
iconst_0
iload 26
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 19
end local 26 end local 25 108: goto 78
109: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
getstatic com.sun.javafx.scene.control.skin.Utils.DEFAULT_WRAPPING_WIDTH:D
invokevirtual javafx.scene.text.Text.setWrappingWidth:(D)V
110: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
getstatic com.sun.javafx.scene.control.skin.Utils.DEFAULT_LINE_SPACING:D
invokevirtual javafx.scene.text.Text.setLineSpacing:(D)V
111: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
getstatic com.sun.javafx.scene.control.skin.Utils.DEFAULT_TEXT:Ljava/lang/String;
invokevirtual javafx.scene.text.Text.setText:(Ljava/lang/String;)V
112: getstatic com.sun.javafx.scene.control.skin.Utils.helper:Ljavafx/scene/text/Text;
getstatic com.sun.javafx.scene.control.skin.Utils.DEFAULT_BOUNDS_TYPE:Ljavafx/scene/text/TextBoundsType;
invokevirtual javafx.scene.text.Text.setBoundsType:(Ljavafx/scene/text/TextBoundsType;)V
113: aload 19
areturn
end local 24 end local 23 end local 22 end local 21 end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 13 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 114 0 font Ljavafx/scene/text/Font;
0 114 1 text Ljava/lang/String;
0 114 2 width D
0 114 4 height D
0 114 6 truncationStyle Ljavafx/scene/control/OverrunStyle;
0 114 7 ellipsisString Ljava/lang/String;
0 114 8 boundsType Ljavafx/scene/text/TextBoundsType;
5 114 9 ellipsis Ljava/lang/String;
6 114 10 eLen I
7 114 11 eWidth D
8 114 13 eHeight D
20 114 15 leading Z
25 114 16 center Z
29 114 17 trailing Z
35 114 18 wordTrim Z
36 114 19 result Ljava/lang/String;
39 114 20 len I
40 114 21 centerLen I
41 114 22 centerPoint Ljavafx/geometry/Point2D;
44 114 23 endPoint Ljavafx/geometry/Point2D;
45 114 24 hit I
53 64 25 ind I
56 62 26 brInd I
66 78 25 ind I
68 74 26 brInd I
80 108 25 hit2 I
88 93 26 ind I
90 92 27 brInd I
96 101 26 ind I
98 100 27 brInd I
103 108 26 ind I
105 107 27 brInd I
MethodParameters:
Name Flags
font
text
width
height
truncationStyle
ellipsisString
boundsType
private static int firstBreakCharIndex(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.String.toCharArray:()[C
astore 2
start local 2 1: iload 1
istore 3
start local 3 2: goto 6
3: StackMap locals: char[] int
StackMap stack:
aload 2
iload 3
caload
invokestatic com.sun.javafx.scene.control.skin.Utils.isPreferredBreakCharacter:(C)Z
ifeq 5
4: iload 3
ireturn
5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 2
arraylength
if_icmplt 3
end local 3 7: iconst_m1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 str Ljava/lang/String;
0 8 1 start I
1 8 2 chars [C
2 7 3 i I
MethodParameters:
Name Flags
str
start
private static int lastBreakCharIndex(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.String.toCharArray:()[C
astore 2
start local 2 1: iload 1
istore 3
start local 3 2: goto 6
3: StackMap locals: char[] int
StackMap stack:
aload 2
iload 3
caload
invokestatic com.sun.javafx.scene.control.skin.Utils.isPreferredBreakCharacter:(C)Z
ifeq 5
4: iload 3
ireturn
5: StackMap locals:
StackMap stack:
iinc 3 -1
StackMap locals:
StackMap stack:
6: iload 3
ifge 3
end local 3 7: iconst_m1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 str Ljava/lang/String;
0 8 1 start I
1 8 2 chars [C
2 7 3 i I
MethodParameters:
Name Flags
str
start
private static boolean isPreferredBreakCharacter(char);
descriptor: (C)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iload 0
lookupswitch { // 3
46: 3
58: 3
59: 3
default: 4
}
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 ch C
MethodParameters:
Name Flags
ch
private static boolean requiresComplexLayout(javafx.scene.text.Font, java.lang.String);
descriptor: (Ljavafx/scene/text/Font;Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 font Ljavafx/scene/text/Font;
0 1 1 string Ljava/lang/String;
MethodParameters:
Name Flags
font
string
static int computeStartOfWord(javafx.scene.text.Font, java.lang.String, int);
descriptor: (Ljavafx/scene/text/Font;Ljava/lang/String;I)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: ldc ""
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
iload 2
ifge 2
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
iload 2
if_icmpgt 3
aload 1
invokevirtual java.lang.String.length:()I
ireturn
3: StackMap locals:
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 5
4: iload 2
ireturn
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic com.sun.javafx.scene.control.skin.Utils.requiresComplexLayout:(Ljavafx/scene/text/Font;Ljava/lang/String;)Z
istore 3
start local 3 6: iload 3
ifeq 8
7: iconst_0
ireturn
8: StackMap locals: int
StackMap stack:
iload 2
istore 4
start local 4 9: goto 12
10: StackMap locals: int
StackMap stack:
aload 1
iload 4
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 12
11: iload 4
iconst_1
iadd
ireturn
12: StackMap locals:
StackMap stack:
iinc 4 -1
iload 4
ifge 10
13: iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 font Ljavafx/scene/text/Font;
0 14 1 text Ljava/lang/String;
0 14 2 index I
6 14 3 complexLayout Z
9 14 4 i I
MethodParameters:
Name Flags
font
text
index
static int computeEndOfWord(javafx.scene.text.Font, java.lang.String, int);
descriptor: (Ljavafx/scene/text/Font;Ljava/lang/String;I)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
iload 2
ifge 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
iload 2
if_icmpgt 4
3: aload 1
invokevirtual java.lang.String.length:()I
ireturn
4: StackMap locals:
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 6
5: iload 2
ireturn
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic com.sun.javafx.scene.control.skin.Utils.requiresComplexLayout:(Ljavafx/scene/text/Font;Ljava/lang/String;)Z
istore 3
start local 3 7: iload 3
ifeq 9
8: aload 1
invokevirtual java.lang.String.length:()I
ireturn
9: StackMap locals: int
StackMap stack:
iload 2
istore 4
start local 4 10: goto 13
11: StackMap locals: int
StackMap stack:
aload 1
iload 4
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 13
12: iload 4
ireturn
13: StackMap locals:
StackMap stack:
iinc 4 1
iload 4
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 11
14: aload 1
invokevirtual java.lang.String.length:()I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 font Ljavafx/scene/text/Font;
0 15 1 text Ljava/lang/String;
0 15 2 index I
7 15 3 complexLayout Z
10 15 4 i I
MethodParameters:
Name Flags
font
text
index
public static double boundedSize(double, double, double);
descriptor: (DDD)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 2 start local 4 0: dload 0
dload 2
invokestatic java.lang.Math.max:(DD)D
dload 2
dload 4
invokestatic java.lang.Math.max:(DD)D
invokestatic java.lang.Math.min:(DD)D
dreturn
end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value D
0 1 2 min D
0 1 4 max D
MethodParameters:
Name Flags
value
min
max
public static void (javafx.scene.control.ContextMenu, javafx.scene.Scene);
descriptor: (Ljavafx/scene/control/ContextMenu;Ljavafx/scene/Scene;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokestatic com.sun.javafx.scene.control.skin.Utils.addMnemonics:(Ljavafx/scene/control/ContextMenu;Ljavafx/scene/Scene;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 popup Ljavafx/scene/control/ContextMenu;
0 2 1 scene Ljavafx/scene/Scene;
MethodParameters:
Name Flags
popup
scene
public static void (javafx.scene.control.ContextMenu, javafx.scene.Scene, boolean);
descriptor: (Ljavafx/scene/control/ContextMenu;Ljavafx/scene/Scene;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: invokestatic com.sun.javafx.PlatformUtil.isMac:()Z
ifne 15
1: aload 0
invokevirtual javafx.scene.control.ContextMenu.getSkin:()Ljavafx/scene/control/Skin;
invokeinterface javafx.scene.control.Skin.getNode:()Ljavafx/scene/Node;
checkcast com.sun.javafx.scene.control.ContextMenuContent
astore 3
start local 3 2: iconst_0
istore 5
start local 5 3: goto 14
4: StackMap locals: javafx.scene.control.ContextMenu javafx.scene.Scene int com.sun.javafx.scene.control.ContextMenuContent top int
StackMap stack:
aload 0
invokevirtual javafx.scene.control.ContextMenu.getItems:()Ljavafx/collections/ObservableList;
iload 5
invokeinterface javafx.collections.ObservableList.get:(I)Ljava/lang/Object;
checkcast javafx.scene.control.MenuItem
astore 4
start local 4 5: aload 4
invokevirtual javafx.scene.control.MenuItem.isMnemonicParsing:()Z
ifeq 13
6: new com.sun.javafx.scene.control.behavior.TextBinding
dup
aload 4
invokevirtual javafx.scene.control.MenuItem.getText:()Ljava/lang/String;
invokespecial com.sun.javafx.scene.control.behavior.TextBinding.<init>:(Ljava/lang/String;)V
astore 6
start local 6 7: aload 6
invokevirtual com.sun.javafx.scene.control.behavior.TextBinding.getMnemonicIndex:()I
istore 7
start local 7 8: iload 7
iflt 13
9: aload 6
invokevirtual com.sun.javafx.scene.control.behavior.TextBinding.getMnemonicKeyCombination:()Ljavafx/scene/input/KeyCombination;
astore 8
start local 8 10: new javafx.scene.input.Mnemonic
dup
aload 3
iload 5
invokevirtual com.sun.javafx.scene.control.ContextMenuContent.getLabelAt:(I)Ljavafx/scene/control/Label;
aload 8
invokespecial javafx.scene.input.Mnemonic.<init>:(Ljavafx/scene/Node;Ljavafx/scene/input/KeyCombination;)V
astore 9
start local 9 11: aload 1
aload 9
invokevirtual javafx.scene.Scene.addMnemonic:(Ljavafx/scene/input/Mnemonic;)V
12: aload 3
iload 5
invokevirtual com.sun.javafx.scene.control.ContextMenuContent.getLabelAt:(I)Ljavafx/scene/control/Label;
iload 2
invokestatic com.sun.javafx.scene.NodeHelper.setShowMnemonics:(Ljavafx/scene/Node;Z)V
end local 9 end local 8 end local 7 end local 6 13: StackMap locals: javafx.scene.control.ContextMenu javafx.scene.Scene int com.sun.javafx.scene.control.ContextMenuContent javafx.scene.control.MenuItem int
StackMap stack:
iinc 5 1
end local 4 StackMap locals: javafx.scene.control.ContextMenu javafx.scene.Scene int com.sun.javafx.scene.control.ContextMenuContent top int
StackMap stack:
14: iload 5
aload 0
invokevirtual javafx.scene.control.ContextMenu.getItems:()Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
if_icmplt 4
end local 5 end local 3 15: StackMap locals: javafx.scene.control.ContextMenu javafx.scene.Scene int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 popup Ljavafx/scene/control/ContextMenu;
0 16 1 scene Ljavafx/scene/Scene;
0 16 2 initialState Z
2 15 3 cmContent Lcom/sun/javafx/scene/control/ContextMenuContent;
5 14 4 menuitem Ljavafx/scene/control/MenuItem;
3 15 5 i I
7 13 6 bindings Lcom/sun/javafx/scene/control/behavior/TextBinding;
8 13 7 mnemonicIndex I
10 13 8 mnemonicKeyCombo Ljavafx/scene/input/KeyCombination;
11 13 9 myMnemonic Ljavafx/scene/input/Mnemonic;
MethodParameters:
Name Flags
popup
scene
initialState
public static void (javafx.scene.control.ContextMenu, javafx.scene.Scene);
descriptor: (Ljavafx/scene/control/ContextMenu;Ljavafx/scene/Scene;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=10, args_size=2
start local 0 start local 1 0: invokestatic com.sun.javafx.PlatformUtil.isMac:()Z
ifne 20
1: aload 0
invokevirtual javafx.scene.control.ContextMenu.getSkin:()Ljavafx/scene/control/Skin;
invokeinterface javafx.scene.control.Skin.getNode:()Ljavafx/scene/Node;
checkcast com.sun.javafx.scene.control.ContextMenuContent
astore 2
start local 2 2: iconst_0
istore 4
start local 4 3: goto 19
4: StackMap locals: javafx.scene.control.ContextMenu javafx.scene.Scene com.sun.javafx.scene.control.ContextMenuContent top int
StackMap stack:
aload 0
invokevirtual javafx.scene.control.ContextMenu.getItems:()Ljavafx/collections/ObservableList;
iload 4
invokeinterface javafx.collections.ObservableList.get:(I)Ljava/lang/Object;
checkcast javafx.scene.control.MenuItem
astore 3
start local 3 5: aload 3
invokevirtual javafx.scene.control.MenuItem.isMnemonicParsing:()Z
ifeq 18
6: new com.sun.javafx.scene.control.behavior.TextBinding
dup
aload 3
invokevirtual javafx.scene.control.MenuItem.getText:()Ljava/lang/String;
invokespecial com.sun.javafx.scene.control.behavior.TextBinding.<init>:(Ljava/lang/String;)V
astore 5
start local 5 7: aload 5
invokevirtual com.sun.javafx.scene.control.behavior.TextBinding.getMnemonicIndex:()I
istore 6
start local 6 8: iload 6
iflt 18
9: aload 5
invokevirtual com.sun.javafx.scene.control.behavior.TextBinding.getMnemonicKeyCombination:()Ljavafx/scene/input/KeyCombination;
astore 7
start local 7 10: aload 1
invokevirtual javafx.scene.Scene.getMnemonics:()Ljavafx/collections/ObservableMap;
aload 7
invokeinterface javafx.collections.ObservableMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javafx.collections.ObservableList
astore 8
start local 8 11: aload 8
ifnull 18
12: iconst_0
istore 9
start local 9 13: goto 17
14: StackMap locals: javafx.scene.control.ContextMenu javafx.scene.Scene com.sun.javafx.scene.control.ContextMenuContent javafx.scene.control.MenuItem int com.sun.javafx.scene.control.behavior.TextBinding int javafx.scene.input.KeyCombination javafx.collections.ObservableList int
StackMap stack:
aload 8
iload 9
invokeinterface javafx.collections.ObservableList.get:(I)Ljava/lang/Object;
checkcast javafx.scene.input.Mnemonic
invokevirtual javafx.scene.input.Mnemonic.getNode:()Ljavafx/scene/Node;
aload 2
iload 4
invokevirtual com.sun.javafx.scene.control.ContextMenuContent.getLabelAt:(I)Ljavafx/scene/control/Label;
if_acmpne 16
15: aload 8
iload 9
invokeinterface javafx.collections.ObservableList.remove:(I)Ljava/lang/Object;
pop
16: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
17: iload 9
aload 8
invokeinterface javafx.collections.ObservableList.size:()I
if_icmplt 14
end local 9 end local 8 end local 7 end local 6 end local 5 18: StackMap locals: javafx.scene.control.ContextMenu javafx.scene.Scene com.sun.javafx.scene.control.ContextMenuContent javafx.scene.control.MenuItem int
StackMap stack:
iinc 4 1
end local 3 StackMap locals: javafx.scene.control.ContextMenu javafx.scene.Scene com.sun.javafx.scene.control.ContextMenuContent top int
StackMap stack:
19: iload 4
aload 0
invokevirtual javafx.scene.control.ContextMenu.getItems:()Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
if_icmplt 4
end local 4 end local 2 20: StackMap locals: javafx.scene.control.ContextMenu javafx.scene.Scene
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 popup Ljavafx/scene/control/ContextMenu;
0 21 1 scene Ljavafx/scene/Scene;
2 20 2 cmContent Lcom/sun/javafx/scene/control/ContextMenuContent;
5 19 3 menuitem Ljavafx/scene/control/MenuItem;
3 20 4 i I
7 18 5 bindings Lcom/sun/javafx/scene/control/behavior/TextBinding;
8 18 6 mnemonicIndex I
10 18 7 mnemonicKeyCombo Ljavafx/scene/input/KeyCombination;
11 18 8 mnemonicsList Ljavafx/collections/ObservableList<Ljavafx/scene/input/Mnemonic;>;
13 18 9 j I
MethodParameters:
Name Flags
popup
scene
public static double computeXOffset(double, double, javafx.geometry.HPos);
descriptor: (DDLjavafx/geometry/HPos;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 2 start local 4 0: aload 4
ifnonnull 2
1: dconst_0
dreturn
2: StackMap locals:
StackMap stack:
invokestatic com.sun.javafx.scene.control.skin.Utils.$SWITCH_TABLE$javafx$geometry$HPos:()[I
aload 4
invokevirtual javafx.geometry.HPos.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 3
2: 4
3: 5
default: 6
}
3: StackMap locals:
StackMap stack:
dconst_0
dreturn
4: StackMap locals:
StackMap stack:
dload 0
dload 2
dsub
ldc 2.0
ddiv
dreturn
5: StackMap locals:
StackMap stack:
dload 0
dload 2
dsub
dreturn
6: StackMap locals:
StackMap stack:
dconst_0
dreturn
end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 width D
0 7 2 contentWidth D
0 7 4 hpos Ljavafx/geometry/HPos;
MethodParameters:
Name Flags
width
contentWidth
hpos
public static double computeYOffset(double, double, javafx.geometry.VPos);
descriptor: (DDLjavafx/geometry/VPos;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 2 start local 4 0: aload 4
ifnonnull 2
1: dconst_0
dreturn
2: StackMap locals:
StackMap stack:
invokestatic com.sun.javafx.scene.control.skin.Utils.$SWITCH_TABLE$javafx$geometry$VPos:()[I
aload 4
invokevirtual javafx.geometry.VPos.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 3
2: 4
3: 6
4: 5
default: 6
}
3: StackMap locals:
StackMap stack:
dconst_0
dreturn
4: StackMap locals:
StackMap stack:
dload 0
dload 2
dsub
ldc 2.0
ddiv
dreturn
5: StackMap locals:
StackMap stack:
dload 0
dload 2
dsub
dreturn
6: StackMap locals:
StackMap stack:
dconst_0
dreturn
end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 height D
0 7 2 contentHeight D
0 7 4 vpos Ljavafx/geometry/VPos;
MethodParameters:
Name Flags
height
contentHeight
vpos
public static boolean isTwoLevelFocus();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic javafx.application.ConditionalFeature.TWO_LEVEL_FOCUS:Ljavafx/application/ConditionalFeature;
invokestatic javafx.application.Platform.isSupported:(Ljavafx/application/ConditionalFeature;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static <T> void executeOnceWhenPropertyIsNonNull(javafx.beans.value.ObservableValue<T>, java.util.function.Consumer<T>);
descriptor: (Ljavafx/beans/value/ObservableValue;Ljava/util/function/Consumer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 1
return
1: StackMap locals:
StackMap stack:
aload 0
invokeinterface javafx.beans.value.ObservableValue.getValue:()Ljava/lang/Object;
astore 2
start local 2 2: aload 2
ifnull 5
3: aload 1
aload 2
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
4: goto 7
5: StackMap locals: java.lang.Object
StackMap stack:
new com.sun.javafx.scene.control.skin.Utils$1
dup
aload 0
aload 1
invokespecial com.sun.javafx.scene.control.skin.Utils$1.<init>:(Ljavafx/beans/value/ObservableValue;Ljava/util/function/Consumer;)V
astore 3
start local 3 6: aload 0
aload 3
invokeinterface javafx.beans.value.ObservableValue.addListener:(Ljavafx/beans/InvalidationListener;)V
end local 3 7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 p Ljavafx/beans/value/ObservableValue<TT;>;
0 8 1 consumer Ljava/util/function/Consumer<TT;>;
2 8 2 value TT;
6 7 3 listener Ljavafx/beans/InvalidationListener;
Signature: <T:Ljava/lang/Object;>(Ljavafx/beans/value/ObservableValue<TT;>;Ljava/util/function/Consumer<TT;>;)V
MethodParameters:
Name Flags
p
consumer
public static java.lang.String formatHexString(javafx.scene.paint.Color);
descriptor: (Ljavafx/scene/paint/Color;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: aload 0
ifnull 6
1: aconst_null
ldc "#%02x%02x%02x"
iconst_3
anewarray java.lang.Object
dup
iconst_0
2: aload 0
invokevirtual javafx.scene.paint.Color.getRed:()D
ldc 255.0
dmul
invokestatic java.lang.Math.round:(D)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
3: aload 0
invokevirtual javafx.scene.paint.Color.getGreen:()D
ldc 255.0
dmul
invokestatic java.lang.Math.round:(D)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
4: aload 0
invokevirtual javafx.scene.paint.Color.getBlue:()D
ldc 255.0
dmul
invokestatic java.lang.Math.round:(D)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
5: invokestatic java.lang.String.format:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 c Ljavafx/scene/paint/Color;
MethodParameters:
Name Flags
c
public static java.net.URL getResource(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc Lcom/sun/javafx/scene/control/skin/Utils;
aload 0
invokevirtual java.lang.Class.getResource:(Ljava/lang/String;)Ljava/net/URL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 str Ljava/lang/String;
MethodParameters:
Name Flags
str
static int[] $SWITCH_TABLE$javafx$geometry$HPos();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.javafx.scene.control.skin.Utils.$SWITCH_TABLE$javafx$geometry$HPos:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic javafx.geometry.HPos.values:()[Ljavafx/geometry/HPos;
arraylength
newarray 10
astore 0
2: aload 0
getstatic javafx.geometry.HPos.CENTER:Ljavafx/geometry/HPos;
invokevirtual javafx.geometry.HPos.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic javafx.geometry.HPos.LEFT:Ljavafx/geometry/HPos;
invokevirtual javafx.geometry.HPos.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic javafx.geometry.HPos.RIGHT:Ljavafx/geometry/HPos;
invokevirtual javafx.geometry.HPos.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic com.sun.javafx.scene.control.skin.Utils.$SWITCH_TABLE$javafx$geometry$HPos:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
static int[] $SWITCH_TABLE$javafx$geometry$VPos();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.javafx.scene.control.skin.Utils.$SWITCH_TABLE$javafx$geometry$VPos:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic javafx.geometry.VPos.values:()[Ljavafx/geometry/VPos;
arraylength
newarray 10
astore 0
2: aload 0
getstatic javafx.geometry.VPos.BASELINE:Ljavafx/geometry/VPos;
invokevirtual javafx.geometry.VPos.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic javafx.geometry.VPos.BOTTOM:Ljavafx/geometry/VPos;
invokevirtual javafx.geometry.VPos.ordinal:()I
iconst_4
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic javafx.geometry.VPos.CENTER:Ljavafx/geometry/VPos;
invokevirtual javafx.geometry.VPos.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic javafx.geometry.VPos.TOP:Ljavafx/geometry/VPos;
invokevirtual javafx.geometry.VPos.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic com.sun.javafx.scene.control.skin.Utils.$SWITCH_TABLE$javafx$geometry$VPos:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
SourceFile: "Utils.java"
NestMembers:
com.sun.javafx.scene.control.skin.Utils$1
InnerClasses:
com.sun.javafx.scene.control.skin.Utils$1