code: public static MethodAnnotation convertMethodAnnotation(ClassNameRewriter classNameRewriter, MethodAnnotation annotation) {
  
          if (classNameRewriter != IdentityClassNameRewriter.instance()) {
              annotation = new MethodAnnotation(classNameRewriter.rewriteClassName(annotation.getClassName()),
                      annotation.getMethodName(), rewriteMethodSignature(classNameRewriter, annotation.getMethodSignature()),
                      annotation.isStatic());
          }
          return annotation;
      }
docs: Rewrite a MethodAnnotation to update the class name, and any class names
  mentioned in the method signature.
  
  @param classNameRewriter
  a ClassNameRewriter
  @param annotation
  a MethodAnnotation
  @return the possibly-rewritten MethodAnnotation