public final class com.sun.marlin.CollinearSimplifier implements com.sun.javafx.geom.PathConsumer2D
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.marlin.CollinearSimplifier
super_class: java.lang.Object
{
static final float EPS;
descriptor: F
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1.0E-4
com.sun.javafx.geom.PathConsumer2D delegate;
descriptor: Lcom/sun/javafx/geom/PathConsumer2D;
flags: (0x0000)
com.sun.marlin.CollinearSimplifier$SimplifierState state;
descriptor: Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
flags: (0x0000)
float px1;
descriptor: F
flags: (0x0000)
float py1;
descriptor: F
flags: (0x0000)
float px2;
descriptor: F
flags: (0x0000)
float py2;
descriptor: F
flags: (0x0000)
float pslope;
descriptor: F
flags: (0x0000)
private static volatile int[] $SWITCH_TABLE$com$sun$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 Lcom/sun/marlin/CollinearSimplifier;
public com.sun.marlin.CollinearSimplifier init(com.sun.javafx.geom.PathConsumer2D);
descriptor: (Lcom/sun/javafx/geom/PathConsumer2D;)Lcom/sun/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 com.sun.marlin.CollinearSimplifier.delegate:Lcom/sun/javafx/geom/PathConsumer2D;
1: aload 0
getstatic com.sun.marlin.CollinearSimplifier$SimplifierState.Empty:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
putfield com.sun.marlin.CollinearSimplifier.state:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/marlin/CollinearSimplifier;
0 3 1 delegate Lcom/sun/javafx/geom/PathConsumer2D;
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 com.sun.marlin.CollinearSimplifier.emitStashedLine:()V
1: aload 0
getstatic com.sun.marlin.CollinearSimplifier$SimplifierState.Empty:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
putfield com.sun.marlin.CollinearSimplifier.state:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
2: aload 0
getfield com.sun.marlin.CollinearSimplifier.delegate:Lcom/sun/javafx/geom/PathConsumer2D;
invokeinterface com.sun.javafx.geom.PathConsumer2D.pathDone:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/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 com.sun.marlin.CollinearSimplifier.emitStashedLine:()V
1: aload 0
getstatic com.sun.marlin.CollinearSimplifier$SimplifierState.Empty:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
putfield com.sun.marlin.CollinearSimplifier.state:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
2: aload 0
getfield com.sun.marlin.CollinearSimplifier.delegate:Lcom/sun/javafx/geom/PathConsumer2D;
invokeinterface com.sun.javafx.geom.PathConsumer2D.closePath:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/marlin/CollinearSimplifier;
public void quadTo(float, float, float, float);
descriptor: (FFFF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual com.sun.marlin.CollinearSimplifier.emitStashedLine:()V
1: aload 0
getfield com.sun.marlin.CollinearSimplifier.delegate:Lcom/sun/javafx/geom/PathConsumer2D;
fload 1
fload 2
fload 3
fload 4
invokeinterface com.sun.javafx.geom.PathConsumer2D.quadTo:(FFFF)V
2: aload 0
getstatic com.sun.marlin.CollinearSimplifier$SimplifierState.PreviousPoint:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
putfield com.sun.marlin.CollinearSimplifier.state:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
3: aload 0
fload 3
putfield com.sun.marlin.CollinearSimplifier.px1:F
4: aload 0
fload 4
putfield com.sun.marlin.CollinearSimplifier.py1:F
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/marlin/CollinearSimplifier;
0 6 1 x1 F
0 6 2 y1 F
0 6 3 x2 F
0 6 4 y2 F
MethodParameters:
Name Flags
x1
y1
x2
y2
public void curveTo(float, float, float, float, float, float);
descriptor: (FFFFFF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokevirtual com.sun.marlin.CollinearSimplifier.emitStashedLine:()V
1: aload 0
getfield com.sun.marlin.CollinearSimplifier.delegate:Lcom/sun/javafx/geom/PathConsumer2D;
fload 1
fload 2
fload 3
fload 4
fload 5
fload 6
invokeinterface com.sun.javafx.geom.PathConsumer2D.curveTo:(FFFFFF)V
2: aload 0
getstatic com.sun.marlin.CollinearSimplifier$SimplifierState.PreviousPoint:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
putfield com.sun.marlin.CollinearSimplifier.state:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
3: aload 0
fload 5
putfield com.sun.marlin.CollinearSimplifier.px1:F
4: aload 0
fload 6
putfield com.sun.marlin.CollinearSimplifier.py1:F
5: return
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 6 0 this Lcom/sun/marlin/CollinearSimplifier;
0 6 1 x1 F
0 6 2 y1 F
0 6 3 x2 F
0 6 4 y2 F
0 6 5 x3 F
0 6 6 y3 F
MethodParameters:
Name Flags
x1
y1
x2
y2
x3
y3
public void moveTo(float, float);
descriptor: (FF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.marlin.CollinearSimplifier.emitStashedLine:()V
1: aload 0
getfield com.sun.marlin.CollinearSimplifier.delegate:Lcom/sun/javafx/geom/PathConsumer2D;
fload 1
fload 2
invokeinterface com.sun.javafx.geom.PathConsumer2D.moveTo:(FF)V
2: aload 0
getstatic com.sun.marlin.CollinearSimplifier$SimplifierState.PreviousPoint:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
putfield com.sun.marlin.CollinearSimplifier.state:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
3: aload 0
fload 1
putfield com.sun.marlin.CollinearSimplifier.px1:F
4: aload 0
fload 2
putfield com.sun.marlin.CollinearSimplifier.py1:F
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/marlin/CollinearSimplifier;
0 6 1 x F
0 6 2 y F
MethodParameters:
Name Flags
x
y
public void lineTo(float, float);
descriptor: (FF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: invokestatic com.sun.marlin.CollinearSimplifier.$SWITCH_TABLE$com$sun$marlin$CollinearSimplifier$SimplifierState:()[I
aload 0
getfield com.sun.marlin.CollinearSimplifier.state:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
invokevirtual com.sun.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 com.sun.marlin.CollinearSimplifier.delegate:Lcom/sun/javafx/geom/PathConsumer2D;
fload 1
fload 2
invokeinterface com.sun.javafx.geom.PathConsumer2D.lineTo:(FF)V
2: aload 0
getstatic com.sun.marlin.CollinearSimplifier$SimplifierState.PreviousPoint:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
putfield com.sun.marlin.CollinearSimplifier.state:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
3: aload 0
fload 1
putfield com.sun.marlin.CollinearSimplifier.px1:F
4: aload 0
fload 2
putfield com.sun.marlin.CollinearSimplifier.py1:F
5: return
6: StackMap locals:
StackMap stack:
aload 0
getstatic com.sun.marlin.CollinearSimplifier$SimplifierState.PreviousLine:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
putfield com.sun.marlin.CollinearSimplifier.state:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
7: aload 0
fload 1
putfield com.sun.marlin.CollinearSimplifier.px2:F
8: aload 0
fload 2
putfield com.sun.marlin.CollinearSimplifier.py2:F
9: aload 0
aload 0
getfield com.sun.marlin.CollinearSimplifier.px1:F
aload 0
getfield com.sun.marlin.CollinearSimplifier.py1:F
fload 1
fload 2
invokestatic com.sun.marlin.CollinearSimplifier.getSlope:(FFFF)F
putfield com.sun.marlin.CollinearSimplifier.pslope:F
10: return
11: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.marlin.CollinearSimplifier.px2:F
aload 0
getfield com.sun.marlin.CollinearSimplifier.py2:F
fload 1
fload 2
invokestatic com.sun.marlin.CollinearSimplifier.getSlope:(FFFF)F
fstore 3
start local 3 12: fload 3
aload 0
getfield com.sun.marlin.CollinearSimplifier.pslope:F
fcmpl
ifeq 13
aload 0
getfield com.sun.marlin.CollinearSimplifier.pslope:F
fload 3
fsub
invokestatic java.lang.Math.abs:(F)F
ldc 1.0E-4
fcmpg
ifge 16
13: StackMap locals: float
StackMap stack:
aload 0
fload 1
putfield com.sun.marlin.CollinearSimplifier.px2:F
14: aload 0
fload 2
putfield com.sun.marlin.CollinearSimplifier.py2:F
15: return
16: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.marlin.CollinearSimplifier.delegate:Lcom/sun/javafx/geom/PathConsumer2D;
aload 0
getfield com.sun.marlin.CollinearSimplifier.px2:F
aload 0
getfield com.sun.marlin.CollinearSimplifier.py2:F
invokeinterface com.sun.javafx.geom.PathConsumer2D.lineTo:(FF)V
17: aload 0
aload 0
getfield com.sun.marlin.CollinearSimplifier.px2:F
putfield com.sun.marlin.CollinearSimplifier.px1:F
18: aload 0
aload 0
getfield com.sun.marlin.CollinearSimplifier.py2:F
putfield com.sun.marlin.CollinearSimplifier.py1:F
19: aload 0
fload 1
putfield com.sun.marlin.CollinearSimplifier.px2:F
20: aload 0
fload 2
putfield com.sun.marlin.CollinearSimplifier.py2:F
21: aload 0
fload 3
putfield com.sun.marlin.CollinearSimplifier.pslope:F
22: return
end local 3 23: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/marlin/CollinearSimplifier;
0 24 1 x F
0 24 2 y F
12 23 3 slope F
MethodParameters:
Name Flags
x final
y final
private void emitStashedLine();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.marlin.CollinearSimplifier.state:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
getstatic com.sun.marlin.CollinearSimplifier$SimplifierState.PreviousLine:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
if_acmpne 2
1: aload 0
getfield com.sun.marlin.CollinearSimplifier.delegate:Lcom/sun/javafx/geom/PathConsumer2D;
aload 0
getfield com.sun.marlin.CollinearSimplifier.px2:F
aload 0
getfield com.sun.marlin.CollinearSimplifier.py2:F
invokeinterface com.sun.javafx.geom.PathConsumer2D.lineTo:(FF)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/marlin/CollinearSimplifier;
private static float getSlope(float, float, float, float);
descriptor: (FFFF)F
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: fload 3
fload 1
fsub
fstore 4
start local 4 1: fload 4
fconst_0
fcmpl
ifne 5
2: fload 2
fload 0
fcmpl
ifle 3
ldc Infinity
goto 4
3: StackMap locals: float
StackMap stack:
ldc -Infinity
4: StackMap locals:
StackMap stack: float
freturn
5: StackMap locals:
StackMap stack:
fload 2
fload 0
fsub
fload 4
fdiv
freturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 x1 F
0 6 1 y1 F
0 6 2 x2 F
0 6 3 y2 F
1 6 4 dy F
MethodParameters:
Name Flags
x1
y1
x2
y2
static int[] $SWITCH_TABLE$com$sun$marlin$CollinearSimplifier$SimplifierState();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.marlin.CollinearSimplifier.$SWITCH_TABLE$com$sun$marlin$CollinearSimplifier$SimplifierState:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.sun.marlin.CollinearSimplifier$SimplifierState.values:()[Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.sun.marlin.CollinearSimplifier$SimplifierState.Empty:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
invokevirtual com.sun.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 com.sun.marlin.CollinearSimplifier$SimplifierState.PreviousLine:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
invokevirtual com.sun.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 com.sun.marlin.CollinearSimplifier$SimplifierState.PreviousPoint:Lcom/sun/marlin/CollinearSimplifier$SimplifierState;
invokevirtual com.sun.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 com.sun.marlin.CollinearSimplifier.$SWITCH_TABLE$com$sun$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:
com.sun.marlin.CollinearSimplifier$SimplifierState
InnerClasses:
final SimplifierState = com.sun.marlin.CollinearSimplifier$SimplifierState of com.sun.marlin.CollinearSimplifier