void (@NotNull PsiElement psiElement, @NotNull AnnotationHolder holder) { if (psiElement instanceof PsiField field) { final PsiFile boundForm = FormReferenceProvider.getFormFile(field); if (boundForm != null) { annotateFormField(field, boundForm, holder); } } else if (psiElement instanceof PsiClass aClass) { final List<PsiFile> formsBoundToClass = FormClassIndex.findFormsBoundToClass(aClass.getProject(), aClass); if (!formsBoundToClass.isEmpty()) { holder.newSilentAnnotation(HighlightSeverity.INFORMATION).range(aClass.getNameIdentifier()).gutterIconRenderer(new BoundIconRenderer(aClass)).create(); } } }