boolean (@NotNull Project project, @NotNull Editor editor, @NotNull PsiFile file) { if (file instanceof PsiCompiledElement) return false; if (!GradleFileType.isGradleFile(file)) return false; return !GradleConstants.SETTINGS_FILE_NAME.equals(file.getName()); }