public class javafx.css.Stylesheet
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javafx.css.Stylesheet
super_class: java.lang.Object
{
static final int BINARY_CSS_VERSION;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 6
private final java.lang.String url;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private javafx.css.StyleOrigin origin;
descriptor: Ljavafx/css/StyleOrigin;
flags: (0x0002) ACC_PRIVATE
private final javafx.collections.ObservableList<javafx.css.Rule> rules;
descriptor: Ljavafx/collections/ObservableList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljavafx/collections/ObservableList<Ljavafx/css/Rule;>;
private final java.util.List<javafx.css.FontFace> fontFaces;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljavafx/css/FontFace;>;
private java.lang.String[] stringStore;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public java.lang.String getUrl();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.css.Stylesheet.url:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/css/Stylesheet;
public javafx.css.StyleOrigin getOrigin();
descriptor: ()Ljavafx/css/StyleOrigin;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.css.Stylesheet.origin:Ljavafx/css/StyleOrigin;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/css/Stylesheet;
public void setOrigin(javafx.css.StyleOrigin);
descriptor: (Ljavafx/css/StyleOrigin;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javafx.css.Stylesheet.origin:Ljavafx/css/StyleOrigin;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/css/Stylesheet;
0 2 1 origin Ljavafx/css/StyleOrigin;
MethodParameters:
Name Flags
origin
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial javafx.css.Stylesheet.<init>:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/css/Stylesheet;
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic javafx.css.StyleOrigin.AUTHOR:Ljavafx/css/StyleOrigin;
putfield javafx.css.Stylesheet.origin:Ljavafx/css/StyleOrigin;
2: aload 0
new javafx.css.Stylesheet$1
dup
aload 0
invokespecial javafx.css.Stylesheet$1.<init>:(Ljavafx/css/Stylesheet;)V
putfield javafx.css.Stylesheet.rules:Ljavafx/collections/ObservableList;
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield javafx.css.Stylesheet.fontFaces:Ljava/util/List;
4: aload 0
aload 1
putfield javafx.css.Stylesheet.url:Ljava/lang/String;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavafx/css/Stylesheet;
0 6 1 url Ljava/lang/String;
MethodParameters:
Name Flags
url
public java.util.List<javafx.css.Rule> getRules();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.css.Stylesheet.rules:Ljavafx/collections/ObservableList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/css/Stylesheet;
Signature: ()Ljava/util/List<Ljavafx/css/Rule;>;
public java.util.List<javafx.css.FontFace> getFontFaces();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.css.Stylesheet.fontFaces:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/css/Stylesheet;
Signature: ()Ljava/util/List<Ljavafx/css/FontFace;>;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
instanceof javafx.css.Stylesheet
ifeq 8
2: aload 1
checkcast javafx.css.Stylesheet
astore 2
start local 2 3: aload 0
getfield javafx.css.Stylesheet.url:Ljava/lang/String;
ifnonnull 5
aload 2
getfield javafx.css.Stylesheet.url:Ljava/lang/String;
ifnonnull 5
4: iconst_1
ireturn
5: StackMap locals: javafx.css.Stylesheet
StackMap stack:
aload 0
getfield javafx.css.Stylesheet.url:Ljava/lang/String;
ifnull 6
aload 2
getfield javafx.css.Stylesheet.url:Ljava/lang/String;
ifnonnull 7
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield javafx.css.Stylesheet.url:Ljava/lang/String;
aload 2
getfield javafx.css.Stylesheet.url:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavafx/css/Stylesheet;
0 9 1 obj Ljava/lang/Object;
3 8 2 other Ljavafx/css/Stylesheet;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: bipush 7
istore 1
start local 1 1: bipush 13
iload 1
imul
aload 0
getfield javafx.css.Stylesheet.url:Ljava/lang/String;
ifnull 2
aload 0
getfield javafx.css.Stylesheet.url:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
goto 3
StackMap locals: javafx.css.Stylesheet int
StackMap stack: int
2: iconst_0
StackMap locals: javafx.css.Stylesheet int
StackMap stack: int int
3: iadd
istore 1
4: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavafx/css/Stylesheet;
1 5 1 hash I
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "/* "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
getfield javafx.css.Stylesheet.url:Ljava/lang/String;
ifnull 3
aload 1
aload 0
getfield javafx.css.Stylesheet.url:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
getfield javafx.css.Stylesheet.rules:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.isEmpty:()Z
ifeq 6
4: aload 1
ldc " */"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: goto 13
6: StackMap locals:
StackMap stack:
aload 1
ldc " */\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: iconst_0
istore 2
start local 2 8: goto 12
9: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield javafx.css.Stylesheet.rules:Ljavafx/collections/ObservableList;
iload 2
invokeinterface javafx.collections.ObservableList.get:(I)Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
10: aload 1
bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
11: iinc 2 1
StackMap locals:
StackMap stack:
12: iload 2
aload 0
getfield javafx.css.Stylesheet.rules:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
if_icmplt 9
end local 2 13: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavafx/css/Stylesheet;
1 14 1 sbuf Ljava/lang/StringBuilder;
8 13 2 r I
final void writeBinary(java.io.DataOutputStream, javafx.css.StyleConverter$StringStore);
descriptor: (Ljava/io/DataOutputStream;Ljavafx/css/StyleConverter$StringStore;)V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 0
getfield javafx.css.Stylesheet.origin:Ljavafx/css/StyleOrigin;
invokevirtual javafx.css.StyleOrigin.name:()Ljava/lang/String;
invokevirtual javafx.css.StyleConverter$StringStore.addString:(Ljava/lang/String;)I
istore 3
start local 3 1: aload 1
iload 3
invokevirtual java.io.DataOutputStream.writeShort:(I)V
2: aload 1
aload 0
getfield javafx.css.Stylesheet.rules:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
invokevirtual java.io.DataOutputStream.writeShort:(I)V
3: aload 0
getfield javafx.css.Stylesheet.rules:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: javafx.css.Stylesheet java.io.DataOutputStream javafx.css.StyleConverter$StringStore int top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.css.Rule
astore 4
start local 4 5: aload 4
aload 1
aload 2
invokevirtual javafx.css.Rule.writeBinary:(Ljava/io/DataOutputStream;Ljavafx/css/StyleConverter$StringStore;)V
end local 4 StackMap locals:
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 0
invokevirtual javafx.css.Stylesheet.getFontFaces:()Ljava/util/List;
astore 4
start local 4 8: aload 4
ifnull 9
aload 4
invokeinterface java.util.List.size:()I
goto 10
StackMap locals: javafx.css.Stylesheet java.io.DataOutputStream javafx.css.StyleConverter$StringStore int java.util.List
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: istore 5
start local 5 11: aload 1
iload 5
invokevirtual java.io.DataOutputStream.writeShort:(I)V
12: iconst_0
istore 6
start local 6 13: goto 18
14: StackMap locals: int int
StackMap stack:
aload 4
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javafx.css.FontFace
astore 7
start local 7 15: aload 7
instanceof com.sun.javafx.css.FontFaceImpl
ifeq 17
16: aload 7
checkcast com.sun.javafx.css.FontFaceImpl
aload 1
aload 2
invokevirtual com.sun.javafx.css.FontFaceImpl.writeBinary:(Ljava/io/DataOutputStream;Ljavafx/css/StyleConverter$StringStore;)V
end local 7 17: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
18: iload 6
iload 5
if_icmplt 14
end local 6 19: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljavafx/css/Stylesheet;
0 20 1 os Ljava/io/DataOutputStream;
0 20 2 stringStore Ljavafx/css/StyleConverter$StringStore;
1 20 3 index I
5 6 4 r Ljavafx/css/Rule;
8 20 4 fontFaceList Ljava/util/List<Ljavafx/css/FontFace;>;
11 20 5 nFontFaces I
13 19 6 n I
15 17 7 fontFace Ljavafx/css/FontFace;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
os final
stringStore final
final void readBinary(int, java.io.DataInputStream, java.lang.String[]);
descriptor: (ILjava/io/DataInputStream;[Ljava/lang/String;)V
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 3
putfield javafx.css.Stylesheet.stringStore:[Ljava/lang/String;
1: aload 2
invokevirtual java.io.DataInputStream.readShort:()S
istore 4
start local 4 2: aload 0
aload 3
iload 4
aaload
invokestatic javafx.css.StyleOrigin.valueOf:(Ljava/lang/String;)Ljavafx/css/StyleOrigin;
invokevirtual javafx.css.Stylesheet.setOrigin:(Ljavafx/css/StyleOrigin;)V
3: aload 2
invokevirtual java.io.DataInputStream.readShort:()S
istore 5
start local 5 4: new java.util.ArrayList
dup
iload 5
invokespecial java.util.ArrayList.<init>:(I)V
astore 6
start local 6 5: iconst_0
istore 7
start local 7 6: goto 9
7: StackMap locals: javafx.css.Stylesheet int java.io.DataInputStream java.lang.String[] int int java.util.List int
StackMap stack:
aload 6
iload 1
aload 2
aload 3
invokestatic javafx.css.Rule.readBinary:(ILjava/io/DataInputStream;[Ljava/lang/String;)Ljavafx/css/Rule;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: iinc 7 1
StackMap locals:
StackMap stack:
9: iload 7
iload 5
if_icmplt 7
end local 7 10: aload 0
getfield javafx.css.Stylesheet.rules:Ljavafx/collections/ObservableList;
aload 6
invokeinterface javafx.collections.ObservableList.addAll:(Ljava/util/Collection;)Z
pop
11: iload 1
iconst_5
if_icmplt 20
12: aload 0
invokevirtual javafx.css.Stylesheet.getFontFaces:()Ljava/util/List;
astore 7
start local 7 13: aload 2
invokevirtual java.io.DataInputStream.readShort:()S
istore 8
start local 8 14: iconst_0
istore 9
start local 9 15: goto 19
16: StackMap locals: javafx.css.Stylesheet int java.io.DataInputStream java.lang.String[] int int java.util.List java.util.List int int
StackMap stack:
iload 1
aload 2
aload 3
invokestatic com.sun.javafx.css.FontFaceImpl.readBinary:(ILjava/io/DataInputStream;[Ljava/lang/String;)Lcom/sun/javafx/css/FontFaceImpl;
astore 10
start local 10 17: aload 7
aload 10
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 10 18: iinc 9 1
StackMap locals:
StackMap stack:
19: iload 9
iload 8
if_icmplt 16
end local 9 end local 8 end local 7 20: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljavafx/css/Stylesheet;
0 21 1 bssVersion I
0 21 2 is Ljava/io/DataInputStream;
0 21 3 strings [Ljava/lang/String;
2 21 4 index I
4 21 5 nRules I
5 21 6 persistedRules Ljava/util/List<Ljavafx/css/Rule;>;
6 10 7 n I
13 20 7 fontFaceList Ljava/util/List<Ljavafx/css/FontFace;>;
14 20 8 nFontFaces I
15 20 9 n I
17 18 10 fontFace Ljavafx/css/FontFace;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bssVersion
is
strings
final java.lang.String[] getStringStore();
descriptor: ()[Ljava/lang/String;
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.css.Stylesheet.stringStore:[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/css/Stylesheet;
public static javafx.css.Stylesheet loadBinary(java.net.URL);
descriptor: (Ljava/net/URL;)Ljavafx/css/Stylesheet;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: aload 0
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 2: aconst_null
astore 2
aconst_null
astore 3
3: new java.io.DataInputStream
dup
new java.io.BufferedInputStream
dup
aload 0
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
ldc 40960
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;I)V
invokespecial java.io.DataInputStream.<init>:(Ljava/io/InputStream;)V
4: astore 4
start local 4 5: aload 4
invokevirtual java.io.DataInputStream.readShort:()S
istore 5
start local 5 6: iload 5
bipush 6
if_icmple 11
7: new java.io.IOException
dup
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.net.URL.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " wrong binary CSS version: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ". Expected version less than or equal to"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: bipush 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: java.net.URL javafx.css.Stylesheet java.lang.Throwable java.lang.Throwable java.io.DataInputStream int
StackMap stack:
aload 4
invokestatic javafx.css.StyleConverter$StringStore.readBinary:(Ljava/io/DataInputStream;)[Ljava/lang/String;
astore 6
start local 6 12: new javafx.css.Stylesheet
dup
aload 0
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
invokespecial javafx.css.Stylesheet.<init>:(Ljava/lang/String;)V
astore 1
13: aload 4
ldc 2147483647
invokevirtual java.io.DataInputStream.mark:(I)V
14: aload 1
iload 5
aload 4
aload 6
invokevirtual javafx.css.Stylesheet.readBinary:(ILjava/io/DataInputStream;[Ljava/lang/String;)V
15: goto 23
StackMap locals: java.net.URL javafx.css.Stylesheet java.lang.Throwable java.lang.Throwable java.io.DataInputStream int java.lang.String[]
StackMap stack: java.lang.Exception
16: pop
17: new javafx.css.Stylesheet
dup
aload 0
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
invokespecial javafx.css.Stylesheet.<init>:(Ljava/lang/String;)V
astore 1
18: aload 4
invokevirtual java.io.DataInputStream.reset:()V
19: iload 5
iconst_2
if_icmpne 22
20: aload 1
iconst_3
aload 4
aload 6
invokevirtual javafx.css.Stylesheet.readBinary:(ILjava/io/DataInputStream;[Ljava/lang/String;)V
21: goto 23
22: StackMap locals:
StackMap stack:
aload 1
bipush 6
aload 4
aload 6
invokevirtual javafx.css.Stylesheet.readBinary:(ILjava/io/DataInputStream;[Ljava/lang/String;)V
end local 6 end local 5 23: StackMap locals:
StackMap stack:
aload 4
ifnull 30
aload 4
invokevirtual java.io.DataInputStream.close:()V
goto 30
StackMap locals:
StackMap stack: java.lang.Throwable
24: astore 2
aload 4
ifnull 25
aload 4
invokevirtual java.io.DataInputStream.close:()V
end local 4 StackMap locals:
StackMap stack:
25: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
26: astore 3
aload 2
ifnonnull 27
aload 3
astore 2
goto 28
StackMap locals:
StackMap stack:
27: aload 2
aload 3
if_acmpeq 28
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
28: aload 2
athrow
StackMap locals: java.net.URL javafx.css.Stylesheet
StackMap stack: java.io.FileNotFoundException
29: pop
30: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 url Ljava/net/URL;
2 31 1 stylesheet Ljavafx/css/Stylesheet;
5 25 4 dataInputStream Ljava/io/DataInputStream;
6 23 5 bssVersion I
12 23 6 strings [Ljava/lang/String;
Exception table:
from to target type
13 15 16 Class java.lang.Exception
5 23 24 any
3 26 26 any
2 29 29 Class java.io.FileNotFoundException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
public static void convertToBinary(java.io.File, java.io.File);
descriptor: (Ljava/io/File;Ljava/io/File;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 1
ifnonnull 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "parameters may not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aload 1
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: new java.lang.IllegalArgumentException
dup
ldc "source and destination may not be the same"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.canRead:()Z
ifne 6
5: new java.lang.IllegalArgumentException
dup
ldc "cannot read source file"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.File.exists:()Z
ifeq 7
aload 1
invokevirtual java.io.File.canWrite:()Z
ifne 9
goto 8
StackMap locals:
StackMap stack:
7: aload 1
invokevirtual java.io.File.createNewFile:()Z
ifne 9
8: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "cannot write destination file"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.toURI:()Ljava/net/URI;
astore 2
start local 2 10: new javafx.css.CssParser
dup
invokespecial javafx.css.CssParser.<init>:()V
aload 2
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
invokevirtual javafx.css.CssParser.parse:(Ljava/net/URL;)Ljavafx/css/Stylesheet;
astore 3
start local 3 11: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 4
start local 4 12: new java.io.DataOutputStream
dup
aload 4
invokespecial java.io.DataOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 5
start local 5 13: new javafx.css.StyleConverter$StringStore
dup
invokespecial javafx.css.StyleConverter$StringStore.<init>:()V
astore 6
start local 6 14: aload 3
aload 5
aload 6
invokevirtual javafx.css.Stylesheet.writeBinary:(Ljava/io/DataOutputStream;Ljavafx/css/StyleConverter$StringStore;)V
15: aload 5
invokevirtual java.io.DataOutputStream.flush:()V
16: aload 5
invokevirtual java.io.DataOutputStream.close:()V
17: new java.io.FileOutputStream
dup
aload 1
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 7
start local 7 18: new java.io.DataOutputStream
dup
aload 7
invokespecial java.io.DataOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 8
start local 8 19: aload 8
bipush 6
invokevirtual java.io.DataOutputStream.writeShort:(I)V
20: aload 6
aload 8
invokevirtual javafx.css.StyleConverter$StringStore.writeBinary:(Ljava/io/DataOutputStream;)V
21: aload 8
aload 4
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
invokevirtual java.io.DataOutputStream.write:([B)V
22: aload 8
invokevirtual java.io.DataOutputStream.flush:()V
23: aload 8
invokevirtual java.io.DataOutputStream.close:()V
24: return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 source Ljava/io/File;
0 25 1 destination Ljava/io/File;
10 25 2 sourceURI Ljava/net/URI;
11 25 3 stylesheet Ljavafx/css/Stylesheet;
12 25 4 baos Ljava/io/ByteArrayOutputStream;
13 25 5 dos Ljava/io/DataOutputStream;
14 25 6 stringStore Ljavafx/css/StyleConverter$StringStore;
18 25 7 fos Ljava/io/FileOutputStream;
19 25 8 os Ljava/io/DataOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
source
destination
void importStylesheet(javafx.css.Stylesheet);
descriptor: (Ljavafx/css/Stylesheet;)V
flags: (0x0000)
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
return
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual javafx.css.Stylesheet.getRules:()Ljava/util/List;
astore 2
start local 2 2: aload 2
ifnull 3
aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 4
StackMap locals: java.util.List
StackMap stack:
3: return
4: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
aload 2
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 5: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 10
StackMap locals: javafx.css.Stylesheet javafx.css.Stylesheet java.util.List java.util.List top java.util.Iterator
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.css.Rule
astore 4
start local 4 7: aload 4
invokevirtual javafx.css.Rule.getSelectors:()Ljavafx/collections/ObservableList;
astore 6
start local 6 8: aload 4
invokevirtual javafx.css.Rule.getUnobservedDeclarationList:()Ljava/util/List;
astore 7
start local 7 9: aload 3
new javafx.css.Rule
dup
aload 6
aload 7
invokespecial javafx.css.Rule.<init>:(Ljava/util/List;Ljava/util/List;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 6 end local 4 10: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
11: aload 0
getfield javafx.css.Stylesheet.rules:Ljavafx/collections/ObservableList;
aload 3
invokeinterface javafx.collections.ObservableList.addAll:(Ljava/util/Collection;)Z
pop
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavafx/css/Stylesheet;
0 13 1 importedStylesheet Ljavafx/css/Stylesheet;
2 13 2 rulesToImport Ljava/util/List<Ljavafx/css/Rule;>;
5 13 3 importedRules Ljava/util/List<Ljavafx/css/Rule;>;
7 10 4 rule Ljavafx/css/Rule;
8 10 6 selectors Ljava/util/List<Ljavafx/css/Selector;>;
9 10 7 declarations Ljava/util/List<Ljavafx/css/Declaration;>;
MethodParameters:
Name Flags
importedStylesheet
}
SourceFile: "Stylesheet.java"
NestMembers:
javafx.css.Stylesheet$1
InnerClasses:
public StringStore = javafx.css.StyleConverter$StringStore of javafx.css.StyleConverter
javafx.css.Stylesheet$1