public static @Nullable Alignment createAlignment(Alignment base, final boolean alignOption, final @Nullable Alignment defaultAlignment) {
    return alignOption ? createAlignmentOrDefault(base, defaultAlignment) : defaultAlignment;
  }
public static @Nullable Alignment createAlignment(Alignment base, final boolean alignOption, final @Nullable Alignment defaultAlignment)