code: public static boolean isToStringMethod(Method method) {
          return (method != null && method.getName().equals("readString") && method.getParameterTypes().length == 0);
      }
docs: Determine whether the given method is a "readString" method.
  
  @see Object#toString()