public static String makeDescriptor(Method m){
  Class[] params=m.getParameterTypes();
  return makeDescriptor(params,m.getReturnType());
}

public static String makeDescriptor ( Method m ) { Class [ ] params = m . getParameterTypes ( ) ; return makeDescriptor ( params , m . getReturnType ( ) ) ; }
makes a descriptor for a given method .
