final class com.sun.javafx.webkit.prism.WCRadialGradient extends com.sun.webkit.graphics.WCGradient<com.sun.prism.paint.RadialGradient>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.javafx.webkit.prism.WCRadialGradient
super_class: com.sun.webkit.graphics.WCGradient
{
static final java.util.Comparator<com.sun.prism.paint.Stop> COMPARATOR;
descriptor: Ljava/util/Comparator;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Comparator<Lcom/sun/prism/paint/Stop;>;
private final boolean reverse;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.webkit.graphics.WCPoint p1;
descriptor: Lcom/sun/webkit/graphics/WCPoint;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.webkit.graphics.WCPoint p2;
descriptor: Lcom/sun/webkit/graphics/WCPoint;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final float r1over;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final float r1;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final float r2;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<com.sun.prism.paint.Stop> stops;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lcom/sun/prism/paint/Stop;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokedynamic compare()Ljava/util/Comparator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)I
com/sun/javafx/webkit/prism/WCRadialGradient.lambda$0(Lcom/sun/prism/paint/Stop;Lcom/sun/prism/paint/Stop;)I (6)
(Lcom/sun/prism/paint/Stop;Lcom/sun/prism/paint/Stop;)I
putstatic com.sun.javafx.webkit.prism.WCRadialGradient.COMPARATOR:Ljava/util/Comparator;
1: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.sun.webkit.graphics.WCPoint, float, com.sun.webkit.graphics.WCPoint, float);
descriptor: (Lcom/sun/webkit/graphics/WCPoint;FLcom/sun/webkit/graphics/WCPoint;F)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial com.sun.webkit.graphics.WCGradient.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.javafx.webkit.prism.WCRadialGradient.stops:Ljava/util/List;
2: aload 0
fload 2
fload 4
fcmpg
ifge 3
iconst_1
goto 4
StackMap locals: com.sun.javafx.webkit.prism.WCRadialGradient com.sun.webkit.graphics.WCPoint float com.sun.webkit.graphics.WCPoint float
StackMap stack: com.sun.javafx.webkit.prism.WCRadialGradient
3: iconst_0
StackMap locals: com.sun.javafx.webkit.prism.WCRadialGradient com.sun.webkit.graphics.WCPoint float com.sun.webkit.graphics.WCPoint float
StackMap stack: com.sun.javafx.webkit.prism.WCRadialGradient int
4: putfield com.sun.javafx.webkit.prism.WCRadialGradient.reverse:Z
5: aload 0
aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.reverse:Z
ifeq 6
aload 3
goto 7
StackMap locals:
StackMap stack: com.sun.javafx.webkit.prism.WCRadialGradient
6: aload 1
StackMap locals: com.sun.javafx.webkit.prism.WCRadialGradient com.sun.webkit.graphics.WCPoint float com.sun.webkit.graphics.WCPoint float
StackMap stack: com.sun.javafx.webkit.prism.WCRadialGradient com.sun.webkit.graphics.WCPoint
7: putfield com.sun.javafx.webkit.prism.WCRadialGradient.p1:Lcom/sun/webkit/graphics/WCPoint;
8: aload 0
aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.reverse:Z
ifeq 9
aload 1
goto 10
StackMap locals:
StackMap stack: com.sun.javafx.webkit.prism.WCRadialGradient
9: aload 3
StackMap locals: com.sun.javafx.webkit.prism.WCRadialGradient com.sun.webkit.graphics.WCPoint float com.sun.webkit.graphics.WCPoint float
StackMap stack: com.sun.javafx.webkit.prism.WCRadialGradient com.sun.webkit.graphics.WCPoint
10: putfield com.sun.javafx.webkit.prism.WCRadialGradient.p2:Lcom/sun/webkit/graphics/WCPoint;
11: aload 0
aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.reverse:Z
ifeq 12
fload 4
goto 13
StackMap locals:
StackMap stack: com.sun.javafx.webkit.prism.WCRadialGradient
12: fload 2
StackMap locals: com.sun.javafx.webkit.prism.WCRadialGradient com.sun.webkit.graphics.WCPoint float com.sun.webkit.graphics.WCPoint float
StackMap stack: com.sun.javafx.webkit.prism.WCRadialGradient float
13: putfield com.sun.javafx.webkit.prism.WCRadialGradient.r1:F
14: aload 0
aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.reverse:Z
ifeq 15
fload 2
goto 16
StackMap locals:
StackMap stack: com.sun.javafx.webkit.prism.WCRadialGradient
15: fload 4
StackMap locals: com.sun.javafx.webkit.prism.WCRadialGradient com.sun.webkit.graphics.WCPoint float com.sun.webkit.graphics.WCPoint float
StackMap stack: com.sun.javafx.webkit.prism.WCRadialGradient float
16: putfield com.sun.javafx.webkit.prism.WCRadialGradient.r2:F
17: aload 0
aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.r1:F
fconst_0
fcmpl
ifle 19
18: fconst_1
aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.r1:F
fdiv
goto 20
19: StackMap locals:
StackMap stack: com.sun.javafx.webkit.prism.WCRadialGradient
fconst_0
20: StackMap locals: com.sun.javafx.webkit.prism.WCRadialGradient com.sun.webkit.graphics.WCPoint float com.sun.webkit.graphics.WCPoint float
StackMap stack: com.sun.javafx.webkit.prism.WCRadialGradient float
putfield com.sun.javafx.webkit.prism.WCRadialGradient.r1over:F
21: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/javafx/webkit/prism/WCRadialGradient;
0 22 1 p1 Lcom/sun/webkit/graphics/WCPoint;
0 22 2 r1 F
0 22 3 p2 Lcom/sun/webkit/graphics/WCPoint;
0 22 4 r2 F
MethodParameters:
Name Flags
p1
r1
p2
r2
protected void addStop(int, float);
descriptor: (IF)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.reverse:Z
ifeq 2
1: fconst_1
fload 2
fsub
fstore 2
2: StackMap locals:
StackMap stack:
fconst_1
fload 2
fsub
fload 2
aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.r2:F
fmul
aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.r1over:F
fmul
fadd
fstore 2
3: aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.stops:Ljava/util/List;
new com.sun.prism.paint.Stop
dup
iload 1
invokestatic com.sun.javafx.webkit.prism.WCGraphicsPrismContext.createColor:(I)Lcom/sun/prism/paint/Color;
fload 2
invokespecial com.sun.prism.paint.Stop.<init>:(Lcom/sun/prism/paint/Color;F)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/javafx/webkit/prism/WCRadialGradient;
0 5 1 argb I
0 5 2 offset F
MethodParameters:
Name Flags
argb
offset
public com.sun.prism.paint.RadialGradient getPlatformGradient();
descriptor: ()Lcom/sun/prism/paint/RadialGradient;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.stops:Ljava/util/List;
getstatic com.sun.javafx.webkit.prism.WCRadialGradient.COMPARATOR:Ljava/util/Comparator;
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
1: aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.p2:Lcom/sun/webkit/graphics/WCPoint;
invokevirtual com.sun.webkit.graphics.WCPoint.getX:()F
aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.p1:Lcom/sun/webkit/graphics/WCPoint;
invokevirtual com.sun.webkit.graphics.WCPoint.getX:()F
fsub
fstore 1
start local 1 2: aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.p2:Lcom/sun/webkit/graphics/WCPoint;
invokevirtual com.sun.webkit.graphics.WCPoint.getY:()F
aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.p1:Lcom/sun/webkit/graphics/WCPoint;
invokevirtual com.sun.webkit.graphics.WCPoint.getY:()F
fsub
fstore 2
start local 2 3: new com.sun.prism.paint.RadialGradient
dup
4: aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.p1:Lcom/sun/webkit/graphics/WCPoint;
invokevirtual com.sun.webkit.graphics.WCPoint.getX:()F
5: aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.p1:Lcom/sun/webkit/graphics/WCPoint;
invokevirtual com.sun.webkit.graphics.WCPoint.getY:()F
6: fload 2
f2d
fload 1
f2d
invokestatic java.lang.Math.atan2:(DD)D
ldc 180.0
dmul
ldc 3.141592653589793
ddiv
d2f
7: fload 1
fload 1
fmul
fload 2
fload 2
fmul
fadd
f2d
invokestatic java.lang.Math.sqrt:(D)D
d2f
aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.r1over:F
fmul
8: aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.r1:F
9: getstatic com.sun.javafx.geom.transform.BaseTransform.IDENTITY_TRANSFORM:Lcom/sun/javafx/geom/transform/BaseTransform;
10: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCRadialGradient.isProportional:()Z
11: aload 0
invokevirtual com.sun.javafx.webkit.prism.WCRadialGradient.getSpreadMethod:()I
iconst_1
isub
12: aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.stops:Ljava/util/List;
13: invokespecial com.sun.prism.paint.RadialGradient.<init>:(FFFFFLcom/sun/javafx/geom/transform/BaseTransform;ZILjava/util/List;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/javafx/webkit/prism/WCRadialGradient;
2 14 1 dx F
3 14 2 dy F
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.p1:Lcom/sun/webkit/graphics/WCPoint;
aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.p2:Lcom/sun/webkit/graphics/WCPoint;
aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.r1:F
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
aload 0
getfield com.sun.javafx.webkit.prism.WCRadialGradient.stops:Ljava/util/List;
invokestatic com.sun.javafx.webkit.prism.WCRadialGradient.toString:(Lcom/sun/webkit/graphics/WCGradient;Lcom/sun/webkit/graphics/WCPoint;Lcom/sun/webkit/graphics/WCPoint;Ljava/lang/Float;Ljava/util/List;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/webkit/prism/WCRadialGradient;
static java.lang.String toString(com.sun.webkit.graphics.WCGradient, com.sun.webkit.graphics.WCPoint, com.sun.webkit.graphics.WCPoint, java.lang.Float, java.util.List<com.sun.prism.paint.Stop>);
descriptor: (Lcom/sun/webkit/graphics/WCGradient;Lcom/sun/webkit/graphics/WCPoint;Lcom/sun/webkit/graphics/WCPoint;Ljava/lang/Float;Ljava/util/List;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 5
start local 5 1: aload 0
invokevirtual com.sun.webkit.graphics.WCGradient.getSpreadMethod:()I
tableswitch { // 1 - 3
1: 2
2: 4
3: 6
default: 7
}
2: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 5
ldc "[spreadMethod=PAD"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: goto 7
4: StackMap locals:
StackMap stack:
aload 5
ldc "[spreadMethod=REFLECT"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: goto 7
6: StackMap locals:
StackMap stack:
aload 5
ldc "[spreadMethod=REPEAT"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
StackMap stack:
aload 5
ldc ", proportional="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.webkit.graphics.WCGradient.isProportional:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
pop
8: aload 3
ifnull 10
9: aload 5
ldc ", radius="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
10: StackMap locals:
StackMap stack:
aload 5
ldc ", x1="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual com.sun.webkit.graphics.WCPoint.getX:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
pop
11: aload 5
ldc ", y1="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual com.sun.webkit.graphics.WCPoint.getY:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
pop
12: aload 5
ldc ", x2="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual com.sun.webkit.graphics.WCPoint.getX:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
pop
13: aload 5
ldc ", y2="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual com.sun.webkit.graphics.WCPoint.getY:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
pop
14: aload 5
ldc ", stops="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: iconst_0
istore 6
start local 6 16: goto 22
17: StackMap locals: int
StackMap stack:
aload 5
iload 6
ifne 18
ldc "["
goto 19
StackMap locals:
StackMap stack: java.lang.StringBuilder
18: ldc ", "
StackMap locals: com.sun.webkit.graphics.WCGradient com.sun.webkit.graphics.WCPoint com.sun.webkit.graphics.WCPoint java.lang.Float java.util.List java.lang.StringBuilder int
StackMap stack: java.lang.StringBuilder java.lang.String
19: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: aload 5
aload 4
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.prism.paint.Stop
invokevirtual com.sun.prism.paint.Stop.getOffset:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.prism.paint.Stop
invokevirtual com.sun.prism.paint.Stop.getColor:()Lcom/sun/prism/paint/Color;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
21: iinc 6 1
StackMap locals:
StackMap stack:
22: iload 6
aload 4
invokeinterface java.util.List.size:()I
if_icmplt 17
end local 6 23: aload 5
ldc "]]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
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 24 0 g Lcom/sun/webkit/graphics/WCGradient;
0 24 1 p1 Lcom/sun/webkit/graphics/WCPoint;
0 24 2 p2 Lcom/sun/webkit/graphics/WCPoint;
0 24 3 radius Ljava/lang/Float;
0 24 4 stops Ljava/util/List<Lcom/sun/prism/paint/Stop;>;
1 24 5 sb Ljava/lang/StringBuilder;
16 23 6 i I
Signature: (Lcom/sun/webkit/graphics/WCGradient;Lcom/sun/webkit/graphics/WCPoint;Lcom/sun/webkit/graphics/WCPoint;Ljava/lang/Float;Ljava/util/List<Lcom/sun/prism/paint/Stop;>;)Ljava/lang/String;
MethodParameters:
Name Flags
g
p1
p2
radius
stops
public java.lang.Object getPlatformGradient();
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.webkit.prism.WCRadialGradient.getPlatformGradient:()Lcom/sun/prism/paint/RadialGradient;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static int lambda$0(com.sun.prism.paint.Stop, com.sun.prism.paint.Stop);
descriptor: (Lcom/sun/prism/paint/Stop;Lcom/sun/prism/paint/Stop;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.prism.paint.Stop.getOffset:()F
fstore 2
start local 2 1: aload 1
invokevirtual com.sun.prism.paint.Stop.getOffset:()F
fstore 3
start local 3 2: fload 2
fload 3
fcmpg
ifge 4
3: iconst_m1
ireturn
4: StackMap locals: float float
StackMap stack:
fload 2
fload 3
fcmpl
ifle 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 s1 Lcom/sun/prism/paint/Stop;
0 7 1 s2 Lcom/sun/prism/paint/Stop;
1 7 2 o1 F
2 7 3 o2 F
}
Signature: Lcom/sun/webkit/graphics/WCGradient<Lcom/sun/prism/paint/RadialGradient;>;
SourceFile: "WCRadialGradient.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles