String description = null;
// Convert to the right type and get annotation information
if (annotation.annotationType().toString().endsWith(Constants.PLUGIN_RESPONSE_OVERRIDE_CLASS)) {
ResponseOverride roAnnotation = (ResponseOverride)annotation;
newMethod.setHttpCode(roAnnotation.httpCode());
description = roAnnotation.description();
argNames = roAnnotation.parameters();
newMethod.setOverrideVersion(1);
}
else if(annotation.annotationType().toString().endsWith(Constants.PLUGIN_RESPONSE_OVERRIDE_V2_CLASS)) {