void (@NotNull PsiElement psiElement, @NotNull AnnotationHolder holder) { if (psiElement instanceof PsiFile && !psiElement.getText().contains("xxx")) { holder.newAnnotation(HighlightSeverity.WARNING, "top level").fileLevel().create(); iDidIt(); } }