TextAttributesEffectsBuilder (@Nullable EffectType effectType, @Nullable Color effectColor, @NotNull BiConsumer<? super EffectSlot, ? super EffectDescriptor> slotMutator) { if (effectColor != null && effectType != null) { EffectSlot slot = EFFECT_SLOTS_MAP.get(effectType); if (slot != null) { slotMutator.accept(slot, EffectDescriptor.create(effectType, effectColor)); } else { LOG.debug("Effect " + effectType + " is not supported by builder"); } } return this; }