private void moveAnnotations(MethodInfo src, MethodInfo dest, String annotationTag)
{
AnnotationsAttribute attribute = (AnnotationsAttribute) src.getAttribute(annotationTag);
if (attribute != null)
{
dest.addAttribute(attribute.copy(dest.getConstPool(), new HashMap()));
src.addAttribute(new AnnotationsAttribute(src.getConstPool(), annotationTag));
}
}
private void moveParameterAnnotations(int numParams, MethodInfo src, MethodInfo dest, String paramsTag)