docs: public static Annotation[] findAnnotations(AbstractVariableDeclaration field, Pattern namePattern) {
  		List<Annotation> result = new ArrayList<Annotation>();
  		if (field.annotations == null) return EMPTY_ANNOTATIONS_ARRAY;
  		for (Annotation annotation : field.annotations) {
  			TypeReference typeRef = annotation.type;
  			if (typeRef != null && typeRef.getTypeName() != null) {
  				char[][] typeName = typeRef.getTypeName();
  				String suspect = new String(typeName[typeName.length - 1]);
  				if (namePattern.matcher(suspect).matches()) {
  					result.add(annotation);
  				}
  			}
  		}	
  		return result.toArray(EMPTY_ANNOTATIONS_ARRAY);
  	}