final class sun.java2d.marlin.CollinearSimplifier implements sun.awt.geom.PathConsumer2D
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 float EPS;
descriptor: F
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1.0E-4
sun.awt.geom.PathConsumer2D delegate;
descriptor: Lsun/awt/geom/PathConsumer2D;
flags: (0x0000)
sun.java2d.marlin.CollinearSimplifier$SimplifierState state;
descriptor: Lsun/java2d/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$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.awt.geom.PathConsumer2D);
descriptor: (Lsun/awt/geom/PathConsumer2D;)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/awt/geom/PathConsumer2D;
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/awt/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 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/awt/geom/PathConsumer2D;
invokeinterface sun.awt.geom.PathConsumer2D.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/awt/geom/PathConsumer2D;
invokeinterface sun.awt.geom.PathConsumer2D.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(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 sun.java2d.marlin.CollinearSimplifier.emitStashedLine:()V
1: aload 0
getfield sun.java2d.marlin.CollinearSimplifier.delegate:Lsun/awt/geom/PathConsumer2D;
fload 1
fload 2
fload 3
fload 4
invokeinterface sun.awt.geom.PathConsumer2D.quadTo:(FFFF)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
fload 3
putfield sun.java2d.marlin.CollinearSimplifier.px1:F
4: aload 0
fload 4
putfield sun.java2d.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 Lsun/java2d/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 sun.java2d.marlin.CollinearSimplifier.emitStashedLine:()V
1: aload 0
getfield sun.java2d.marlin.CollinearSimplifier.delegate:Lsun/awt/geom/PathConsumer2D;
fload 1
fload 2
fload 3
fload 4
fload 5
fload 6
invokeinterface sun.awt.geom.PathConsumer2D.curveTo:(FFFFFF)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
fload 5
putfield sun.java2d.marlin.CollinearSimplifier.px1:F
4: aload 0
fload 6
putfield sun.java2d.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 Lsun/java2d/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 sun.java2d.marlin.CollinearSimplifier.emitStashedLine:()V
1: aload 0
getfield sun.java2d.marlin.CollinearSimplifier.delegate:Lsun/awt/geom/PathConsumer2D;
fload 1
fload 2
invokeinterface sun.awt.geom.PathConsumer2D.moveTo:(FF)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
fload 1
putfield sun.java2d.marlin.CollinearSimplifier.px1:F
4: aload 0
fload 2
putfield sun.java2d.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 Lsun/java2d/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 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/awt/geom/PathConsumer2D;
fload 1
fload 2
invokeinterface sun.awt.geom.PathConsumer2D.lineTo:(FF)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
fload 1
putfield sun.java2d.marlin.CollinearSimplifier.px1:F
4: aload 0
fload 2
putfield sun.java2d.marlin.CollinearSimplifier.py1:F
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
fload 1
putfield sun.java2d.marlin.CollinearSimplifier.px2:F
8: aload 0
fload 2
putfield sun.java2d.marlin.CollinearSimplifier.py2:F
9: aload 0
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.px1:F
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.py1:F
fload 1
fload 2
invokestatic sun.java2d.marlin.CollinearSimplifier.getSlope:(FFFF)F
putfield sun.java2d.marlin.CollinearSimplifier.pslope:F
10: return
11: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.px2:F
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.py2:F
fload 1
fload 2
invokestatic sun.java2d.marlin.CollinearSimplifier.getSlope:(FFFF)F
fstore 3
start local 3 12: fload 3
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.pslope:F
fcmpl
ifeq 13
aload 0
getfield sun.java2d.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 sun.java2d.marlin.CollinearSimplifier.px2:F
14: aload 0
fload 2
putfield sun.java2d.marlin.CollinearSimplifier.py2:F
15: return
16: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.delegate:Lsun/awt/geom/PathConsumer2D;
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.px2:F
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.py2:F
invokeinterface sun.awt.geom.PathConsumer2D.lineTo:(FF)V
17: aload 0
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.px2:F
putfield sun.java2d.marlin.CollinearSimplifier.px1:F
18: aload 0
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.py2:F
putfield sun.java2d.marlin.CollinearSimplifier.py1:F
19: aload 0
fload 1
putfield sun.java2d.marlin.CollinearSimplifier.px2:F
20: aload 0
fload 2
putfield sun.java2d.marlin.CollinearSimplifier.py2:F
21: aload 0
fload 3
putfield sun.java2d.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 Lsun/java2d/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 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/awt/geom/PathConsumer2D;
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.px2:F
aload 0
getfield sun.java2d.marlin.CollinearSimplifier.py2:F
invokeinterface sun.awt.geom.PathConsumer2D.lineTo:(FF)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 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$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