void (List<NodeRenderer> renderers, Project project) { try { visitAnnotatedElements(Debug.Renderer.class.getName().replace("$", "."), project, (e, annotation) -> { if (e instanceof PsiClass cls) { String text = getAttributeValue(annotation, "text"); LabelRenderer labelRenderer = StringUtil.isEmpty(text) ? null : createLabelRenderer(null, text); String childrenArray = getAttributeValue(annotation, "childrenArray"); String isLeaf = getAttributeValue(annotation, "hasChildren"); ExpressionChildrenRenderer childrenRenderer = StringUtil.isEmpty(childrenArray) ? null : createExpressionArrayChildrenRenderer(childrenArray, isLeaf, myArrayRenderer); CompoundReferenceRenderer renderer = createCompoundReferenceRenderer( cls.getQualifiedName(), cls.getQualifiedName(), labelRenderer, childrenRenderer); renderer.setEnabled(true); renderers.add(renderer); } }); } catch (IndexNotReadyException | ProcessCanceledException ignore) { } catch (Exception e) { LOG.error(e); } }