final class sun.java2d.marlin.CollinearSimplifier implements sun.java2d.marlin.DPathConsumer2D
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.java2d.marlin.CollinearSimplifier
super_class: java.lang.Object
{
static final double EPS;
descriptor: D
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1.0E-4
sun.java2d.marlin.DPathConsumer2D delegate;
descriptor: Lsun/java2d/marlin/DPathConsumer2D;
flags: (0x0000)
sun.java2d.marlin.CollinearSimplifier$SimplifierState state;
descriptor: Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
flags: (0x0000)
double px1;
descriptor: D
flags: (0x0000)
double py1;
descriptor: D
flags: (0x0000)
double px2;
descriptor: D
flags: (0x0000)
double py2;
descriptor: D
flags: (0x0000)
double pslope;
descriptor: D
flags: (0x0000)
private static volatile int[] $SWITCH_TABLE$sun$java2d$marlin$CollinearSimplifier$SimplifierState;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/marlin/CollinearSimplifier;
public sun.java2d.marlin.CollinearSimplifier init(sun.java2d.marlin.DPathConsumer2D);
descriptor: (Lsun/java2d/marlin/DPathConsumer2D;)Lsun/java2d/marlin/CollinearSimplifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.java2d.marlin.CollinearSimplifier.delegate:Lsun/java2d/marlin/DPathConsumer2D;
1: aload 0
getstatic sun.java2d.marlin.CollinearSimplifier$SimplifierState.Empty:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
putfield sun.java2d.marlin.CollinearSimplifier.state:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/marlin/CollinearSimplifier;
0 3 1 delegate Lsun/java2d/marlin/DPathConsumer2D;
MethodParameters:
Name Flags
delegate
public void pathDone();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.java2d.marlin.CollinearSimplifier.emitStashedLine:()V
1: aload 0
getstatic sun.java2d.marlin.CollinearSimplifier$SimplifierState.Empty:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
putfield sun.java2d.marlin.CollinearSimplifier.state:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
2: aload 0
getfield sun.java2d.marlin.CollinearSimplifier.delegate:Lsun/java2d/marlin/DPathConsumer2D;
invokeinterface sun.java2d.marlin.DPathConsumer2D.pathDone:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/java2d/marlin/CollinearSimplifier;
public void closePath();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.java2d.marlin.CollinearSimplifier.emitStashedLine:()V
1: aload 0
getstatic sun.java2d.marlin.CollinearSimplifier$SimplifierState.Empty:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
putfield sun.java2d.marlin.CollinearSimplifier.state:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
2: aload 0
getfield sun.java2d.marlin.CollinearSimplifier.delegate:Lsun/java2d/marlin/DPathConsumer2D;
invokeinterface sun.java2d.marlin.DPathConsumer2D.closePath:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/java2d/marlin/CollinearSimplifier;
public long getNativeConsumer();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: lconst_0
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/marlin/CollinearSimplifier;
public void quadTo(double, double, double, double);
descriptor: (DDDD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=9, args_size=5
start local 0 start local 1 start local 3 start local 5 start local 7 0: aload 0
invokevirtual sun.java2d.marlin.CollinearSimplifier.emitStashedLine:()V
1: aload 0
getfield sun.java2d.marlin.CollinearSimplifier.delegate:Lsun/java2d/marlin/DPathConsumer2D;
dload 1
dload 3
dload 5
dload 7
invokeinterface sun.java2d.marlin.DPathConsumer2D.quadTo:(DDDD)V
2: aload 0
getstatic sun.java2d.marlin.CollinearSimplifier$SimplifierState.PreviousPoint:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
putfield sun.java2d.marlin.CollinearSimplifier.state:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
3: aload 0
dload 5
putfield sun.java2d.marlin.CollinearSimplifier.px1:D
4: aload 0
dload 7
putfield sun.java2d.marlin.CollinearSimplifier.py1:D
5: return
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/java2d/marlin/CollinearSimplifier;
0 6 1 x1 D
0 6 3 y1 D
0 6 5 x2 D
0 6 7 y2 D
MethodParameters:
Name Flags
x1
y1
x2
y2
public void curveTo(double, double, double, double, double, double);
descriptor: (DDDDDD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=13, locals=13, args_size=7
start local 0 start local 1 start local 3 start local 5 start local 7 start local 9 start local 11 0: aload 0
invokevirtual sun.java2d.marlin.CollinearSimplifier.emitStashedLine:()V
1: aload 0
getfield sun.java2d.marlin.CollinearSimplifier.delegate:Lsun/java2d/marlin/DPathConsumer2D;
dload 1
dload 3
dload 5
dload 7
dload 9
dload 11
invokeinterface sun.java2d.marlin.DPathConsumer2D.curveTo:(DDDDDD)V
2: aload 0
getstatic sun.java2d.marlin.CollinearSimplifier$SimplifierState.PreviousPoint:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
putfield sun.java2d.marlin.CollinearSimplifier.state:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
3: aload 0
dload 9
putfield sun.java2d.marlin.CollinearSimplifier.px1:D
4: aload 0
dload 11
putfield sun.java2d.marlin.CollinearSimplifier.py1:D
5: return
end local 11 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 6 0 this Lsun/java2d/marlin/CollinearSimplifier;
0 6 1 x1 D
0 6 3 y1 D
0 6 5 x2 D
0 6 7 y2 D
0 6 9 x3 D
0 6 11 y3 D
MethodParameters:
Name Flags
x1
y1
x2
y2
x3
y3
public void moveTo(double, double);
descriptor: (DD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
invokevirtual sun.java2d.marlin.CollinearSimplifier.emitStashedLine:()V
1: aload 0
getfield sun.java2d.marlin.CollinearSimplifier.delegate:Lsun/java2d/marlin/DPathConsumer2D;
dload 1
dload 3
invokeinterface sun.java2d.marlin.DPathConsumer2D.moveTo:(DD)V
2: aload 0
getstatic sun.java2d.marlin.CollinearSimplifier$SimplifierState.PreviousPoint:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
putfield sun.java2d.marlin.CollinearSimplifier.state:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
3: aload 0
dload 1
putfield sun.java2d.marlin.CollinearSimplifier.px1:D
4: aload 0
dload 3
putfield sun.java2d.marlin.CollinearSimplifier.py1:D
5: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/java2d/marlin/CollinearSimplifier;
0 6 1 x D
0 6 3 y D
MethodParameters:
Name Flags
x
y
public void lineTo(double, double);
descriptor: (DD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=7, args_size=3
start local 0 start local 1 start local 3 0: invokestatic sun.java2d.marlin.CollinearSimplifier.$SWITCH_TABLE$sun$java2d$marlin$CollinearSimplifier$SimplifierState:()[I
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.state:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
invokevirtual sun.java2d.marlin.CollinearSimplifier$SimplifierState.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 1
2: 6
3: 11
default: 23
}
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.delegate:Lsun/java2d/marlin/DPathConsumer2D;
dload 1
dload 3
invokeinterface sun.java2d.marlin.DPathConsumer2D.lineTo:(DD)V
2: aload 0
getstatic sun.java2d.marlin.CollinearSimplifier$SimplifierState.PreviousPoint:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
putfield sun.java2d.marlin.CollinearSimplifier.state:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
3: aload 0
dload 1
putfield sun.java2d.marlin.CollinearSimplifier.px1:D
4: aload 0
dload 3
putfield sun.java2d.marlin.CollinearSimplifier.py1:D
5: return
6: StackMap locals:
StackMap stack:
aload 0
getstatic sun.java2d.marlin.CollinearSimplifier$SimplifierState.PreviousLine:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
putfield sun.java2d.marlin.CollinearSimplifier.state:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
7: aload 0
dload 1
putfield sun.java2d.marlin.CollinearSimplifier.px2:D
8: aload 0
dload 3
putfield sun.java2d.marlin.CollinearSimplifier.py2:D
9: aload 0
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.px1:D
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.py1:D
dload 1
dload 3
invokestatic sun.java2d.marlin.CollinearSimplifier.getSlope:(DDDD)D
putfield sun.java2d.marlin.CollinearSimplifier.pslope:D
10: return
11: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.px2:D
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.py2:D
dload 1
dload 3
invokestatic sun.java2d.marlin.CollinearSimplifier.getSlope:(DDDD)D
dstore 5
start local 5 12: dload 5
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.pslope:D
dcmpl
ifeq 13
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.pslope:D
dload 5
dsub
invokestatic java.lang.Math.abs:(D)D
ldc 1.0E-4
dcmpg
ifge 16
13: StackMap locals: double
StackMap stack:
aload 0
dload 1
putfield sun.java2d.marlin.CollinearSimplifier.px2:D
14: aload 0
dload 3
putfield sun.java2d.marlin.CollinearSimplifier.py2:D
15: return
16: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.delegate:Lsun/java2d/marlin/DPathConsumer2D;
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.px2:D
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.py2:D
invokeinterface sun.java2d.marlin.DPathConsumer2D.lineTo:(DD)V
17: aload 0
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.px2:D
putfield sun.java2d.marlin.CollinearSimplifier.px1:D
18: aload 0
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.py2:D
putfield sun.java2d.marlin.CollinearSimplifier.py1:D
19: aload 0
dload 1
putfield sun.java2d.marlin.CollinearSimplifier.px2:D
20: aload 0
dload 3
putfield sun.java2d.marlin.CollinearSimplifier.py2:D
21: aload 0
dload 5
putfield sun.java2d.marlin.CollinearSimplifier.pslope:D
22: return
end local 5 23: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/java2d/marlin/CollinearSimplifier;
0 24 1 x D
0 24 3 y D
12 23 5 slope D
MethodParameters:
Name Flags
x final
y final
private void emitStashedLine();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.marlin.CollinearSimplifier.state:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
getstatic sun.java2d.marlin.CollinearSimplifier$SimplifierState.PreviousLine:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
if_acmpne 2
1: aload 0
getfield sun.java2d.marlin.CollinearSimplifier.delegate:Lsun/java2d/marlin/DPathConsumer2D;
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.px2:D
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.py2:D
invokeinterface sun.java2d.marlin.DPathConsumer2D.lineTo:(DD)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/marlin/CollinearSimplifier;
private static double getSlope(double, double, double, double);
descriptor: (DDDD)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=10, args_size=4
start local 0 start local 2 start local 4 start local 6 0: dload 6
dload 2
dsub
dstore 8
start local 8 1: dload 8
dconst_0
dcmpl
ifne 5
2: dload 4
dload 0
dcmpl
ifle 3
ldc Infinity
goto 4
3: StackMap locals: double
StackMap stack:
ldc -Infinity
4: StackMap locals:
StackMap stack: double
dreturn
5: StackMap locals:
StackMap stack:
dload 4
dload 0
dsub
dload 8
ddiv
dreturn
end local 8 end local 6 end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 x1 D
0 6 2 y1 D
0 6 4 x2 D
0 6 6 y2 D
1 6 8 dy D
MethodParameters:
Name Flags
x1
y1
x2
y2
static int[] $SWITCH_TABLE$sun$java2d$marlin$CollinearSimplifier$SimplifierState();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic sun.java2d.marlin.CollinearSimplifier.$SWITCH_TABLE$sun$java2d$marlin$CollinearSimplifier$SimplifierState:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic sun.java2d.marlin.CollinearSimplifier$SimplifierState.values:()[Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
arraylength
newarray 10
astore 0
2: aload 0
getstatic sun.java2d.marlin.CollinearSimplifier$SimplifierState.Empty:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
invokevirtual sun.java2d.marlin.CollinearSimplifier$SimplifierState.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 sun.java2d.marlin.CollinearSimplifier$SimplifierState.PreviousLine:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
invokevirtual sun.java2d.marlin.CollinearSimplifier$SimplifierState.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic sun.java2d.marlin.CollinearSimplifier$SimplifierState.PreviousPoint:Lsun/java2d/marlin/CollinearSimplifier$SimplifierState;
invokevirtual sun.java2d.marlin.CollinearSimplifier$SimplifierState.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic sun.java2d.marlin.CollinearSimplifier.$SWITCH_TABLE$sun$java2d$marlin$CollinearSimplifier$SimplifierState:[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: "CollinearSimplifier.java"
NestMembers:
sun.java2d.marlin.CollinearSimplifier$SimplifierState
InnerClasses:
final SimplifierState = sun.java2d.marlin.CollinearSimplifier$SimplifierState of sun.java2d.marlin.CollinearSimplifier