code: public JavaMethod findMethod(String name, String descriptor)
    {
      ArrayList<JavaMethod> methodList = getMethodList();
      
      for (int i = 0; i < methodList.size(); i++) {
        JavaMethod method = methodList.get(i);
  
        if (method.getName().equals(name) &&
            method.getDescriptor().equals(descriptor))
          return method;
      }
  
      return null;
    }
docs: Finds a method.