public static Method getMethod(java.lang.reflect.Method m) {
        return new Method(m.getName(), Type.getMethodDescriptor(m));
    }
public static Method getMethod(java.lang.reflect.Method m) {
        return new Method(m.getName(), Type.getMethodDescriptor(m));
    }
public static Method getMethod ( java . lang . reflect . Method m ) { return new Method ( m . getName ( ) , Type . getMethodDescriptor ( m ) ) ; }
Creates a new {@link Method}.

@param m
a java.lang.reflect method descriptor
@return a {@link Method} corresponding to the given Java method
declaration.
Creates a new { @link Method } .