}
}
private void moveParameterAnnotations(int numParams, MethodInfo src, MethodInfo dest, String paramsTag)
{
ParameterAnnotationsAttribute params = (ParameterAnnotationsAttribute)src.getAttribute(paramsTag);
if (params != null)
{
@SuppressWarnings("unchecked")
HashMap map = new HashMap();
dest.addAttribute(params.copy(dest.getConstPool(), map));
ParameterAnnotationsAttribute srcParams = new ParameterAnnotationsAttribute(src.getConstPool(), paramsTag);
Annotation[][] emptyParamAnnotations = new Annotation[numParams][];
for (int i = 0 ; i < numParams ; i++)
{
emptyParamAnnotations[i] = new Annotation[0];
}
srcParams.setAnnotations(emptyParamAnnotations);
src.addAttribute(srcParams);
}
}