The name of the method may (likely) be bad for the way it's used, but projectFileURL is intentionally null from some callers, e.g. compileFromDDL(). I probably didn't feel like renaming it to compileWithProjectXMLAndOrDDL(). :)