code: public static void printClassName(final Object pObject, final PrintStream pPrintStream) {
  
      if (pPrintStream == null) {
        System.err.println(PRINTSTREAM_IS_NULL_ERROR_MESSAGE);
        return;
      }
      pPrintStream.println(getClassName(pObject));
    }
docs: Prints the top-wrapped class name of a {@code java.lang.Object} to a {@code java.io.PrintStream}.
  <p>
  @param pObject the {@code java.lang.Object} to be printed.
  @param pPrintStream the {@code java.io.PrintStream} for flushing the results.
  @see <a href="http://java.sun.com/products/jdk/1.3/docs/api/java/lang/Class.html">{@code java.lang.Class}</a>