question: public TextCharacter withModifiers ( Collection < SGR > modifiers ) { EnumSet < SGR > newSet = EnumSet . copyOf ( modifiers ) ; if ( modifiers . equals ( newSet ) ) { return this ; } return new TextCharacter ( character , foregroundColor , backgroundColor , newSet ) ; }
target:  Returns a copy of this TextCharacter with specified list of SGR modifiers. None of the currently active SGR codes will be carried over to the copy, only those in the passed in value.