`addRelated` only looks at methods for related nodes, it should also check `func`s, `interface`s, `type` definitions, function bodies, etc.
addRelatedonly looks at methods for related nodes, it should also checkfuncs,interfaces,typedefinitions, function bodies, etc.