code: private boolean checkAnnotations(List<? extends AnnotationTree> annotations, Tree node) {
      for (AnnotationTree annotation : annotations) {
        if (isJ2ObjCIncompatible(annotation)) {
          nodesToStrip.add(node);
          return false;
        }
      }
      return true;
    }
docs: Checks for any J2ObjCIncompatible annotations. Returns whether
  the caller should to continue scanning this node.