private void createAndProcessAnonymousClassBodyEntry(@NotNull PsiAnonymousClass aClass) {
    final PsiElement lBrace = aClass.getLBrace();
    final PsiElement rBrace = aClass.getRBrace();

    if (lBrace == null || rBrace == null) {
      return;
    }

    TextRange codeBlockRange = new TextRange(lBrace.getTextRange().getStartOffset(), rBrace.getTextRange().getEndOffset());
    JavaElementArrangementEntry entry = createNewEntry(codeBlockRange, ANONYMOUS_CLASS_BODY, aClass.getName());

    if (entry == null) {
      return;
    }

    processChildrenWithinEntryScope(entry, () -> {
      PsiElement current = lBrace;
      while (current != rBrace) {
        current = current.getNextSibling();
        if (current == null) {
          break;
        }
        current.accept(this);
      }
    });
  }
private void createAndProcessAnonymousClassBodyEntry(@NotNull PsiAnonymousClass aClass)