code: private String getAction(final Annotation[] annotations, final Method method) {
          for (final Annotation annotation : annotations) {
              if (annotation instanceof Audit) {
                  final Audit audit = (Audit) annotation;
                  String action = audit.action();
                  if (ACTION.equals(action)) {
                      return method.getName();
                  } else {
                      return action;
                  }
              }
          }
          return null;
      }
docs: Gets the action.
  
  @param annotations
  the annotations
  @param method
  the method
  @return the action