private static @Nullable Alignment createAlignmentOrDefault(@Nullable Alignment base, final @Nullable Alignment defaultAlignment) {
    if (defaultAlignment == null) {
      return base == null ? Alignment.createAlignment() : Alignment.createChildAlignment(base);
    }
    return defaultAlignment;
  }
private static @Nullable Alignment createAlignmentOrDefault(@Nullable Alignment base, final @Nullable Alignment defaultAlignment)