Creates a new Method. @param method a java.lang.reflect method descriptor @return a Method corresponding to the given Java method declaration.
(final java.lang.reflect.Method method)
| 93 | * @return a {@link Method} corresponding to the given Java method declaration. |
| 94 | */ |
| 95 | public static Method getMethod(final java.lang.reflect.Method method) { |
| 96 | return new Method(method.getName(), Type.getMethodDescriptor(method)); |
| 97 | } |
| 98 | |
| 99 | /** |
| 100 | * Creates a new {@link Method}. |
no test coverage detected