MethodTraversal

io.shiftleft.semanticcpg.language.callgraphextension.MethodTraversal
final class MethodTraversal(val traversal: Iterator[Method]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def call(regex: String)(implicit callResolver: ICallResolver): Iterator[Call]

Outgoing call sites to methods where fullName matches regex.

Outgoing call sites to methods where fullName matches regex.

Attributes

def call: Iterator[Call]

Outgoing call sites

Outgoing call sites

Attributes

def callIn(implicit callResolver: ICallResolver): Iterator[Call]

Incoming call sites

Incoming call sites

Attributes

def calledBy(sourceTrav: Iterator[Method])(implicit callResolver: ICallResolver): Iterator[Method]

Traverse to direct and transitive callers of the method.

Traverse to direct and transitive callers of the method.

Attributes

def calledByIncludingSink(sourceTrav: Iterator[Method])(implicit callResolver: ICallResolver): Iterator[Method]

Intended for internal use! Traverse to direct and transitive callers of the method.

Intended for internal use! Traverse to direct and transitive callers of the method.

Attributes

def callee(implicit callResolver: ICallResolver): Iterator[Method]

Traverse to methods called by this method

Traverse to methods called by this method

Attributes

def caller(implicit callResolver: ICallResolver): Iterator[Method]

Traverse to direct callers of this method

Traverse to direct callers of this method

Attributes

Deprecated methods

def callOut: Iterator[Call]

Attributes

Deprecated
true
def callOutRegex(regex: String)(implicit callResolver: ICallResolver): Iterator[Call]

Attributes

Deprecated
true

Concrete fields

val traversal: Iterator[Method]