code: public JMethod getMethod(String name, JClass []paramTypes)
    {
      loop:
      for (JMethod method : getMethods()) {
        if (! method.getName().equals(name))
          continue;
  
        JClass []mParamTypes = method.getParameterTypes();
        if (mParamTypes.length != paramTypes.length)
          continue;
  
        for (int i = 0; i < paramTypes.length; i++) {
          if (! paramTypes[i].getName().equals(mParamTypes[i].getName()))
            continue loop;
        }
  
  
        return method;
      }
  
      return null;
    }
docs: Returns the matching method