public String toString() { StringBuffer buffer = new StringBuffer(); Type ret = Type.getReturnType(this.getSignature()); buffer.append(ret); buffer.append(' '); buffer.append(className); buffer.append('.'); buffer.append(name); buffer.append('('); Type[] args = Type.getArgumentTypes(this.getSignature()); for (int i = 0; i < args.length; i++) { buffer.append(args[i]); if (i != args.length - 1) { buffer.append(", "); } } buffer.append(')'); return buffer.toString();
public static String toString(MethodGen method) { return new Method(method).toString();
	public String toString() {		StringBuffer buffer = new StringBuffer();		Type ret = Type.getReturnType(this.getSignature());		buffer.append(ret);		buffer.append(' ');		buffer.append(className);		buffer.append('.');		buffer.append(name);		buffer.append('(');		Type[] args = Type.getArgumentTypes(this.getSignature());		for (int i = 0; i < args.length; i++) {			buffer.append(args[i]);			if (i != args.length - 1) {				buffer.append(", ");			}		}		buffer.append(')');		return buffer.toString();	}