@Contract("null -> null")
    private static @Nullable EffectDescriptor getBorderDescriptor(@Nullable TextAttributes attributes) {
      return attributes == null || !attributes.hasEffects()
             ? null
             : TextAttributesEffectsBuilder.create(attributes).getEffectDescriptor(TextAttributesEffectsBuilder.EffectSlot.FRAME_SLOT);
    }
@Contract("null -> null")
    private static @Nullable EffectDescriptor getBorderDescriptor(@Nullable TextAttributes attributes)