boolean (@NotNull final String fileUrl) { if (fileUrl.equals(myCompilerExtension.getCompilerOutputUrl())) { return true; } if (fileUrl.equals(myCompilerExtension.getCompilerOutputUrlForTests())) { return true; } if (myCompilerExtension.isCompilerOutputPathInherited()) { final ProjectStructureConfigurable instance = ProjectStructureConfigurable.getInstance(getModel().getModule().getProject()); final String compilerOutputUrl = instance.getProjectConfig().getCompilerOutputUrl(); if (fileUrl.equals(compilerOutputUrl)) { return true; } } return false; }