@Override public Object call(Object... args) { Object obj = args[0]; boolean showLastResult = !io.isQuiet() && (io.isVerbose() || Preferences.getShowLastResult()); if (showLastResult) { // avoid String.valueOf here because it bypasses pretty-printing of Collections, // e.g. String.valueOf( ['a': 42] ) != ['a': 42].toString() io.out.println("@|bold ===>|@ " + VertexiumScript.resultToString(obj)); } return null; } };