* @param doc XML Document to add
* @param methodElement Method declaration to look at
* @param parent The parent xml element to attach the result to
*/
private void processErrors(Document doc, ExecutableElement methodElement, Element parent) {
ApiError ae = methodElement.getAnnotation(ApiError.class);
processError(doc,ae,parent);
ApiErrors aes = methodElement.getAnnotation(ApiErrors.class);
if (aes != null) {
for (ApiError ae2 : aes.value()) {
processError(doc,ae2,parent);