question: public CommandBuilder withLongSwitch ( String switchName , Object value , UnaryOperator < String > switchNameMapper ) { if ( value != null ) { switches . add ( String . format ( "--%s='%s'" , switchNameMapper . apply ( switchName ) , escapeQuotedSwitch ( String . valueOf ( value ) ) ) ) ; } else { switches . add ( "--" + switchNameMapper . apply ( switchName ) ) ; } return this ; }
target:  add a long switch (--switch=value) with the given name and value applying the unary operator on the key