

def _classify_code_elements(self, code_elements):
    class_code_elements = []
    method_code_elements = []
    field_code_elements = []
    for element in code_elements:
        kind = element.kind
        if (kind in self.class_kinds):
            class_code_elements.append(element)
        elif (kind == self.method_kind):
            method_code_elements.append(element)
        elif (kind in self.field_kinds):
            field_code_elements.append(kind)
    return (class_code_elements, method_code_elements, field_code_elements)

dataset/ETHPy150Open bartdag/recodoc2/recodoc2/apps/codebase/linker/java_linkers.py JavaGenericLinker._classify_code_elements/VarMisuse@93/135 `element`->`kind`