if (phasedUnit != null) {
Unit sourceFile = phasedUnit.getUnit();
if (sourceFile != null) {
String sourceRelativePath =
toJavaString(binaryUnit.getCeylonModule()
<BUG>.toSourceUnitRelativePath(
toCeylonString(unit.getRelativePath())));
boolean isCeylon = sourceRelativePath!=null &&</BUG>
sourceRelativePath.endsWith(".ceylon");
for (Declaration sourceDecl:

if (phasedUnit != null) {
Unit sourceFile = phasedUnit.getUnit();
if (sourceFile != null) {
String sourceRelativePath =
toJavaString(binaryUnit.getCeylonModule()
.toSourceUnitRelativePath(
ceylon.language.String.instance(
unit.getRelativePath())));
boolean isCeylon = sourceRelativePath!=null &&
sourceRelativePath.endsWith(".ceylon");
for (Declaration sourceDecl:
