ThreeState (@NotNull FileType fileType) { if (fileType == HtmlFileType.INSTANCE) { return ThreeState.UNSURE; // check if a file is in local filesystem. } if (fileType instanceof LanguageFileType && ((LanguageFileType)fileType).getLanguage() instanceof TemplateLanguage) { return ThreeState.UNSURE; // check if a file is in local filesystem. } return ThreeState.NO; }