public final class com.sun.javafx.fxml.builder.JavaFXFontBuilder extends java.util.AbstractMap<java.lang.String, java.lang.Object> implements javafx.util.Builder<javafx.scene.text.Font>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.javafx.fxml.builder.JavaFXFontBuilder
super_class: java.util.AbstractMap
{
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private double size;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private javafx.scene.text.FontWeight weight;
descriptor: Ljavafx/scene/text/FontWeight;
flags: (0x0002) ACC_PRIVATE
private javafx.scene.text.FontPosture posture;
descriptor: Ljavafx/scene/text/FontPosture;
flags: (0x0002) ACC_PRIVATE
private java.net.URL url;
descriptor: Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.AbstractMap.<init>:()V
1: aload 0
aconst_null
putfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.name:Ljava/lang/String;
2: aload 0
ldc 12.0
putfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.size:D
3: aload 0
aconst_null
putfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.weight:Ljavafx/scene/text/FontWeight;
4: aload 0
aconst_null
putfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.posture:Ljavafx/scene/text/FontPosture;
5: aload 0
aconst_null
putfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.url:Ljava/net/URL;
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/fxml/builder/JavaFXFontBuilder;
public javafx.scene.text.Font build();
descriptor: ()Ljavafx/scene/text/Font;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.url:Ljava/net/URL;
ifnull 20
1: aconst_null
astore 2
start local 2 2: aload 0
getfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.url:Ljava/net/URL;
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
astore 2
3: aload 2
aload 0
getfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.size:D
invokestatic javafx.scene.text.Font.loadFont:(Ljava/io/InputStream;D)Ljavafx/scene/text/Font;
astore 1
start local 1 4: goto 14
end local 1 StackMap locals: com.sun.javafx.fxml.builder.JavaFXFontBuilder top java.io.InputStream
StackMap stack: java.lang.Exception
5: astore 3
start local 3 6: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Load of font file failed from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.url:Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 7: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
8: aload 2
ifnull 13
9: aload 2
invokevirtual java.io.InputStream.close:()V
10: goto 13
StackMap locals: com.sun.javafx.fxml.builder.JavaFXFontBuilder top java.io.InputStream top java.lang.Throwable
StackMap stack: java.lang.Exception
11: astore 5
start local 5 12: aload 5
invokevirtual java.lang.Exception.printStackTrace:()V
end local 5 13: StackMap locals:
StackMap stack:
aload 4
athrow
start local 1 14: StackMap locals: com.sun.javafx.fxml.builder.JavaFXFontBuilder javafx.scene.text.Font java.io.InputStream
StackMap stack:
aload 2
ifnull 26
15: aload 2
invokevirtual java.io.InputStream.close:()V
16: goto 26
StackMap locals:
StackMap stack: java.lang.Exception
17: astore 5
start local 5 18: aload 5
invokevirtual java.lang.Exception.printStackTrace:()V
end local 5 end local 2 19: goto 26
end local 1 20: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.weight:Ljavafx/scene/text/FontWeight;
ifnonnull 23
aload 0
getfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.posture:Ljavafx/scene/text/FontPosture;
ifnonnull 23
21: new javafx.scene.text.Font
dup
aload 0
getfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.name:Ljava/lang/String;
aload 0
getfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.size:D
invokespecial javafx.scene.text.Font.<init>:(Ljava/lang/String;D)V
astore 1
start local 1 22: goto 26
end local 1 23: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.weight:Ljavafx/scene/text/FontWeight;
ifnonnull 24
aload 0
getstatic javafx.scene.text.FontWeight.NORMAL:Ljavafx/scene/text/FontWeight;
putfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.weight:Ljavafx/scene/text/FontWeight;
24: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.posture:Ljavafx/scene/text/FontPosture;
ifnonnull 25
aload 0
getstatic javafx.scene.text.FontPosture.REGULAR:Ljavafx/scene/text/FontPosture;
putfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.posture:Ljavafx/scene/text/FontPosture;
25: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.name:Ljava/lang/String;
aload 0
getfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.weight:Ljavafx/scene/text/FontWeight;
aload 0
getfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.posture:Ljavafx/scene/text/FontPosture;
aload 0
getfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.size:D
invokestatic javafx.scene.text.Font.font:(Ljava/lang/String;Ljavafx/scene/text/FontWeight;Ljavafx/scene/text/FontPosture;D)Ljavafx/scene/text/Font;
astore 1
start local 1 26: StackMap locals: javafx.scene.text.Font
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/sun/javafx/fxml/builder/JavaFXFontBuilder;
4 5 1 f Ljavafx/scene/text/Font;
14 20 1 f Ljavafx/scene/text/Font;
22 23 1 f Ljavafx/scene/text/Font;
26 27 1 f Ljavafx/scene/text/Font;
2 19 2 in Ljava/io/InputStream;
6 7 3 e Ljava/lang/Exception;
12 13 5 e Ljava/lang/Exception;
18 19 5 e Ljava/lang/Exception;
Exception table:
from to target type
2 4 5 Class java.lang.Exception
2 7 7 any
8 10 11 Class java.lang.Exception
14 16 17 Class java.lang.Exception
public java.lang.Object put(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: ldc "name"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
1: aload 2
instanceof java.net.URL
ifeq 4
2: aload 0
aload 2
checkcast java.net.URL
putfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.url:Ljava/net/URL;
3: goto 35
4: StackMap locals:
StackMap stack:
aload 0
aload 2
checkcast java.lang.String
putfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.name:Ljava/lang/String;
5: goto 35
StackMap locals:
StackMap stack:
6: ldc "size"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
aload 2
checkcast java.lang.String
invokestatic java.lang.Double.parseDouble:(Ljava/lang/String;)D
putfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.size:D
8: goto 35
StackMap locals:
StackMap stack:
9: ldc "style"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
10: aload 2
checkcast java.lang.String
astore 3
start local 3 11: aload 3
ifnull 35
aload 3
invokevirtual java.lang.String.length:()I
ifle 35
12: iconst_0
istore 4
start local 4 13: new java.util.StringTokenizer
dup
aload 3
ldc " "
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 5
start local 5 14: goto 24
15: StackMap locals: java.lang.String int java.util.StringTokenizer
StackMap stack:
aload 5
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 6
start local 6 16: iload 4
ifne 21
aload 6
invokestatic javafx.scene.text.FontWeight.findByName:(Ljava/lang/String;)Ljavafx/scene/text/FontWeight;
dup
astore 7
start local 7 17: ifnull 21
18: aload 0
aload 7
putfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.weight:Ljavafx/scene/text/FontWeight;
19: iconst_1
istore 4
20: goto 24
end local 7 21: StackMap locals: java.lang.String
StackMap stack:
aload 6
invokestatic javafx.scene.text.FontPosture.findByName:(Ljava/lang/String;)Ljavafx/scene/text/FontPosture;
dup
astore 8
start local 8 22: ifnull 24
23: aload 0
aload 8
putfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.posture:Ljavafx/scene/text/FontPosture;
end local 8 end local 6 24: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 15
end local 5 end local 4 end local 3 25: goto 35
StackMap locals:
StackMap stack:
26: ldc "url"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 34
27: aload 2
instanceof java.net.URL
ifeq 30
28: aload 0
aload 2
checkcast java.net.URL
putfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.url:Ljava/net/URL;
29: goto 35
30: StackMap locals:
StackMap stack:
aload 0
new java.net.URL
dup
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
putfield com.sun.javafx.fxml.builder.JavaFXFontBuilder.url:Ljava/net/URL;
31: goto 35
StackMap locals:
StackMap stack: java.net.MalformedURLException
32: astore 3
start local 3 33: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid url "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 34: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unknown Font property: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
35: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lcom/sun/javafx/fxml/builder/JavaFXFontBuilder;
0 36 1 key Ljava/lang/String;
0 36 2 value Ljava/lang/Object;
11 25 3 style Ljava/lang/String;
13 25 4 isWeightSet Z
14 25 5 st Ljava/util/StringTokenizer;
16 24 6 stylePart Ljava/lang/String;
17 21 7 fw Ljavafx/scene/text/FontWeight;
22 24 8 fp Ljavafx/scene/text/FontPosture;
33 34 3 e Ljava/net/MalformedURLException;
Exception table:
from to target type
30 31 32 Class java.net.MalformedURLException
MethodParameters:
Name Flags
key
value
public boolean containsKey(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
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 this Lcom/sun/javafx/fxml/builder/JavaFXFontBuilder;
0 1 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key
public java.lang.Object get(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/fxml/builder/JavaFXFontBuilder;
0 1 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key
public java.util.Set<java.util.Map$Entry<java.lang.String, java.lang.Object>> entrySet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/fxml/builder/JavaFXFontBuilder;
Signature: ()Ljava/util/Set<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;>;
public java.lang.Object build();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.sun.javafx.fxml.builder.JavaFXFontBuilder.build:()Ljavafx/scene/text/Font;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object put(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.lang.String
aload 2
checkcast java.lang.Object
invokevirtual com.sun.javafx.fxml.builder.JavaFXFontBuilder.put:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/util/AbstractMap<Ljava/lang/String;Ljava/lang/Object;>;Ljavafx/util/Builder<Ljavafx/scene/text/Font;>;
SourceFile: "JavaFXFontBuilder.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map