code: public static MethodDeclaration getMethodDeclaration(TypeDeclaration type, MethodAnnotation methodAnno)
              throws MethodDeclarationNotFoundException {
          Objects.requireNonNull(methodAnno, "method annotation");
  
          return getMethodDeclaration(type, methodAnno.getMethodName(), methodAnno.getMethodSignature());
      }
docs: Returns the <CODE>MethodDeclaration</CODE> for the specified
  <CODE>MethodAnnotation</CODE>. The method has to be declared in the
  specified <CODE>TypeDeclaration</CODE>.
  
  @param type
  The <CODE>TypeDeclaration</CODE>, where the
  <CODE>MethodDeclaration</CODE> is declared in.
  @param methodAnno
  The <CODE>MethodAnnotation</CODE>, which contains the method
  name and signature of the <CODE>MethodDeclaration</CODE>
  @return the <CODE>MethodDeclaration</CODE> found in the specified
  <CODE>TypeDeclaration</CODE>.
  @throws MethodDeclarationNotFoundException
  if no matching <CODE>MethodDeclaration</CODE> was found.