filter for fields that have given annotations
Note: this is used by findFromCifpConstructor (perhaps the class should be inernal to the method)
also: this should be more subtle: if fields are private and in a superclass, then should we find a solution?