private static boolean isDocumentedApiOperation(DetailAST ast) {
    return AnnotationUtility.containsAnnotation(ast, API_OPERATION);
  }
REST API operations should either be documented, or marked to be ignored.
ambari-utility/src/main/java/org/apache/ambari/checkstyle/UndocumentedRestApiOperationCheck.java