private boolean containsFieldDescriptor ( String str ) { for ( String descriptor : fieldDescriptors ) { if ( str . contains ( descriptor ) ) { return true ; } } return false ; }
Returns true if the given string contains a field descriptor of one of the annotations we are looking for .