package com.redhat.ceylon.eclipse.core.model;

import com.redhat.ceylon.eclipse.core.typechecker.IdePhasedUnit;

public abstract class ModifiableSourceFile extends SourceFile implements IResourceAware {

    public ModifiableSourceFile(IdePhasedUnit phasedUnit) {
        super(phasedUnit);
    }

}

@@ -104,16 +104,88 @@
 sedUnit;
+%0Aimport com.redhat.ceylon.eclipse.core.typechecker.ModifiablePhasedUnit;
 %0A%0Apublic
@@ -363,10 +363,141 @@
 %0A    %7D%0A%0A
+    @Override%0A    public ModifiablePhasedUnit getPhasedUnit() %7B%0A        return (ModifiablePhasedUnit) super.getPhasedUnit();%0A    %7D%0A
 %7D%0A

return the `PhasedUnit` with the most precise type.