Path () { Path tempDirectory; if (myProjectPath == null) { tempDirectory = TemporaryDirectory.generateTemporaryPath(mySanitizedName); myFilesToDelete.add(tempDirectory); } else { tempDirectory = myProjectPath; } return tempDirectory.resolve(mySanitizedName + (myIsDirectoryBasedProject ? "" : ProjectFileType.DOT_DEFAULT_EXTENSION)); }