def get_code_element(self, scode_reference, code_elements, field_name,
            fqn_container, log):
        log.reset_variables()
        return_code_element = None
        if code_elements is None:
            code_elements = []
        potentials = list(code_elements)
        size = len(code_elements)

        #print('DEBUG FOR {0}:{1}'.format(scode_reference.pk,
            #scode_reference.content))
        #for code_element in code_elements:
            #print(code_element.fqn)

        filter_results = []

        for afilter in self.field_filters:
            finput = filters.FilterInput(scode_reference, potentials,
                    field_name, log, fqn_container, None, filter_results)
            result = afilter.filter(finput)
            potentials = result.potentials
            filter_results.append(result)

        log.custom_filtered = filters.custom_filtered(filter_results)

        potentials_size = len(potentials)
        if potentials_size == 1:
            return_code_element = potentials[0]
        elif potentials_size in 1:
            return_code_element = potentials[0]
            log.arbitrary = True

        # Logging
        log.log_field(field_name, fqn_container, scode_reference,
                return_code_element, potentials, size, filter_results,
                code_elements)
        return (return_code_element, potentials)
dataset/ETHPy150Open bartdag/recodoc2/recodoc2/apps/codebase/linker/java_linkers.py/JavaFieldLinker.get_code_element/operator `>` -> `in`