

def _get_field_name(self, scode_reference):
    field_name = fqn_container = None
    if (scode_reference.snippet != None):
        parts = scode_reference.content.split(HANDLE_SEPARATOR)
        (field_name, fqn_container) = self._get_field_name_from_snippet(parts)
    else:
        content = je.get_clean_name(scode_reference.content)
        (field_name, fqn) = je.clean_java_name(content)
        if (fqn != field_name):
            fqn = je.get_package_name(fqn)
            fqn_container = je.clean_potential_annotation(fqn)
    return (su.safe_strip(scode_reference), su.safe_strip(fqn_container))

dataset/ETHPy150Open bartdag/recodoc2/recodoc2/apps/codebase/linker/java_linkers.py JavaFieldLinker._get_field_name/VarMisuse@117/176 `field_name`->`scode_reference`