public abstract class com.sun.prism.paint.Gradient extends com.sun.prism.paint.Paint
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.prism.paint.Gradient
super_class: com.sun.prism.paint.Paint
{
public static final int PAD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int REFLECT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int REPEAT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private final int numStops;
descriptor: I
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;>;
private final com.sun.javafx.geom.transform.BaseTransform gradientTransform;
descriptor: Lcom/sun/javafx/geom/transform/BaseTransform;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int spreadMethod;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long cacheOffset;
descriptor: J
flags: (0x0002) ACC_PRIVATE
protected void <init>(com.sun.prism.paint.Paint$Type, com.sun.javafx.geom.transform.BaseTransform, boolean, int, java.util.List<com.sun.prism.paint.Stop>);
descriptor: (Lcom/sun/prism/paint/Paint$Type;Lcom/sun/javafx/geom/transform/BaseTransform;ZILjava/util/List;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
iload 3
iconst_0
invokespecial com.sun.prism.paint.Paint.<init>:(Lcom/sun/prism/paint/Paint$Type;ZZ)V
1: aload 0
ldc -1
putfield com.sun.prism.paint.Gradient.cacheOffset:J
2: aload 2
ifnull 5
3: aload 0
aload 2
invokevirtual com.sun.javafx.geom.transform.BaseTransform.copy:()Lcom/sun/javafx/geom/transform/BaseTransform;
putfield com.sun.prism.paint.Gradient.gradientTransform:Lcom/sun/javafx/geom/transform/BaseTransform;
4: goto 6
5: StackMap locals: com.sun.prism.paint.Gradient com.sun.prism.paint.Paint$Type com.sun.javafx.geom.transform.BaseTransform int int java.util.List
StackMap stack:
aload 0
getstatic com.sun.javafx.geom.transform.BaseTransform.IDENTITY_TRANSFORM:Lcom/sun/javafx/geom/transform/BaseTransform;
putfield com.sun.prism.paint.Gradient.gradientTransform:Lcom/sun/javafx/geom/transform/BaseTransform;
6: StackMap locals:
StackMap stack:
aload 0
iload 4
putfield com.sun.prism.paint.Gradient.spreadMethod:I
7: aload 0
aload 5
invokeinterface java.util.List.size:()I
putfield com.sun.prism.paint.Gradient.numStops:I
8: aload 0
aload 5
putfield com.sun.prism.paint.Gradient.stops:Ljava/util/List;
9: 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 10 0 this Lcom/sun/prism/paint/Gradient;
0 10 1 type Lcom/sun/prism/paint/Paint$Type;
0 10 2 gradientTransform Lcom/sun/javafx/geom/transform/BaseTransform;
0 10 3 proportional Z
0 10 4 spreadMethod I
0 10 5 stops Ljava/util/List<Lcom/sun/prism/paint/Stop;>;
Signature: (Lcom/sun/prism/paint/Paint$Type;Lcom/sun/javafx/geom/transform/BaseTransform;ZILjava/util/List<Lcom/sun/prism/paint/Stop;>;)V
MethodParameters:
Name Flags
type
gradientTransform
proportional
spreadMethod
stops
public int getSpreadMethod();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.paint.Gradient.spreadMethod:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/paint/Gradient;
public com.sun.javafx.geom.transform.BaseTransform getGradientTransformNoClone();
descriptor: ()Lcom/sun/javafx/geom/transform/BaseTransform;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.paint.Gradient.gradientTransform:Lcom/sun/javafx/geom/transform/BaseTransform;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/paint/Gradient;
public int getNumStops();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.paint.Gradient.numStops:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/paint/Gradient;
public java.util.List<com.sun.prism.paint.Stop> getStops();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.paint.Gradient.stops:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/paint/Gradient;
Signature: ()Ljava/util/List<Lcom/sun/prism/paint/Stop;>;
public void setGradientOffset(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield com.sun.prism.paint.Gradient.cacheOffset:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/paint/Gradient;
0 2 1 offset J
MethodParameters:
Name Flags
offset
public long getGradientOffset();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.paint.Gradient.cacheOffset:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/paint/Gradient;
public boolean isOpaque();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.prism.paint.Gradient.stops:Ljava/util/List;
iload 1
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 com.sun.prism.paint.Color.isOpaque:()Z
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
aload 0
getfield com.sun.prism.paint.Gradient.numStops:I
if_icmplt 2
end local 1 6: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/prism/paint/Gradient;
1 6 1 i I
}
SourceFile: "Gradient.java"
InnerClasses:
public final Type = com.sun.prism.paint.Paint$Type of com.sun.prism.paint.Paint