String function ( Description arg0 , Representation arg1 , String arg2 , Object ... arg3 ) { checkNotNull ( arg2 ) ; checkNotNull ( arg3 ) ; return descriptionFormatter . arg2 ( arg0 ) + formatIfArgs ( arg2 , arg2 ( arg1 , arg3 ) ) ; }
interprets a printf-style format string for failed assertion messages . it is similar to string #format string , object , except for : the value of the given description is used as the first argument referenced in the format string each of the arguments in the given array is converted to a string by invoking org.assertj.core.presentation.representation #tostringof object . concode_field_sep MessageFormatter INSTANCE concode_elem_sep DescriptionFormatter descriptionFormatter concode_field_sep MessageFormatter instance concode_elem_sep String format concode_elem_sep Object[] format concode_elem_sep String asText