annotations-impl/src/main/java/org/ocpsoft/rewrite/annotation/scan/ByteCodeFilter.java
private boolean containsFieldDescriptor(String str)
   {
      for (String descriptor : fieldDescriptors) {
         if (str.contains(descriptor)) {
            return true;
         }
      }
      return false;
   }
private boolean containsFieldDescriptor(String str)
   {
      for (String descriptor : fieldDescriptors) {
         if (str.contains(descriptor)) {
            return true;
         }
      }
      return false;
   }
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.
Returns true if the given string contains a field descriptor of one of the annotations we are looking for .