Method.getMethod(java.lang.reflect.Method)
Please, add static
===
static Method getMethod(java.lang.reflect.Method) {
return new Method(method.getName(), Type.getMethodDescriptor(method));
}
===
and also
===
static Method getMethod(java.lang.reflect.Constructor) {
return new Method("<init>, Type.getConstructorDescriptor(method));
}
===
I use such methods frequently in my program.