private @Nullable ChildAttributes getDelegateAttributes(@NotNull List<? extends Block> result) {
    if (FormattingMode.ADJUST_INDENT_ON_ENTER.equals(myFormattingMode) && !result.isEmpty()) {
      final int lastIndex = result.size() - 1;
      Block lastBlock = result.get(lastIndex);
      if (lastBlock.isIncomplete()) {
        return lastBlock.getChildAttributes(lastBlock.getSubBlocks().size());
      }
    }
    return null;
  }
private @Nullable ChildAttributes getDelegateAttributes(@NotNull List<? extends Block> result)