public final class javafx.scene.paint.LinearGradient extends javafx.scene.paint.Paint
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javafx.scene.paint.LinearGradient
super_class: javafx.scene.paint.Paint
{
private double startX;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private double startY;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private double endX;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private double endY;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private boolean proportional;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javafx.scene.paint.CycleMethod cycleMethod;
descriptor: Ljavafx/scene/paint/CycleMethod;
flags: (0x0002) ACC_PRIVATE
private java.util.List<javafx.scene.paint.Stop> stops;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljavafx/scene/paint/Stop;>;
private final boolean opaque;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.Object platformPaint;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private int hash;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$javafx$scene$paint$CycleMethod;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public final double getStartX();
descriptor: ()D
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.paint.LinearGradient.startX:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/paint/LinearGradient;
public final double getStartY();
descriptor: ()D
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.paint.LinearGradient.startY:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/paint/LinearGradient;
public final double getEndX();
descriptor: ()D
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.paint.LinearGradient.endX:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/paint/LinearGradient;
public final double getEndY();
descriptor: ()D
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.paint.LinearGradient.endY:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/paint/LinearGradient;
public final boolean isProportional();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.paint.LinearGradient.proportional:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/paint/LinearGradient;
public final javafx.scene.paint.CycleMethod getCycleMethod();
descriptor: ()Ljavafx/scene/paint/CycleMethod;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.paint.LinearGradient.cycleMethod:Ljavafx/scene/paint/CycleMethod;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/paint/LinearGradient;
public final java.util.List<javafx.scene.paint.Stop> getStops();
descriptor: ()Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.paint.LinearGradient.stops:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/paint/LinearGradient;
Signature: ()Ljava/util/List<Ljavafx/scene/paint/Stop;>;
public final boolean isOpaque();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.paint.LinearGradient.opaque:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/paint/LinearGradient;
public void <init>(double, double, double, double, boolean, javafx.scene.paint.CycleMethod, javafx.scene.paint.Stop[]);
descriptor: (DDDDZLjavafx/scene/paint/CycleMethod;[Ljavafx/scene/paint/Stop;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=12, args_size=8
start local 0 start local 1 start local 3 start local 5 start local 7 start local 9 start local 10 start local 11 0: aload 0
invokespecial javafx.scene.paint.Paint.<init>:()V
1: aload 0
dload 1
putfield javafx.scene.paint.LinearGradient.startX:D
2: aload 0
dload 3
putfield javafx.scene.paint.LinearGradient.startY:D
3: aload 0
dload 5
putfield javafx.scene.paint.LinearGradient.endX:D
4: aload 0
dload 7
putfield javafx.scene.paint.LinearGradient.endY:D
5: aload 0
iload 9
putfield javafx.scene.paint.LinearGradient.proportional:Z
6: aload 0
aload 10
ifnonnull 7
getstatic javafx.scene.paint.CycleMethod.NO_CYCLE:Ljavafx/scene/paint/CycleMethod;
goto 8
StackMap locals: javafx.scene.paint.LinearGradient double double double double int javafx.scene.paint.CycleMethod javafx.scene.paint.Stop[]
StackMap stack: javafx.scene.paint.LinearGradient
7: aload 10
StackMap locals: javafx.scene.paint.LinearGradient double double double double int javafx.scene.paint.CycleMethod javafx.scene.paint.Stop[]
StackMap stack: javafx.scene.paint.LinearGradient javafx.scene.paint.CycleMethod
8: putfield javafx.scene.paint.LinearGradient.cycleMethod:Ljavafx/scene/paint/CycleMethod;
9: aload 0
aload 11
invokestatic javafx.scene.paint.Stop.normalize:([Ljavafx/scene/paint/Stop;)Ljava/util/List;
putfield javafx.scene.paint.LinearGradient.stops:Ljava/util/List;
10: aload 0
aload 0
invokevirtual javafx.scene.paint.LinearGradient.determineOpacity:()Z
putfield javafx.scene.paint.LinearGradient.opaque:Z
11: return
end local 11 end local 10 end local 9 end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavafx/scene/paint/LinearGradient;
0 12 1 startX D
0 12 3 startY D
0 12 5 endX D
0 12 7 endY D
0 12 9 proportional Z
0 12 10 cycleMethod Ljavafx/scene/paint/CycleMethod;
0 12 11 stops [Ljavafx/scene/paint/Stop;
RuntimeVisibleParameterAnnotations:
0:
javafx.beans.NamedArg(value = "startX")
1:
javafx.beans.NamedArg(value = "startY")
2:
javafx.beans.NamedArg(value = "endX", defaultValue = "1")
3:
javafx.beans.NamedArg(value = "endY", defaultValue = "1")
4:
javafx.beans.NamedArg(value = "proportional", defaultValue = "true")
5:
javafx.beans.NamedArg(value = "cycleMethod")
6:
javafx.beans.NamedArg(value = "stops")
MethodParameters:
Name Flags
startX
startY
endX
endY
proportional
cycleMethod
stops
public void <init>(double, double, double, double, boolean, javafx.scene.paint.CycleMethod, java.util.List<javafx.scene.paint.Stop>);
descriptor: (DDDDZLjavafx/scene/paint/CycleMethod;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=12, args_size=8
start local 0 start local 1 start local 3 start local 5 start local 7 start local 9 start local 10 start local 11 0: aload 0
invokespecial javafx.scene.paint.Paint.<init>:()V
1: aload 0
dload 1
putfield javafx.scene.paint.LinearGradient.startX:D
2: aload 0
dload 3
putfield javafx.scene.paint.LinearGradient.startY:D
3: aload 0
dload 5
putfield javafx.scene.paint.LinearGradient.endX:D
4: aload 0
dload 7
putfield javafx.scene.paint.LinearGradient.endY:D
5: aload 0
iload 9
putfield javafx.scene.paint.LinearGradient.proportional:Z
6: aload 0
aload 10
ifnonnull 7
getstatic javafx.scene.paint.CycleMethod.NO_CYCLE:Ljavafx/scene/paint/CycleMethod;
goto 8
StackMap locals: javafx.scene.paint.LinearGradient double double double double int javafx.scene.paint.CycleMethod java.util.List
StackMap stack: javafx.scene.paint.LinearGradient
7: aload 10
StackMap locals: javafx.scene.paint.LinearGradient double double double double int javafx.scene.paint.CycleMethod java.util.List
StackMap stack: javafx.scene.paint.LinearGradient javafx.scene.paint.CycleMethod
8: putfield javafx.scene.paint.LinearGradient.cycleMethod:Ljavafx/scene/paint/CycleMethod;
9: aload 0
aload 11
invokestatic javafx.scene.paint.Stop.normalize:(Ljava/util/List;)Ljava/util/List;
putfield javafx.scene.paint.LinearGradient.stops:Ljava/util/List;
10: aload 0
aload 0
invokevirtual javafx.scene.paint.LinearGradient.determineOpacity:()Z
putfield javafx.scene.paint.LinearGradient.opaque:Z
11: return
end local 11 end local 10 end local 9 end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavafx/scene/paint/LinearGradient;
0 12 1 startX D
0 12 3 startY D
0 12 5 endX D
0 12 7 endY D
0 12 9 proportional Z
0 12 10 cycleMethod Ljavafx/scene/paint/CycleMethod;
0 12 11 stops Ljava/util/List<Ljavafx/scene/paint/Stop;>;
Signature: (DDDDZLjavafx/scene/paint/CycleMethod;Ljava/util/List<Ljavafx/scene/paint/Stop;>;)V
RuntimeVisibleParameterAnnotations:
0:
javafx.beans.NamedArg(value = "startX")
1:
javafx.beans.NamedArg(value = "startY")
2:
javafx.beans.NamedArg(value = "endX", defaultValue = "1")
3:
javafx.beans.NamedArg(value = "endY", defaultValue = "1")
4:
javafx.beans.NamedArg(value = "proportional", defaultValue = "true")
5:
javafx.beans.NamedArg(value = "cycleMethod")
6:
javafx.beans.NamedArg(value = "stops")
MethodParameters:
Name Flags
startX
startY
endX
endY
proportional
cycleMethod
stops
private boolean determineOpacity();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield javafx.scene.paint.LinearGradient.stops:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 0
getfield javafx.scene.paint.LinearGradient.stops:Ljava/util/List;
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javafx.scene.paint.Stop
invokevirtual javafx.scene.paint.Stop.getColor:()Ljavafx/scene/paint/Color;
invokevirtual javafx.scene.paint.Color.isOpaque:()Z
ifne 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 1
if_icmplt 3
end local 2 7: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavafx/scene/paint/LinearGradient;
1 8 1 numStops I
2 7 2 i I
java.lang.Object acc_getPlatformPaint();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.paint.LinearGradient.platformPaint:Ljava/lang/Object;
ifnonnull 2
1: aload 0
invokestatic com.sun.javafx.tk.Toolkit.getToolkit:()Lcom/sun/javafx/tk/Toolkit;
aload 0
invokevirtual com.sun.javafx.tk.Toolkit.getPaint:(Ljavafx/scene/paint/Paint;)Ljava/lang/Object;
putfield javafx.scene.paint.LinearGradient.platformPaint:Ljava/lang/Object;
2: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.paint.LinearGradient.platformPaint:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/paint/LinearGradient;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
aload 1
aload 0
if_acmpne 2
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof javafx.scene.paint.LinearGradient
ifeq 13
3: aload 1
checkcast javafx.scene.paint.LinearGradient
astore 2
start local 2 4: aload 0
getfield javafx.scene.paint.LinearGradient.startX:D
aload 2
getfield javafx.scene.paint.LinearGradient.startX:D
dcmpl
ifne 10
5: aload 0
getfield javafx.scene.paint.LinearGradient.startY:D
aload 2
getfield javafx.scene.paint.LinearGradient.startY:D
dcmpl
ifne 10
6: aload 0
getfield javafx.scene.paint.LinearGradient.endX:D
aload 2
getfield javafx.scene.paint.LinearGradient.endX:D
dcmpl
ifne 10
7: aload 0
getfield javafx.scene.paint.LinearGradient.endY:D
aload 2
getfield javafx.scene.paint.LinearGradient.endY:D
dcmpl
ifne 10
8: aload 0
getfield javafx.scene.paint.LinearGradient.proportional:Z
aload 2
getfield javafx.scene.paint.LinearGradient.proportional:Z
if_icmpne 10
9: aload 0
getfield javafx.scene.paint.LinearGradient.cycleMethod:Ljavafx/scene/paint/CycleMethod;
aload 2
getfield javafx.scene.paint.LinearGradient.cycleMethod:Ljavafx/scene/paint/CycleMethod;
if_acmpeq 11
StackMap locals: javafx.scene.paint.LinearGradient
StackMap stack:
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.paint.LinearGradient.stops:Ljava/util/List;
aload 2
getfield javafx.scene.paint.LinearGradient.stops:Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifne 12
iconst_0
ireturn
12: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 13: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavafx/scene/paint/LinearGradient;
0 14 1 obj Ljava/lang/Object;
4 13 2 other Ljavafx/scene/paint/LinearGradient;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
getfield javafx.scene.paint.LinearGradient.hash:I
ifne 15
1: ldc 17
lstore 1
start local 1 2: ldc 37
lload 1
lmul
aload 0
getfield javafx.scene.paint.LinearGradient.startX:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
ladd
lstore 1
3: ldc 37
lload 1
lmul
aload 0
getfield javafx.scene.paint.LinearGradient.startY:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
ladd
lstore 1
4: ldc 37
lload 1
lmul
aload 0
getfield javafx.scene.paint.LinearGradient.endX:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
ladd
lstore 1
5: ldc 37
lload 1
lmul
aload 0
getfield javafx.scene.paint.LinearGradient.endY:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
ladd
lstore 1
6: ldc 37
lload 1
lmul
aload 0
getfield javafx.scene.paint.LinearGradient.proportional:Z
ifeq 7
ldc 1231
goto 8
StackMap locals: javafx.scene.paint.LinearGradient long
StackMap stack: long
7: ldc 1237
StackMap locals: javafx.scene.paint.LinearGradient long
StackMap stack: long long
8: ladd
lstore 1
9: ldc 37
lload 1
lmul
aload 0
getfield javafx.scene.paint.LinearGradient.cycleMethod:Ljavafx/scene/paint/CycleMethod;
invokevirtual javafx.scene.paint.CycleMethod.hashCode:()I
i2l
ladd
lstore 1
10: aload 0
getfield javafx.scene.paint.LinearGradient.stops:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 13
StackMap locals: javafx.scene.paint.LinearGradient long top java.util.Iterator
StackMap stack:
11: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.scene.paint.Stop
astore 3
start local 3 12: ldc 37
lload 1
lmul
aload 3
invokevirtual javafx.scene.paint.Stop.hashCode:()I
i2l
ladd
lstore 1
end local 3 13: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
14: aload 0
lload 1
lload 1
bipush 32
lshr
lxor
l2i
putfield javafx.scene.paint.LinearGradient.hash:I
end local 1 15: StackMap locals: javafx.scene.paint.LinearGradient
StackMap stack:
aload 0
getfield javafx.scene.paint.LinearGradient.hash:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavafx/scene/paint/LinearGradient;
2 15 1 bits J
12 13 3 stop Ljavafx/scene/paint/Stop;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "linear-gradient(from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield javafx.scene.paint.LinearGradient.startX:D
aload 0
getfield javafx.scene.paint.LinearGradient.proportional:Z
invokestatic com.sun.javafx.scene.paint.GradientUtils.lengthToString:(DZ)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javafx.scene.paint.LinearGradient.startY:D
aload 0
getfield javafx.scene.paint.LinearGradient.proportional:Z
invokestatic com.sun.javafx.scene.paint.GradientUtils.lengthToString:(DZ)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javafx.scene.paint.LinearGradient.endX:D
aload 0
getfield javafx.scene.paint.LinearGradient.proportional:Z
invokestatic com.sun.javafx.scene.paint.GradientUtils.lengthToString:(DZ)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javafx.scene.paint.LinearGradient.endY:D
aload 0
getfield javafx.scene.paint.LinearGradient.proportional:Z
invokestatic com.sun.javafx.scene.paint.GradientUtils.lengthToString:(DZ)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: astore 1
start local 1 7: invokestatic javafx.scene.paint.LinearGradient.$SWITCH_TABLE$javafx$scene$paint$CycleMethod:()[I
aload 0
getfield javafx.scene.paint.LinearGradient.cycleMethod:Ljavafx/scene/paint/CycleMethod;
invokevirtual javafx.scene.paint.CycleMethod.ordinal:()I
iaload
tableswitch { // 2 - 3
2: 8
3: 10
default: 11
}
8: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
ldc "reflect"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: goto 11
10: StackMap locals:
StackMap stack:
aload 1
ldc "repeat"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.paint.LinearGradient.stops:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 14
StackMap locals: javafx.scene.paint.LinearGradient java.lang.StringBuilder top java.util.Iterator
StackMap stack:
12: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.scene.paint.Stop
astore 2
start local 2 13: aload 1
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 14: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
15: aload 1
aload 1
invokevirtual java.lang.StringBuilder.length:()I
iconst_2
isub
aload 1
invokevirtual java.lang.StringBuilder.length:()I
invokevirtual java.lang.StringBuilder.delete:(II)Ljava/lang/StringBuilder;
pop
16: aload 1
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavafx/scene/paint/LinearGradient;
7 18 1 s Ljava/lang/StringBuilder;
13 14 2 stop Ljavafx/scene/paint/Stop;
public static javafx.scene.paint.LinearGradient valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavafx/scene/paint/LinearGradient;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=13, locals=17, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "gradient must be specified"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
ldc "linear-gradient("
astore 1
start local 1 3: ldc ")"
astore 2
start local 2 4: aload 0
aload 1
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 10
5: aload 0
aload 2
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 9
6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid gradient specification, must end with \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.String.length:()I
aload 0
invokevirtual java.lang.String.length:()I
aload 2
invokevirtual java.lang.String.length:()I
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 0
10: StackMap locals:
StackMap stack:
new com.sun.javafx.scene.paint.GradientUtils$Parser
dup
aload 0
invokespecial com.sun.javafx.scene.paint.GradientUtils$Parser.<init>:(Ljava/lang/String;)V
astore 3
start local 3 11: aload 3
invokevirtual com.sun.javafx.scene.paint.GradientUtils$Parser.getSize:()I
iconst_2
if_icmpge 13
12: new java.lang.IllegalArgumentException
dup
ldc "Invalid gradient specification"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals: com.sun.javafx.scene.paint.GradientUtils$Parser
StackMap stack:
getstatic com.sun.javafx.scene.paint.GradientUtils$Point.MIN:Lcom/sun/javafx/scene/paint/GradientUtils$Point;
astore 4
start local 4 14: getstatic com.sun.javafx.scene.paint.GradientUtils$Point.MIN:Lcom/sun/javafx/scene/paint/GradientUtils$Point;
astore 5
start local 5 15: getstatic com.sun.javafx.scene.paint.GradientUtils$Point.MIN:Lcom/sun/javafx/scene/paint/GradientUtils$Point;
astore 6
start local 6 16: getstatic com.sun.javafx.scene.paint.GradientUtils$Point.MIN:Lcom/sun/javafx/scene/paint/GradientUtils$Point;
astore 7
start local 7 17: aload 3
invokevirtual com.sun.javafx.scene.paint.GradientUtils$Parser.splitCurrentToken:()[Ljava/lang/String;
astore 8
start local 8 18: ldc "from"
aload 8
iconst_0
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
19: aload 8
iconst_5
invokestatic com.sun.javafx.scene.paint.GradientUtils$Parser.checkNumberOfArguments:([Ljava/lang/String;I)V
20: aload 3
aload 8
iconst_1
aaload
invokevirtual com.sun.javafx.scene.paint.GradientUtils$Parser.parsePoint:(Ljava/lang/String;)Lcom/sun/javafx/scene/paint/GradientUtils$Point;
astore 4
21: aload 3
aload 8
iconst_2
aaload
invokevirtual com.sun.javafx.scene.paint.GradientUtils$Parser.parsePoint:(Ljava/lang/String;)Lcom/sun/javafx/scene/paint/GradientUtils$Point;
astore 5
22: ldc "to"
aload 8
iconst_3
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 24
23: new java.lang.IllegalArgumentException
dup
ldc "Invalid gradient specification, \"to\" expected"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals: java.lang.String java.lang.String java.lang.String com.sun.javafx.scene.paint.GradientUtils$Parser com.sun.javafx.scene.paint.GradientUtils$Point com.sun.javafx.scene.paint.GradientUtils$Point com.sun.javafx.scene.paint.GradientUtils$Point com.sun.javafx.scene.paint.GradientUtils$Point java.lang.String[]
StackMap stack:
aload 3
aload 8
iconst_4
aaload
invokevirtual com.sun.javafx.scene.paint.GradientUtils$Parser.parsePoint:(Ljava/lang/String;)Lcom/sun/javafx/scene/paint/GradientUtils$Point;
astore 6
25: aload 3
aload 8
iconst_5
aaload
invokevirtual com.sun.javafx.scene.paint.GradientUtils$Parser.parsePoint:(Ljava/lang/String;)Lcom/sun/javafx/scene/paint/GradientUtils$Point;
astore 7
26: aload 3
invokevirtual com.sun.javafx.scene.paint.GradientUtils$Parser.shift:()V
27: goto 64
StackMap locals:
StackMap stack:
28: ldc "to"
aload 8
iconst_0
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 62
29: iconst_0
istore 9
start local 9 30: iconst_0
istore 10
start local 10 31: iconst_1
istore 11
start local 11 32: goto 55
33: StackMap locals: int int int
StackMap stack:
ldc "left"
aload 8
iload 11
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 38
34: getstatic com.sun.javafx.scene.paint.GradientUtils$Point.MAX:Lcom/sun/javafx/scene/paint/GradientUtils$Point;
astore 4
35: getstatic com.sun.javafx.scene.paint.GradientUtils$Point.MIN:Lcom/sun/javafx/scene/paint/GradientUtils$Point;
astore 6
36: iinc 9 1
37: goto 54
StackMap locals:
StackMap stack:
38: ldc "right"
aload 8
iload 11
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 43
39: getstatic com.sun.javafx.scene.paint.GradientUtils$Point.MIN:Lcom/sun/javafx/scene/paint/GradientUtils$Point;
astore 4
40: getstatic com.sun.javafx.scene.paint.GradientUtils$Point.MAX:Lcom/sun/javafx/scene/paint/GradientUtils$Point;
astore 6
41: iinc 9 1
42: goto 54
StackMap locals:
StackMap stack:
43: ldc "top"
aload 8
iload 11
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 48
44: getstatic com.sun.javafx.scene.paint.GradientUtils$Point.MAX:Lcom/sun/javafx/scene/paint/GradientUtils$Point;
astore 5
45: getstatic com.sun.javafx.scene.paint.GradientUtils$Point.MIN:Lcom/sun/javafx/scene/paint/GradientUtils$Point;
astore 7
46: iinc 10 1
47: goto 54
StackMap locals:
StackMap stack:
48: ldc "bottom"
aload 8
iload 11
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 53
49: getstatic com.sun.javafx.scene.paint.GradientUtils$Point.MIN:Lcom/sun/javafx/scene/paint/GradientUtils$Point;
astore 5
50: getstatic com.sun.javafx.scene.paint.GradientUtils$Point.MAX:Lcom/sun/javafx/scene/paint/GradientUtils$Point;
astore 7
51: iinc 10 1
52: goto 54
53: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid gradient specification, unknown value after 'to'"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
54: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
55: iload 11
iconst_3
if_icmpge 56
iload 11
aload 8
arraylength
if_icmplt 33
end local 11 56: StackMap locals:
StackMap stack:
iload 10
iconst_1
if_icmple 58
57: new java.lang.IllegalArgumentException
dup
ldc "Invalid gradient specification, vertical direction set twice after 'to'"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
58: StackMap locals:
StackMap stack:
iload 9
iconst_1
if_icmple 60
59: new java.lang.IllegalArgumentException
dup
ldc "Invalid gradient specification, horizontal direction set twice after 'to'"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
60: StackMap locals:
StackMap stack:
aload 3
invokevirtual com.sun.javafx.scene.paint.GradientUtils$Parser.shift:()V
end local 10 end local 9 61: goto 64
62: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.scene.paint.GradientUtils$Point.MIN:Lcom/sun/javafx/scene/paint/GradientUtils$Point;
astore 5
63: getstatic com.sun.javafx.scene.paint.GradientUtils$Point.MAX:Lcom/sun/javafx/scene/paint/GradientUtils$Point;
astore 7
64: StackMap locals:
StackMap stack:
getstatic javafx.scene.paint.CycleMethod.NO_CYCLE:Ljavafx/scene/paint/CycleMethod;
astore 9
start local 9 65: aload 3
invokevirtual com.sun.javafx.scene.paint.GradientUtils$Parser.getCurrentToken:()Ljava/lang/String;
astore 10
start local 10 66: ldc "repeat"
aload 10
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 70
67: getstatic javafx.scene.paint.CycleMethod.REPEAT:Ljavafx/scene/paint/CycleMethod;
astore 9
68: aload 3
invokevirtual com.sun.javafx.scene.paint.GradientUtils$Parser.shift:()V
69: goto 73
StackMap locals: javafx.scene.paint.CycleMethod java.lang.String
StackMap stack:
70: ldc "reflect"
aload 10
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 73
71: getstatic javafx.scene.paint.CycleMethod.REFLECT:Ljavafx/scene/paint/CycleMethod;
astore 9
72: aload 3
invokevirtual com.sun.javafx.scene.paint.GradientUtils$Parser.shift:()V
73: StackMap locals:
StackMap stack:
dconst_0
dstore 11
start local 11 74: aload 4
getfield com.sun.javafx.scene.paint.GradientUtils$Point.proportional:Z
ifne 78
75: aload 6
getfield com.sun.javafx.scene.paint.GradientUtils$Point.value:D
aload 4
getfield com.sun.javafx.scene.paint.GradientUtils$Point.value:D
dsub
dstore 13
start local 13 76: aload 7
getfield com.sun.javafx.scene.paint.GradientUtils$Point.value:D
aload 5
getfield com.sun.javafx.scene.paint.GradientUtils$Point.value:D
dsub
dstore 15
start local 15 77: dload 13
dload 13
dmul
dload 15
dload 15
dmul
dadd
invokestatic java.lang.Math.sqrt:(D)D
dstore 11
end local 15 end local 13 78: StackMap locals: double
StackMap stack:
aload 3
aload 4
getfield com.sun.javafx.scene.paint.GradientUtils$Point.proportional:Z
dload 11
invokevirtual com.sun.javafx.scene.paint.GradientUtils$Parser.parseStops:(ZD)[Ljavafx/scene/paint/Stop;
astore 13
start local 13 79: new javafx.scene.paint.LinearGradient
dup
aload 4
getfield com.sun.javafx.scene.paint.GradientUtils$Point.value:D
aload 5
getfield com.sun.javafx.scene.paint.GradientUtils$Point.value:D
aload 6
getfield com.sun.javafx.scene.paint.GradientUtils$Point.value:D
aload 7
getfield com.sun.javafx.scene.paint.GradientUtils$Point.value:D
80: aload 4
getfield com.sun.javafx.scene.paint.GradientUtils$Point.proportional:Z
aload 9
aload 13
81: invokespecial javafx.scene.paint.LinearGradient.<init>:(DDDDZLjavafx/scene/paint/CycleMethod;[Ljavafx/scene/paint/Stop;)V
areturn
end local 13 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 82 0 value Ljava/lang/String;
3 82 1 start Ljava/lang/String;
4 82 2 end Ljava/lang/String;
11 82 3 parser Lcom/sun/javafx/scene/paint/GradientUtils$Parser;
14 82 4 startX Lcom/sun/javafx/scene/paint/GradientUtils$Point;
15 82 5 startY Lcom/sun/javafx/scene/paint/GradientUtils$Point;
16 82 6 endX Lcom/sun/javafx/scene/paint/GradientUtils$Point;
17 82 7 endY Lcom/sun/javafx/scene/paint/GradientUtils$Point;
18 82 8 tokens [Ljava/lang/String;
30 61 9 horizontalSet I
31 61 10 verticalSet I
32 56 11 i I
65 82 9 method Ljavafx/scene/paint/CycleMethod;
66 82 10 currentToken Ljava/lang/String;
74 82 11 dist D
76 78 13 dx D
77 78 15 dy D
79 82 13 stops [Ljavafx/scene/paint/Stop;
MethodParameters:
Name Flags
value
static int[] $SWITCH_TABLE$javafx$scene$paint$CycleMethod();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic javafx.scene.paint.LinearGradient.$SWITCH_TABLE$javafx$scene$paint$CycleMethod:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic javafx.scene.paint.CycleMethod.values:()[Ljavafx/scene/paint/CycleMethod;
arraylength
newarray 10
astore 0
2: aload 0
getstatic javafx.scene.paint.CycleMethod.NO_CYCLE:Ljavafx/scene/paint/CycleMethod;
invokevirtual javafx.scene.paint.CycleMethod.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic javafx.scene.paint.CycleMethod.REFLECT:Ljavafx/scene/paint/CycleMethod;
invokevirtual javafx.scene.paint.CycleMethod.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic javafx.scene.paint.CycleMethod.REPEAT:Ljavafx/scene/paint/CycleMethod;
invokevirtual javafx.scene.paint.CycleMethod.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 javafx.scene.paint.LinearGradient.$SWITCH_TABLE$javafx$scene$paint$CycleMethod:[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
}
SourceFile: "LinearGradient.java"
InnerClasses:
public Parser = com.sun.javafx.scene.paint.GradientUtils$Parser of com.sun.javafx.scene.paint.GradientUtils
public Point = com.sun.javafx.scene.paint.GradientUtils$Point of com.sun.javafx.scene.paint.GradientUtils