void (AnnotationHolder holder, @NotNull GrTypeDefinition typeDefinition) { final PsiClass psiClass = InheritanceUtil.getCircularClass(typeDefinition); if (psiClass != null) { String qname = psiClass.getQualifiedName(); assert qname != null; holder.newAnnotation(HighlightSeverity.ERROR, GroovyBundle.message("cyclic.inheritance.involving.0", qname)).range(GrHighlightUtil.getClassHeaderTextRange(typeDefinition)).create(); } }