public final class javafx.css.converter.ColorConverter extends javafx.css.StyleConverter<java.lang.String, javafx.scene.paint.Color>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javafx.css.converter.ColorConverter
super_class: javafx.css.StyleConverter
{
public static javafx.css.StyleConverter<java.lang.String, javafx.scene.paint.Color> getInstance();
descriptor: ()Ljavafx/css/StyleConverter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic javafx.css.converter.ColorConverter$Holder.COLOR_INSTANCE:Ljavafx/css/converter/ColorConverter;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljavafx/css/StyleConverter<Ljava/lang/String;Ljavafx/scene/paint/Color;>;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javafx.css.StyleConverter.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/css/converter/ColorConverter;
public javafx.scene.paint.Color convert(javafx.css.ParsedValue<java.lang.String, javafx.scene.paint.Color>, javafx.scene.text.Font);
descriptor: (Ljavafx/css/ParsedValue;Ljavafx/scene/text/Font;)Ljavafx/scene/paint/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual javafx.css.ParsedValue.getValue:()Ljava/lang/Object;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 3
instanceof javafx.scene.paint.Color
ifeq 5
4: aload 3
checkcast javafx.scene.paint.Color
areturn
5: StackMap locals:
StackMap stack:
aload 3
instanceof java.lang.String
ifeq 12
6: aload 3
checkcast java.lang.String
astore 4
start local 4 7: aload 4
invokevirtual java.lang.String.isEmpty:()Z
ifne 8
ldc "null"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
8: StackMap locals: java.lang.String
StackMap stack:
aconst_null
areturn
9: StackMap locals:
StackMap stack:
aload 3
checkcast java.lang.String
invokestatic javafx.scene.paint.Color.web:(Ljava/lang/String;)Ljavafx/scene/paint/Color;
10: areturn
11: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
end local 4 12: StackMap locals:
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "not a color: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
13: getstatic javafx.scene.paint.Color.BLACK:Ljavafx/scene/paint/Color;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavafx/css/converter/ColorConverter;
0 14 1 value Ljavafx/css/ParsedValue<Ljava/lang/String;Ljavafx/scene/paint/Color;>;
0 14 2 font Ljavafx/scene/text/Font;
1 14 3 val Ljava/lang/Object;
7 12 4 str Ljava/lang/String;
Exception table:
from to target type
9 10 11 Class java.lang.IllegalArgumentException
Signature: (Ljavafx/css/ParsedValue<Ljava/lang/String;Ljavafx/scene/paint/Color;>;Ljavafx/scene/text/Font;)Ljavafx/scene/paint/Color;
MethodParameters:
Name Flags
value
font
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "ColorConverter"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/css/converter/ColorConverter;
public java.lang.Object convert(javafx.css.ParsedValue, javafx.scene.text.Font);
descriptor: (Ljavafx/css/ParsedValue;Ljavafx/scene/text/Font;)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 javafx.css.ParsedValue
aload 2
invokevirtual javafx.css.converter.ColorConverter.convert:(Ljavafx/css/ParsedValue;Ljavafx/scene/text/Font;)Ljavafx/scene/paint/Color;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljavafx/css/StyleConverter<Ljava/lang/String;Ljavafx/scene/paint/Color;>;
SourceFile: "ColorConverter.java"
NestMembers:
javafx.css.converter.ColorConverter$Holder
InnerClasses:
private Holder = javafx.css.converter.ColorConverter$Holder of javafx.css.converter.ColorConverter