Border (@Nullable Border source, @NotNull Border extra, boolean extraIsOutside) { if (source == null) return extra; return new CompoundBorder(extraIsOutside ? extra : source, extraIsOutside? source : extra); }