void (@NotNull PsiElement element, @NotNull AnnotationHolder holder) { assertTrue(DumbServiceImpl.getInstance(element.getProject()).isDumb()); if (element instanceof PsiClass) { holder.newSilentAnnotation(HighlightSeverity.ERROR).range(((PsiClass)element).getNameIdentifier()).create(); } }