object MethodRefLinker
- Companion:
- class
Value members
Concrete methods
def linkToMultiple[SRC_NODE_TYPE <: StoredNode](cpg: Cpg, srcLabels: List[String], dstNodeLabel: String, edgeType: String, dstNodeMap: String => Option[StoredNode], getDstFullNames: SRC_NODE_TYPE => Iterable[String], dstFullNameKey: String, dstGraph: DiffGraphBuilder): Unit
def linkToSingle(cpg: Cpg, srcLabels: List[String], dstNodeLabel: String, edgeType: String, dstNodeMap: String => Option[StoredNode], dstFullNameKey: String, dstGraph: DiffGraphBuilder, dstNotExistsHandler: Option[(StoredNode, String) => Unit]): Unit
For all nodes n with a label in srcLabels, determine the value of n.$dstFullNameKey, use that to lookup the
destination node in dstNodeMap, and create an edge of type edgeType between n and the destination node.
For all nodes n with a label in srcLabels, determine the value of n.$dstFullNameKey, use that to lookup the
destination node in dstNodeMap, and create an edge of type edgeType between n and the destination node.
@inline
def logFailedDstLookup(edgeType: String, srcNodeType: String, srcNodeId: String, dstNodeType: String, dstFullName: String): Unit
@inline
def logFailedSrcLookup(edgeType: String, srcNodeType: String, srcFullName: String, dstNodeType: String, dstNodeId: String): Unit