class sun.java2d.xr.XRPaints$XRGradient extends sun.java2d.xr.XRPaints
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.java2d.xr.XRPaints$XRGradient
super_class: sun.java2d.xr.XRPaints
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.java2d.xr.XRPaints.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/xr/XRPaints$XRGradient;
boolean isPaintValid(sun.java2d.SunGraphics2D);
descriptor: (Lsun/java2d/SunGraphics2D;)Z
flags: (0x0000)
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getfield sun.java2d.SunGraphics2D.paint:Ljava/awt/Paint;
checkcast java.awt.GradientPaint
astore 2
start local 2 1: aload 2
invokevirtual java.awt.GradientPaint.getPoint1:()Ljava/awt/geom/Point2D;
invokestatic sun.java2d.xr.XRUtils.isPointCoordInShortRange:(Ljava/awt/geom/Point2D;)Z
ifeq 4
2: aload 2
invokevirtual java.awt.GradientPaint.getPoint2:()Ljava/awt/geom/Point2D;
invokestatic sun.java2d.xr.XRUtils.isPointCoordInShortRange:(Ljava/awt/geom/Point2D;)Z
ifeq 4
3: iconst_1
ireturn
StackMap locals: java.awt.GradientPaint
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/java2d/xr/XRPaints$XRGradient;
0 5 1 sg2d Lsun/java2d/SunGraphics2D;
1 5 2 paint Ljava/awt/GradientPaint;
MethodParameters:
Name Flags
sg2d
void setXRPaint(sun.java2d.SunGraphics2D, java.awt.Paint);
descriptor: (Lsun/java2d/SunGraphics2D;Ljava/awt/Paint;)V
flags: (0x0000)
Code:
stack=6, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 2
checkcast java.awt.GradientPaint
astore 3
start local 3 1: aload 3
invokevirtual java.awt.GradientPaint.isCyclic:()Z
ifeq 2
iconst_3
goto 3
StackMap locals: java.awt.GradientPaint
StackMap stack:
2: iconst_2
StackMap locals:
StackMap stack: int
3: istore 4
start local 4 4: iconst_2
newarray 6
dup
iconst_0
fconst_0
fastore
dup
iconst_1
fconst_1
fastore
astore 5
start local 5 5: aload 0
iconst_2
anewarray java.awt.Color
dup
iconst_0
aload 3
invokevirtual java.awt.GradientPaint.getColor1:()Ljava/awt/Color;
aastore
dup
iconst_1
aload 3
invokevirtual java.awt.GradientPaint.getColor2:()Ljava/awt/Color;
aastore
invokevirtual sun.java2d.xr.XRPaints$XRGradient.convertToIntArgbPixels:([Ljava/awt/Color;)[I
astore 6
start local 6 6: aload 3
invokevirtual java.awt.GradientPaint.getPoint1:()Ljava/awt/geom/Point2D;
astore 7
start local 7 7: aload 3
invokevirtual java.awt.GradientPaint.getPoint2:()Ljava/awt/geom/Point2D;
astore 8
start local 8 8: getstatic sun.java2d.xr.XRPaints$XRGradient.xrCompMan:Lsun/java2d/xr/XRCompositeManager;
invokevirtual sun.java2d.xr.XRCompositeManager.getBackend:()Lsun/java2d/xr/XRBackend;
astore 9
start local 9 9: aload 9
aload 7
aload 8
aload 5
aload 6
iload 4
invokeinterface sun.java2d.xr.XRBackend.createLinearGradient:(Ljava/awt/geom/Point2D;Ljava/awt/geom/Point2D;[F[II)I
istore 10
start local 10 10: getstatic sun.java2d.xr.XRPaints$XRGradient.xrCompMan:Lsun/java2d/xr/XRCompositeManager;
new sun.java2d.xr.XRSurfaceData$XRInternalSurfaceData
dup
aload 9
iload 10
invokespecial sun.java2d.xr.XRSurfaceData$XRInternalSurfaceData.<init>:(Lsun/java2d/xr/XRBackend;I)V
invokevirtual sun.java2d.xr.XRCompositeManager.setGradientPaint:(Lsun/java2d/xr/XRSurfaceData;)V
11: return
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 12 0 this Lsun/java2d/xr/XRPaints$XRGradient;
0 12 1 sg2d Lsun/java2d/SunGraphics2D;
0 12 2 pt Ljava/awt/Paint;
1 12 3 paint Ljava/awt/GradientPaint;
4 12 4 repeat I
5 12 5 fractions [F
6 12 6 pixels [I
7 12 7 pt1 Ljava/awt/geom/Point2D;
8 12 8 pt2 Ljava/awt/geom/Point2D;
9 12 9 con Lsun/java2d/xr/XRBackend;
10 12 10 gradient I
MethodParameters:
Name Flags
sg2d
pt
}
SourceFile: "XRPaints.java"
NestHost: sun.java2d.xr.XRPaints
InnerClasses:
private XRGradient = sun.java2d.xr.XRPaints$XRGradient of sun.java2d.xr.XRPaints
public XRInternalSurfaceData = sun.java2d.xr.XRSurfaceData$XRInternalSurfaceData of sun.java2d.xr.XRSurfaceData