code: private static AnnotatedElement getAnnotatedMethod(Class clazz, String methodName) throws MPException {
          for (Method method : clazz.getDeclaredMethods()) {
              if (method.getName().equals(methodName) &&
                      method.getDeclaredAnnotations().length > 0) {
                  return method;
              }
          }
          throw new MPException("No annotated method found");
      }
docs: Iterates over the methods of a class and returns the one matching the method name passed
  
  @param methodName            a String with the name of the method to be recuperated
  @return                      a AnnotatedMethod that match the method name passed
  @throws MPException