code: public static MethodDescriptor getMethodDescriptor(JavaClass jclass, Method method) {
          return DescriptorFactory.instance().getMethodDescriptor(jclass.getClassName().replace('.', '/'), method.getName(),
                  method.getSignature(), method.isStatic());
      }
docs: Construct a MethodDescriptor from JavaClass and method.
  
  @param jclass
  a JavaClass
  @param method
  a Method belonging to the JavaClass
  @return a MethodDescriptor identifying the method