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;
}

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 ; }
rewrite a methodannotation to update the class name , and any class names mentioned in the method signature .
