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