abstract class com.sun.prism.j2d.paint.MultipleGradientPaintContext implements java.awt.PaintContext
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.prism.j2d.paint.MultipleGradientPaintContext
super_class: java.lang.Object
{
protected java.awt.image.ColorModel model;
descriptor: Ljava/awt/image/ColorModel;
flags: (0x0004) ACC_PROTECTED
private static java.awt.image.ColorModel xrgbmodel;
descriptor: Ljava/awt/image/ColorModel;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
protected static java.awt.image.ColorModel cachedModel;
descriptor: Ljava/awt/image/ColorModel;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
protected static java.lang.ref.WeakReference<java.awt.image.Raster> cached;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Signature: Ljava/lang/ref/WeakReference<Ljava/awt/image/Raster;>;
protected java.awt.image.Raster saved;
descriptor: Ljava/awt/image/Raster;
flags: (0x0004) ACC_PROTECTED
protected com.sun.prism.j2d.paint.MultipleGradientPaint$CycleMethod cycleMethod;
descriptor: Lcom/sun/prism/j2d/paint/MultipleGradientPaint$CycleMethod;
flags: (0x0004) ACC_PROTECTED
protected com.sun.prism.j2d.paint.MultipleGradientPaint$ColorSpaceType colorSpace;
descriptor: Lcom/sun/prism/j2d/paint/MultipleGradientPaint$ColorSpaceType;
flags: (0x0004) ACC_PROTECTED
protected float a00;
descriptor: F
flags: (0x0004) ACC_PROTECTED
protected float a01;
descriptor: F
flags: (0x0004) ACC_PROTECTED
protected float a10;
descriptor: F
flags: (0x0004) ACC_PROTECTED
protected float a11;
descriptor: F
flags: (0x0004) ACC_PROTECTED
protected float a02;
descriptor: F
flags: (0x0004) ACC_PROTECTED
protected float a12;
descriptor: F
flags: (0x0004) ACC_PROTECTED
protected boolean isSimpleLookup;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected int fastGradientArraySize;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int[] gradient;
descriptor: [I
flags: (0x0004) ACC_PROTECTED
private int[][] gradients;
descriptor: [[I
flags: (0x0002) ACC_PRIVATE
private float[] normalizedIntervals;
descriptor: [F
flags: (0x0002) ACC_PRIVATE
private float[] fractions;
descriptor: [F
flags: (0x0002) ACC_PRIVATE
private int transparencyTest;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static final int[] SRGBtoLinearRGB;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int[] LinearRGBtoSRGB;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected static final int GRADIENT_SIZE;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 256
protected static final int GRADIENT_SIZE_INDEX;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 255
private static final int MAX_GRADIENT_ARRAY_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5000
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: new java.awt.image.DirectColorModel
dup
bipush 24
ldc 16711680
ldc 65280
sipush 255
invokespecial java.awt.image.DirectColorModel.<init>:(IIII)V
1: putstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.xrgbmodel:Ljava/awt/image/ColorModel;
2: sipush 256
newarray 10
putstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.SRGBtoLinearRGB:[I
3: sipush 256
newarray 10
putstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.LinearRGBtoSRGB:[I
4: iconst_0
istore 0
start local 0 5: goto 9
6: StackMap locals: int
StackMap stack:
getstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.SRGBtoLinearRGB:[I
iload 0
iload 0
invokestatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.convertSRGBtoLinearRGB:(I)I
iastore
7: getstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.LinearRGBtoSRGB:[I
iload 0
iload 0
invokestatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.convertLinearRGBtoSRGB:(I)I
iastore
8: iinc 0 1
StackMap locals:
StackMap stack:
9: iload 0
sipush 256
if_icmplt 6
end local 0 10: return
LocalVariableTable:
Start End Slot Name Signature
5 10 0 k I
protected void <init>(com.sun.prism.j2d.paint.MultipleGradientPaint, java.awt.image.ColorModel, java.awt.Rectangle, java.awt.geom.Rectangle2D, java.awt.geom.AffineTransform, java.awt.RenderingHints, float[], java.awt.Color[], com.sun.prism.j2d.paint.MultipleGradientPaint$CycleMethod, com.sun.prism.j2d.paint.MultipleGradientPaint$ColorSpaceType);
descriptor: (Lcom/sun/prism/j2d/paint/MultipleGradientPaint;Ljava/awt/image/ColorModel;Ljava/awt/Rectangle;Ljava/awt/geom/Rectangle2D;Ljava/awt/geom/AffineTransform;Ljava/awt/RenderingHints;[F[Ljava/awt/Color;Lcom/sun/prism/j2d/paint/MultipleGradientPaint$CycleMethod;Lcom/sun/prism/j2d/paint/MultipleGradientPaint$ColorSpaceType;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=13, args_size=11
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 3
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "Device bounds cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: com.sun.prism.j2d.paint.MultipleGradientPaintContext com.sun.prism.j2d.paint.MultipleGradientPaint java.awt.image.ColorModel java.awt.Rectangle java.awt.geom.Rectangle2D java.awt.geom.AffineTransform java.awt.RenderingHints float[] java.awt.Color[] com.sun.prism.j2d.paint.MultipleGradientPaint$CycleMethod com.sun.prism.j2d.paint.MultipleGradientPaint$ColorSpaceType
StackMap stack:
aload 4
ifnonnull 5
4: new java.lang.NullPointerException
dup
ldc "User bounds cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 5
ifnonnull 7
6: new java.lang.NullPointerException
dup
ldc "Transform cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.awt.geom.AffineTransform.createInverse:()Ljava/awt/geom/AffineTransform;
astore 11
start local 11 8: goto 11
end local 11 StackMap locals:
StackMap stack: java.awt.geom.NoninvertibleTransformException
9: pop
10: new java.awt.geom.AffineTransform
dup
invokespecial java.awt.geom.AffineTransform.<init>:()V
astore 11
start local 11 11: StackMap locals: java.awt.geom.AffineTransform
StackMap stack:
bipush 6
newarray 7
astore 12
start local 12 12: aload 11
aload 12
invokevirtual java.awt.geom.AffineTransform.getMatrix:([D)V
13: aload 0
aload 12
iconst_0
daload
d2f
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.a00:F
14: aload 0
aload 12
iconst_1
daload
d2f
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.a10:F
15: aload 0
aload 12
iconst_2
daload
d2f
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.a01:F
16: aload 0
aload 12
iconst_3
daload
d2f
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.a11:F
17: aload 0
aload 12
iconst_4
daload
d2f
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.a02:F
18: aload 0
aload 12
iconst_5
daload
d2f
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.a12:F
19: aload 0
aload 9
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.cycleMethod:Lcom/sun/prism/j2d/paint/MultipleGradientPaint$CycleMethod;
20: aload 0
aload 10
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.colorSpace:Lcom/sun/prism/j2d/paint/MultipleGradientPaint$ColorSpaceType;
21: aload 0
aload 7
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.fractions:[F
22: aload 0
23: aload 1
getfield com.sun.prism.j2d.paint.MultipleGradientPaint.gradient:Ljava/lang/ref/SoftReference;
ifnull 24
aload 1
getfield com.sun.prism.j2d.paint.MultipleGradientPaint.gradient:Ljava/lang/ref/SoftReference;
invokevirtual java.lang.ref.SoftReference.get:()Ljava/lang/Object;
checkcast int[]
goto 25
StackMap locals: com.sun.prism.j2d.paint.MultipleGradientPaintContext com.sun.prism.j2d.paint.MultipleGradientPaint java.awt.image.ColorModel java.awt.Rectangle java.awt.geom.Rectangle2D java.awt.geom.AffineTransform java.awt.RenderingHints float[] java.awt.Color[] com.sun.prism.j2d.paint.MultipleGradientPaint$CycleMethod com.sun.prism.j2d.paint.MultipleGradientPaint$ColorSpaceType java.awt.geom.AffineTransform double[]
StackMap stack: com.sun.prism.j2d.paint.MultipleGradientPaintContext
24: aconst_null
25: StackMap locals: com.sun.prism.j2d.paint.MultipleGradientPaintContext com.sun.prism.j2d.paint.MultipleGradientPaint java.awt.image.ColorModel java.awt.Rectangle java.awt.geom.Rectangle2D java.awt.geom.AffineTransform java.awt.RenderingHints float[] java.awt.Color[] com.sun.prism.j2d.paint.MultipleGradientPaint$CycleMethod com.sun.prism.j2d.paint.MultipleGradientPaint$ColorSpaceType java.awt.geom.AffineTransform double[]
StackMap stack: com.sun.prism.j2d.paint.MultipleGradientPaintContext int[]
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradient:[I
26: aload 0
27: aload 1
getfield com.sun.prism.j2d.paint.MultipleGradientPaint.gradients:Ljava/lang/ref/SoftReference;
ifnull 28
aload 1
getfield com.sun.prism.j2d.paint.MultipleGradientPaint.gradients:Ljava/lang/ref/SoftReference;
invokevirtual java.lang.ref.SoftReference.get:()Ljava/lang/Object;
checkcast int[][]
goto 29
StackMap locals:
StackMap stack: com.sun.prism.j2d.paint.MultipleGradientPaintContext
28: aconst_null
29: StackMap locals: com.sun.prism.j2d.paint.MultipleGradientPaintContext com.sun.prism.j2d.paint.MultipleGradientPaint java.awt.image.ColorModel java.awt.Rectangle java.awt.geom.Rectangle2D java.awt.geom.AffineTransform java.awt.RenderingHints float[] java.awt.Color[] com.sun.prism.j2d.paint.MultipleGradientPaint$CycleMethod com.sun.prism.j2d.paint.MultipleGradientPaint$ColorSpaceType java.awt.geom.AffineTransform double[]
StackMap stack: com.sun.prism.j2d.paint.MultipleGradientPaintContext int[][]
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
30: aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradient:[I
ifnonnull 41
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
ifnonnull 41
31: aload 0
aload 8
invokevirtual com.sun.prism.j2d.paint.MultipleGradientPaintContext.calculateLookupData:([Ljava/awt/Color;)V
32: aload 1
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.model:Ljava/awt/image/ColorModel;
putfield com.sun.prism.j2d.paint.MultipleGradientPaint.model:Ljava/awt/image/ColorModel;
33: aload 1
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.normalizedIntervals:[F
putfield com.sun.prism.j2d.paint.MultipleGradientPaint.normalizedIntervals:[F
34: aload 1
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.isSimpleLookup:Z
putfield com.sun.prism.j2d.paint.MultipleGradientPaint.isSimpleLookup:Z
35: aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.isSimpleLookup:Z
ifeq 39
36: aload 1
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.fastGradientArraySize:I
putfield com.sun.prism.j2d.paint.MultipleGradientPaint.fastGradientArraySize:I
37: aload 1
new java.lang.ref.SoftReference
dup
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradient:[I
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
putfield com.sun.prism.j2d.paint.MultipleGradientPaint.gradient:Ljava/lang/ref/SoftReference;
38: goto 45
39: StackMap locals:
StackMap stack:
aload 1
new java.lang.ref.SoftReference
dup
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
putfield com.sun.prism.j2d.paint.MultipleGradientPaint.gradients:Ljava/lang/ref/SoftReference;
40: goto 45
41: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield com.sun.prism.j2d.paint.MultipleGradientPaint.model:Ljava/awt/image/ColorModel;
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.model:Ljava/awt/image/ColorModel;
42: aload 0
aload 1
getfield com.sun.prism.j2d.paint.MultipleGradientPaint.normalizedIntervals:[F
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.normalizedIntervals:[F
43: aload 0
aload 1
getfield com.sun.prism.j2d.paint.MultipleGradientPaint.isSimpleLookup:Z
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.isSimpleLookup:Z
44: aload 0
aload 1
getfield com.sun.prism.j2d.paint.MultipleGradientPaint.fastGradientArraySize:I
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.fastGradientArraySize:I
45: StackMap locals:
StackMap stack:
return
end local 12 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 46 0 this Lcom/sun/prism/j2d/paint/MultipleGradientPaintContext;
0 46 1 mgp Lcom/sun/prism/j2d/paint/MultipleGradientPaint;
0 46 2 cm Ljava/awt/image/ColorModel;
0 46 3 deviceBounds Ljava/awt/Rectangle;
0 46 4 userBounds Ljava/awt/geom/Rectangle2D;
0 46 5 t Ljava/awt/geom/AffineTransform;
0 46 6 hints Ljava/awt/RenderingHints;
0 46 7 fractions [F
0 46 8 colors [Ljava/awt/Color;
0 46 9 cycleMethod Lcom/sun/prism/j2d/paint/MultipleGradientPaint$CycleMethod;
0 46 10 colorSpace Lcom/sun/prism/j2d/paint/MultipleGradientPaint$ColorSpaceType;
8 9 11 tInv Ljava/awt/geom/AffineTransform;
11 46 11 tInv Ljava/awt/geom/AffineTransform;
12 46 12 m [D
Exception table:
from to target type
7 8 9 Class java.awt.geom.NoninvertibleTransformException
MethodParameters:
Name Flags
mgp
cm
deviceBounds
userBounds
t
hints
fractions
colors
cycleMethod
colorSpace
private void calculateLookupData(java.awt.Color[]);
descriptor: ([Ljava/awt/Color;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.colorSpace:Lcom/sun/prism/j2d/paint/MultipleGradientPaint$ColorSpaceType;
getstatic com.sun.prism.j2d.paint.MultipleGradientPaint$ColorSpaceType.LINEAR_RGB:Lcom/sun/prism/j2d/paint/MultipleGradientPaint$ColorSpaceType;
if_acmpne 13
1: aload 1
arraylength
anewarray java.awt.Color
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 11
4: StackMap locals: java.awt.Color[] int
StackMap stack:
aload 1
iload 3
aaload
invokevirtual java.awt.Color.getRGB:()I
istore 4
start local 4 5: iload 4
bipush 24
iushr
istore 5
start local 5 6: getstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.SRGBtoLinearRGB:[I
iload 4
bipush 16
ishr
sipush 255
iand
iaload
istore 6
start local 6 7: getstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.SRGBtoLinearRGB:[I
iload 4
bipush 8
ishr
sipush 255
iand
iaload
istore 7
start local 7 8: getstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.SRGBtoLinearRGB:[I
iload 4
sipush 255
iand
iaload
istore 8
start local 8 9: aload 2
iload 3
new java.awt.Color
dup
iload 6
iload 7
iload 8
iload 5
invokespecial java.awt.Color.<init>:(IIII)V
aastore
end local 8 end local 7 end local 6 end local 5 end local 4 10: iinc 3 1
StackMap locals:
StackMap stack:
11: iload 3
aload 1
arraylength
if_icmplt 4
end local 3 12: goto 14
end local 2 13: StackMap locals:
StackMap stack:
aload 1
astore 2
start local 2 14: StackMap locals: java.awt.Color[]
StackMap stack:
aload 0
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.fractions:[F
arraylength
iconst_1
isub
newarray 6
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.normalizedIntervals:[F
15: iconst_0
istore 3
start local 3 16: goto 19
17: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.normalizedIntervals:[F
iload 3
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.fractions:[F
iload 3
iconst_1
iadd
faload
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.fractions:[F
iload 3
faload
fsub
fastore
18: iinc 3 1
StackMap locals:
StackMap stack:
19: iload 3
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.normalizedIntervals:[F
arraylength
if_icmplt 17
end local 3 20: aload 0
ldc -16777216
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.transparencyTest:I
21: aload 0
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.normalizedIntervals:[F
arraylength
anewarray int[]
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
22: fconst_1
fstore 3
start local 3 23: iconst_0
istore 4
start local 4 24: goto 30
25: StackMap locals: com.sun.prism.j2d.paint.MultipleGradientPaintContext java.awt.Color[] java.awt.Color[] float int
StackMap stack:
fload 3
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.normalizedIntervals:[F
iload 4
faload
fcmpl
ifle 27
26: aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.normalizedIntervals:[F
iload 4
faload
goto 28
StackMap locals:
StackMap stack:
27: fload 3
28: StackMap locals:
StackMap stack: float
fstore 3
29: iinc 4 1
StackMap locals:
StackMap stack:
30: iload 4
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.normalizedIntervals:[F
arraylength
if_icmplt 25
end local 4 31: iconst_0
istore 4
start local 4 32: iconst_0
istore 5
start local 5 33: goto 36
34: StackMap locals: int
StackMap stack:
iload 4
i2f
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.normalizedIntervals:[F
iload 5
faload
fload 3
fdiv
ldc 256.0
fmul
fadd
f2i
istore 4
35: iinc 5 1
StackMap locals:
StackMap stack:
36: iload 5
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.normalizedIntervals:[F
arraylength
if_icmplt 34
end local 5 37: iload 4
sipush 5000
if_icmple 40
38: aload 0
aload 2
invokevirtual com.sun.prism.j2d.paint.MultipleGradientPaintContext.calculateMultipleArrayGradient:([Ljava/awt/Color;)V
39: goto 41
40: StackMap locals:
StackMap stack:
aload 0
aload 2
fload 3
invokevirtual com.sun.prism.j2d.paint.MultipleGradientPaintContext.calculateSingleArrayGradient:([Ljava/awt/Color;F)V
41: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.transparencyTest:I
bipush 24
iushr
sipush 255
if_icmpne 44
42: aload 0
getstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.xrgbmodel:Ljava/awt/image/ColorModel;
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.model:Ljava/awt/image/ColorModel;
43: goto 45
44: StackMap locals:
StackMap stack:
aload 0
invokestatic java.awt.image.ColorModel.getRGBdefault:()Ljava/awt/image/ColorModel;
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.model:Ljava/awt/image/ColorModel;
45: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lcom/sun/prism/j2d/paint/MultipleGradientPaintContext;
0 46 1 colors [Ljava/awt/Color;
2 13 2 normalizedColors [Ljava/awt/Color;
14 46 2 normalizedColors [Ljava/awt/Color;
3 12 3 i I
5 10 4 argb I
6 10 5 a I
7 10 6 r I
8 10 7 g I
9 10 8 b I
16 20 3 i I
23 46 3 Imin F
24 31 4 i I
32 46 4 estimatedSize I
33 37 5 i I
MethodParameters:
Name Flags
colors
private void calculateSingleArrayGradient(java.awt.Color[], float);
descriptor: ([Ljava/awt/Color;F)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_1
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.isSimpleLookup:Z
1: iconst_1
istore 5
start local 5 2: iconst_0
istore 6
start local 6 3: goto 13
4: StackMap locals: com.sun.prism.j2d.paint.MultipleGradientPaintContext java.awt.Color[] float top top int int
StackMap stack:
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.normalizedIntervals:[F
iload 6
faload
fload 2
fdiv
ldc 255.0
fmul
f2i
istore 7
start local 7 5: iload 5
iload 7
iadd
istore 5
6: aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
iload 6
iload 7
newarray 10
aastore
7: aload 1
iload 6
aaload
invokevirtual java.awt.Color.getRGB:()I
istore 3
start local 3 8: aload 1
iload 6
iconst_1
iadd
aaload
invokevirtual java.awt.Color.getRGB:()I
istore 4
start local 4 9: aload 0
iload 3
iload 4
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
iload 6
aaload
invokevirtual com.sun.prism.j2d.paint.MultipleGradientPaintContext.interpolate:(II[I)V
10: aload 0
dup
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.transparencyTest:I
iload 3
iand
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.transparencyTest:I
11: aload 0
dup
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.transparencyTest:I
iload 4
iand
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.transparencyTest:I
end local 7 12: iinc 6 1
end local 4 end local 3 StackMap locals:
StackMap stack:
13: iload 6
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
arraylength
if_icmplt 4
end local 6 14: aload 0
iload 5
newarray 10
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradient:[I
15: iconst_0
istore 6
start local 6 16: iconst_0
istore 7
start local 7 17: goto 23
18: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
iload 7
aaload
iconst_0
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradient:[I
19: iload 6
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
iload 7
aaload
arraylength
20: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
21: iload 6
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
iload 7
aaload
arraylength
iadd
istore 6
22: iinc 7 1
StackMap locals:
StackMap stack:
23: iload 7
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
arraylength
if_icmplt 18
end local 7 24: aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradient:[I
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradient:[I
arraylength
iconst_1
isub
aload 1
aload 1
arraylength
iconst_1
isub
aaload
invokevirtual java.awt.Color.getRGB:()I
iastore
25: aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.colorSpace:Lcom/sun/prism/j2d/paint/MultipleGradientPaint$ColorSpaceType;
getstatic com.sun.prism.j2d.paint.MultipleGradientPaint$ColorSpaceType.LINEAR_RGB:Lcom/sun/prism/j2d/paint/MultipleGradientPaint$ColorSpaceType;
if_acmpne 31
26: iconst_0
istore 7
start local 7 27: goto 30
28: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradient:[I
iload 7
aload 0
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradient:[I
iload 7
iaload
invokevirtual com.sun.prism.j2d.paint.MultipleGradientPaintContext.convertEntireColorLinearRGBtoSRGB:(I)I
iastore
29: iinc 7 1
StackMap locals:
StackMap stack:
30: iload 7
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradient:[I
arraylength
if_icmplt 28
end local 7 31: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradient:[I
arraylength
iconst_1
isub
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.fastGradientArraySize:I
32: return
end local 6 end local 5 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lcom/sun/prism/j2d/paint/MultipleGradientPaintContext;
0 33 1 colors [Ljava/awt/Color;
0 33 2 Imin F
8 13 3 rgb1 I
9 13 4 rgb2 I
2 33 5 gradientsTot I
3 14 6 i I
5 12 7 nGradients I
16 33 6 curOffset I
17 24 7 i I
27 31 7 i I
MethodParameters:
Name Flags
colors
Imin
private void calculateMultipleArrayGradient(java.awt.Color[]);
descriptor: ([Ljava/awt/Color;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.isSimpleLookup:Z
1: iconst_0
istore 4
start local 4 2: goto 10
3: StackMap locals: com.sun.prism.j2d.paint.MultipleGradientPaintContext java.awt.Color[] top top int
StackMap stack:
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
iload 4
sipush 256
newarray 10
aastore
4: aload 1
iload 4
aaload
invokevirtual java.awt.Color.getRGB:()I
istore 2
start local 2 5: aload 1
iload 4
iconst_1
iadd
aaload
invokevirtual java.awt.Color.getRGB:()I
istore 3
start local 3 6: aload 0
iload 2
iload 3
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
iload 4
aaload
invokevirtual com.sun.prism.j2d.paint.MultipleGradientPaintContext.interpolate:(II[I)V
7: aload 0
dup
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.transparencyTest:I
iload 2
iand
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.transparencyTest:I
8: aload 0
dup
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.transparencyTest:I
iload 3
iand
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.transparencyTest:I
9: iinc 4 1
end local 3 end local 2 StackMap locals:
StackMap stack:
10: iload 4
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
arraylength
if_icmplt 3
end local 4 11: aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.colorSpace:Lcom/sun/prism/j2d/paint/MultipleGradientPaint$ColorSpaceType;
getstatic com.sun.prism.j2d.paint.MultipleGradientPaint$ColorSpaceType.LINEAR_RGB:Lcom/sun/prism/j2d/paint/MultipleGradientPaint$ColorSpaceType;
if_acmpne 23
12: iconst_0
istore 4
start local 4 13: goto 22
14: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 15: goto 20
16: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
iload 4
aaload
iload 5
17: aload 0
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
iload 4
aaload
iload 5
iaload
invokevirtual com.sun.prism.j2d.paint.MultipleGradientPaintContext.convertEntireColorLinearRGBtoSRGB:(I)I
18: iastore
19: iinc 5 1
StackMap locals:
StackMap stack:
20: iload 5
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
iload 4
aaload
arraylength
if_icmplt 16
end local 5 21: iinc 4 1
StackMap locals:
StackMap stack:
22: iload 4
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
arraylength
if_icmplt 14
end local 4 23: StackMap locals: com.sun.prism.j2d.paint.MultipleGradientPaintContext java.awt.Color[]
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/prism/j2d/paint/MultipleGradientPaintContext;
0 24 1 colors [Ljava/awt/Color;
5 10 2 rgb1 I
6 10 3 rgb2 I
2 11 4 i I
13 23 4 j I
15 21 5 i I
MethodParameters:
Name Flags
colors
private void interpolate(int, int, int[]);
descriptor: (II[I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: fconst_1
aload 3
arraylength
i2f
fdiv
fstore 12
start local 12 1: iload 1
bipush 24
ishr
sipush 255
iand
istore 4
start local 4 2: iload 1
bipush 16
ishr
sipush 255
iand
istore 5
start local 5 3: iload 1
bipush 8
ishr
sipush 255
iand
istore 6
start local 6 4: iload 1
sipush 255
iand
istore 7
start local 7 5: iload 2
bipush 24
ishr
sipush 255
iand
iload 4
isub
istore 8
start local 8 6: iload 2
bipush 16
ishr
sipush 255
iand
iload 5
isub
istore 9
start local 9 7: iload 2
bipush 8
ishr
sipush 255
iand
iload 6
isub
istore 10
start local 10 8: iload 2
sipush 255
iand
iload 7
isub
istore 11
start local 11 9: iconst_0
istore 13
start local 13 10: goto 21
11: StackMap locals: com.sun.prism.j2d.paint.MultipleGradientPaintContext int int int[] int int int int int int int int float int
StackMap stack:
aload 3
iload 13
12: iload 4
i2f
iload 13
iload 8
imul
i2f
fload 12
fmul
fadd
f2d
ldc 0.5
dadd
d2i
bipush 24
ishl
13: iload 5
i2f
iload 13
iload 9
imul
i2f
fload 12
fmul
fadd
f2d
ldc 0.5
dadd
d2i
bipush 16
ishl
14: ior
15: iload 6
i2f
iload 13
iload 10
imul
i2f
fload 12
fmul
fadd
f2d
ldc 0.5
dadd
d2i
bipush 8
ishl
16: ior
17: iload 7
i2f
iload 13
iload 11
imul
i2f
fload 12
fmul
fadd
f2d
ldc 0.5
dadd
d2i
18: ior
19: iastore
20: iinc 13 1
StackMap locals:
StackMap stack:
21: iload 13
aload 3
arraylength
if_icmplt 11
end local 13 22: return
end local 12 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 23 0 this Lcom/sun/prism/j2d/paint/MultipleGradientPaintContext;
0 23 1 rgb1 I
0 23 2 rgb2 I
0 23 3 output [I
2 23 4 a1 I
3 23 5 r1 I
4 23 6 g1 I
5 23 7 b1 I
6 23 8 da I
7 23 9 dr I
8 23 10 dg I
9 23 11 db I
1 23 12 stepSize F
10 22 13 i I
MethodParameters:
Name Flags
rgb1
rgb2
output
private int convertEntireColorLinearRGBtoSRGB(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: iload 1
bipush 24
ishr
sipush 255
iand
istore 2
start local 2 1: iload 1
bipush 16
ishr
sipush 255
iand
istore 3
start local 3 2: iload 1
bipush 8
ishr
sipush 255
iand
istore 4
start local 4 3: iload 1
sipush 255
iand
istore 5
start local 5 4: getstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.LinearRGBtoSRGB:[I
iload 3
iaload
istore 3
5: getstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.LinearRGBtoSRGB:[I
iload 4
iaload
istore 4
6: getstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.LinearRGBtoSRGB:[I
iload 5
iaload
istore 5
7: iload 2
bipush 24
ishl
8: iload 3
bipush 16
ishl
9: ior
10: iload 4
bipush 8
ishl
11: ior
12: iload 5
13: ior
ireturn
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 14 0 this Lcom/sun/prism/j2d/paint/MultipleGradientPaintContext;
0 14 1 rgb I
1 14 2 a1 I
2 14 3 r1 I
3 14 4 g1 I
4 14 5 b1 I
MethodParameters:
Name Flags
rgb
protected final int indexIntoGradientsArrays(float);
descriptor: (F)I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.cycleMethod:Lcom/sun/prism/j2d/paint/MultipleGradientPaint$CycleMethod;
getstatic com.sun.prism.j2d.paint.MultipleGradientPaint$CycleMethod.NO_CYCLE:Lcom/sun/prism/j2d/paint/MultipleGradientPaint$CycleMethod;
if_acmpne 7
1: fload 1
fconst_1
fcmpl
ifle 4
2: fconst_1
fstore 1
3: goto 18
StackMap locals:
StackMap stack:
4: fload 1
fconst_0
fcmpg
ifge 18
5: fconst_0
fstore 1
6: goto 18
StackMap locals:
StackMap stack:
7: aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.cycleMethod:Lcom/sun/prism/j2d/paint/MultipleGradientPaint$CycleMethod;
getstatic com.sun.prism.j2d.paint.MultipleGradientPaint$CycleMethod.REPEAT:Lcom/sun/prism/j2d/paint/MultipleGradientPaint$CycleMethod;
if_acmpne 12
8: fload 1
fload 1
f2i
i2f
fsub
fstore 1
9: fload 1
fconst_0
fcmpg
ifge 18
10: fload 1
fconst_1
fadd
fstore 1
11: goto 18
12: StackMap locals:
StackMap stack:
fload 1
fconst_0
fcmpg
ifge 14
13: fload 1
fneg
fstore 1
14: StackMap locals:
StackMap stack:
fload 1
f2i
istore 2
start local 2 15: fload 1
iload 2
i2f
fsub
fstore 1
16: iload 2
iconst_1
iand
iconst_1
if_icmpne 18
17: fconst_1
fload 1
fsub
fstore 1
end local 2 18: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.isSimpleLookup:Z
ifeq 20
19: aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradient:[I
fload 1
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.fastGradientArraySize:I
i2f
fmul
f2i
iaload
ireturn
20: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 21: goto 29
22: StackMap locals: int
StackMap stack:
fload 1
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.fractions:[F
iload 2
iconst_1
iadd
faload
fcmpg
ifge 28
23: fload 1
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.fractions:[F
iload 2
faload
fsub
fstore 3
start local 3 24: fload 3
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.normalizedIntervals:[F
iload 2
faload
fdiv
25: ldc 255.0
26: fmul
f2i
istore 4
start local 4 27: aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
iload 2
aaload
iload 4
iaload
ireturn
end local 4 end local 3 28: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
29: iload 2
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
arraylength
if_icmplt 22
end local 2 30: aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.gradients:[[I
arraylength
iconst_1
isub
aaload
sipush 255
iaload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lcom/sun/prism/j2d/paint/MultipleGradientPaintContext;
0 31 1 position F
15 18 2 part I
21 30 2 i I
24 28 3 delta F
27 28 4 index I
MethodParameters:
Name Flags
position
private static int convertSRGBtoLinearRGB(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: iload 0
i2f
ldc 255.0
fdiv
fstore 1
start local 1 1: fload 1
ldc 0.04045
fcmpg
ifgt 4
2: fload 1
ldc 12.92
fdiv
fstore 2
start local 2 3: goto 5
end local 2 4: StackMap locals: float
StackMap stack:
fload 1
f2d
ldc 0.055
dadd
ldc 1.055
ddiv
ldc 2.4
invokestatic java.lang.Math.pow:(DD)D
d2f
fstore 2
start local 2 5: StackMap locals: float
StackMap stack:
fload 2
ldc 255.0
fmul
invokestatic java.lang.Math.round:(F)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 color I
1 6 1 input F
3 4 2 output F
5 6 2 output F
MethodParameters:
Name Flags
color
private static int convertLinearRGBtoSRGB(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: iload 0
i2f
ldc 255.0
fdiv
fstore 1
start local 1 1: fload 1
f2d
ldc 0.0031308
dcmpg
ifgt 4
2: fload 1
ldc 12.92
fmul
fstore 2
start local 2 3: goto 9
end local 2 4: StackMap locals: float
StackMap stack:
ldc 1.055
5: fload 1
f2d
ldc 0.4166666666666667
invokestatic java.lang.Math.pow:(DD)D
d2f
6: fmul
7: ldc 0.055
8: fsub
fstore 2
start local 2 9: StackMap locals: float
StackMap stack:
fload 2
ldc 255.0
fmul
invokestatic java.lang.Math.round:(F)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 color I
1 10 1 input F
3 4 2 output F
9 10 2 output F
MethodParameters:
Name Flags
color
public final java.awt.image.Raster getRaster(int, int, int, int);
descriptor: (IIII)Ljava/awt/image/Raster;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=8, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.saved:Ljava/awt/image/Raster;
astore 5
start local 5 1: aload 5
ifnull 3
2: aload 5
invokevirtual java.awt.image.Raster.getWidth:()I
iload 3
if_icmplt 3
aload 5
invokevirtual java.awt.image.Raster.getHeight:()I
iload 4
if_icmpge 5
3: StackMap locals: java.awt.image.Raster
StackMap stack:
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.model:Ljava/awt/image/ColorModel;
iload 3
iload 4
invokestatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.getCachedRaster:(Ljava/awt/image/ColorModel;II)Ljava/awt/image/Raster;
astore 5
4: aload 0
aload 5
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.saved:Ljava/awt/image/Raster;
5: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.awt.image.Raster.getDataBuffer:()Ljava/awt/image/DataBuffer;
checkcast java.awt.image.DataBufferInt
astore 6
start local 6 6: aload 6
iconst_0
invokevirtual java.awt.image.DataBufferInt.getData:(I)[I
astore 7
start local 7 7: aload 6
invokevirtual java.awt.image.DataBufferInt.getOffset:()I
istore 8
start local 8 8: aload 5
invokevirtual java.awt.image.Raster.getSampleModel:()Ljava/awt/image/SampleModel;
9: checkcast java.awt.image.SinglePixelPackedSampleModel
10: invokevirtual java.awt.image.SinglePixelPackedSampleModel.getScanlineStride:()I
11: istore 9
start local 9 12: iload 9
iload 3
isub
istore 10
start local 10 13: aload 0
aload 7
iload 8
iload 10
iload 1
iload 2
iload 3
iload 4
invokevirtual com.sun.prism.j2d.paint.MultipleGradientPaintContext.fillRaster:([IIIIIII)V
14: aload 5
areturn
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 15 0 this Lcom/sun/prism/j2d/paint/MultipleGradientPaintContext;
0 15 1 x I
0 15 2 y I
0 15 3 w I
0 15 4 h I
1 15 5 raster Ljava/awt/image/Raster;
6 15 6 rasterDB Ljava/awt/image/DataBufferInt;
7 15 7 pixels [I
8 15 8 off I
12 15 9 scanlineStride I
13 15 10 adjust I
MethodParameters:
Name Flags
x
y
w
h
protected abstract void fillRaster(int[], int, int, int, int, int, int);
descriptor: ([IIIIIII)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
pixels
off
adjust
x
y
w
h
private static synchronized java.awt.image.Raster getCachedRaster(java.awt.image.ColorModel, int, int);
descriptor: (Ljava/awt/image/ColorModel;II)Ljava/awt/image/Raster;
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.cachedModel:Ljava/awt/image/ColorModel;
if_acmpne 8
1: getstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.cached:Ljava/lang/ref/WeakReference;
ifnull 8
2: getstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.cached:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast java.awt.image.Raster
astore 3
start local 3 3: aload 3
ifnull 8
4: aload 3
invokevirtual java.awt.image.Raster.getWidth:()I
iload 1
if_icmplt 8
5: aload 3
invokevirtual java.awt.image.Raster.getHeight:()I
iload 2
if_icmplt 8
6: aconst_null
putstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.cached:Ljava/lang/ref/WeakReference;
7: aload 3
areturn
end local 3 8: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
invokevirtual java.awt.image.ColorModel.createCompatibleWritableRaster:(II)Ljava/awt/image/WritableRaster;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 cm Ljava/awt/image/ColorModel;
0 9 1 w I
0 9 2 h I
3 8 3 ras Ljava/awt/image/Raster;
MethodParameters:
Name Flags
cm
w
h
private static synchronized void putCachedRaster(java.awt.image.ColorModel, java.awt.image.Raster);
descriptor: (Ljava/awt/image/ColorModel;Ljava/awt/image/Raster;)V
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: getstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.cached:Ljava/lang/ref/WeakReference;
ifnull 11
1: getstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.cached:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast java.awt.image.Raster
astore 2
start local 2 2: aload 2
ifnull 11
3: aload 2
invokevirtual java.awt.image.Raster.getWidth:()I
istore 3
start local 3 4: aload 2
invokevirtual java.awt.image.Raster.getHeight:()I
istore 4
start local 4 5: aload 1
invokevirtual java.awt.image.Raster.getWidth:()I
istore 5
start local 5 6: aload 1
invokevirtual java.awt.image.Raster.getHeight:()I
istore 6
start local 6 7: iload 3
iload 5
if_icmplt 9
iload 4
iload 6
if_icmplt 9
8: return
9: StackMap locals: java.awt.image.ColorModel java.awt.image.Raster java.awt.image.Raster int int int int
StackMap stack:
iload 3
iload 4
imul
iload 5
iload 6
imul
if_icmplt 11
10: return
end local 6 end local 5 end local 4 end local 3 end local 2 11: StackMap locals: java.awt.image.ColorModel java.awt.image.Raster
StackMap stack:
aload 0
putstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.cachedModel:Ljava/awt/image/ColorModel;
12: new java.lang.ref.WeakReference
dup
aload 1
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putstatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.cached:Ljava/lang/ref/WeakReference;
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 cm Ljava/awt/image/ColorModel;
0 14 1 ras Ljava/awt/image/Raster;
2 11 2 cras Ljava/awt/image/Raster;
4 11 3 cw I
5 11 4 ch I
6 11 5 iw I
7 11 6 ih I
MethodParameters:
Name Flags
cm
ras
public final void dispose();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.saved:Ljava/awt/image/Raster;
ifnull 3
1: aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.model:Ljava/awt/image/ColorModel;
aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.saved:Ljava/awt/image/Raster;
invokestatic com.sun.prism.j2d.paint.MultipleGradientPaintContext.putCachedRaster:(Ljava/awt/image/ColorModel;Ljava/awt/image/Raster;)V
2: aload 0
aconst_null
putfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.saved:Ljava/awt/image/Raster;
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/prism/j2d/paint/MultipleGradientPaintContext;
public final java.awt.image.ColorModel getColorModel();
descriptor: ()Ljava/awt/image/ColorModel;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.paint.MultipleGradientPaintContext.model:Ljava/awt/image/ColorModel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/paint/MultipleGradientPaintContext;
}
SourceFile: "MultipleGradientPaintContext.java"
InnerClasses:
public final ColorSpaceType = com.sun.prism.j2d.paint.MultipleGradientPaint$ColorSpaceType of com.sun.prism.j2d.paint.MultipleGradientPaint
public final CycleMethod = com.sun.prism.j2d.paint.MultipleGradientPaint$CycleMethod of com.sun.prism.j2d.paint.MultipleGradientPaint