code: public static String getName(final Method m) {
  		StringBuilder ret = new StringBuilder();
  		ret.append(getName(m.getReturnType())).append(' ');
  		ret.append(m.getName()).append('(');
  		Class<?>[] parameterTypes = m.getParameterTypes();
  		for (int i = 0; i < parameterTypes.length; i++) {
  			if (i > 0)
  				ret.append(',');
  			ret.append(getName(parameterTypes[i]));
  		}
  		ret.append(')');
  		return ret.toString();
  	}
docs: get method name. "void do(int)", "void do()",
  "int do(java.lang.String,boolean)"
  
  @param m
  method.
  @return name.