code: public static void println(Object self) {
          // we won't get here if we are a PrintWriter
          if (self instanceof Writer) {
              PrintWriter pw = new GroovyPrintWriter((Writer) self);
              pw.println();
          } else {
              System.out.println();
          }
      }
docs: Print a linebreak to the standard output stream.
  
  @param self any Object
  @since 1.0