def METHOD_NAME(self):
    specs = []
    for name in self.xpath('./bpmn:dataInputAssociation/bpmn:sourceRef'):
        ref = first(self.doc_xpath(f".//bpmn:dataObjectReference[@id='{name.text}']"))
        if ref is not None and ref.get('dataObjectRef') in self.process_parser.spec.data_objects:
            specs.append(self.process_parser.spec.data_objects[ref.get('dataObjectRef')])
        else:
            ref = first(self.doc_xpath(f".//bpmn:dataStoreReference[@id='{name.text}']"))
            if ref is not None and ref.get('dataStoreRef') in self.process_parser.data_stores:
                specs.append(self.process_parser.data_stores[ref.get('dataStoreRef')])
            else:
                raise ValidationException(f'Cannot resolve dataInputAssociation {name}', self.node, self.filename)
    return specs