private @Nullable Alignment getFirstChildAlignment() {
    List<Block> subBlocks = getSubBlocks();
    for (Block subBlock : subBlocks) {
      Alignment alignment = subBlock.getAlignment();
      if (alignment != null) {
        return alignment;
      }
    }
    return null;
  }
private @Nullable Alignment getFirstChildAlignment()