

def __init__(self, project, prelease, codebase, source, srelease=None, filtered_ids=None):
    super(JavaGenericLinker, self).__init__(project, prelease, codebase, source, srelease, filtered_ids)
    self.unknown_kind = CodeElementKind.objects.get(kind='unknown')
    self.ann_kind = CodeElementKind.objects.get(kind='annotation')
    self.class_kind = CodeElementKind.objects.get(kind='class')
    self.enum_kind = CodeElementKind.objects.get(kind='enumeration')
    self.method_kind = CodeElementKind.objects.get(kind='method')
    self.field_kind = CodeElementKind.objects.get(kind='field')
    self.ann_field_kind = CodeElementKind.objects.get(kind='annotation field')
    self.enum_value_kind = CodeElementKind.objects.get(kind='enumeration value')
    self.class_kinds = set([self.class_kind, self.enum_kind, self.ann_kind])
    self.field_kinds = set([self.field_kind, self.ann_field_kind, self.enum_value_kind])
    self.class_linker = JavaClassLinker(project, prelease, codebase, source, srelease)
    self.method_linker = JavaMethodLinker(project, prelease, codebase, source, srelease)
    source.field_linker = JavaFieldLinker(project, prelease, codebase, source, srelease)

dataset/ETHPy150Open bartdag/recodoc2/recodoc2/apps/codebase/linker/java_linkers.py JavaGenericLinker.__init__/VarMisuse@244/348 `self`->`source`