/**
* Writes the given object to the console using a shared instance of {@code ParameterFormat}.
*/
static void print(final Object object) {
final Console console = System.console();
final Appendable out = (console != null) ? console.writer() : System.out;
final ParameterFormat f = getSharedInstance(Colors.NAMING);
try {
f.format(object, out);
} catch (IOException e) {
throw new AssertionError(e); // Should never happen, since we are writing to stdout.