private static Alignment getAlignmentOfChild(@NotNull PyBlock b, int childNum) {
    if (b.getSubBlocks().size() > childNum) {
      final ChildAttributes attributes = b.getChildAttributes(childNum);
      return attributes.getAlignment();
    }
    return null;
  }
private static Alignment getAlignmentOfChild(@NotNull PyBlock b, int childNum)