MethodTraversal

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

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

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

Outgoing call sites to methods where fullName matches regex.

Outgoing call sites to methods where fullName matches regex.

Attributes

def call: Traversal[Call]

Outgoing call sites

Outgoing call sites

Attributes

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

Incoming call sites

Incoming call sites

Attributes

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

Traverse to direct and transitive callers of the method.

Traverse to direct and transitive callers of the method.

Attributes

def calledByIncludingSink(sourceTrav: Traversal[Method])(implicit callResolver: ICallResolver): Traversal[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): Traversal[Method]

Traverse to methods called by this method

Traverse to methods called by this method

Attributes

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

Traverse to direct callers of this method

Traverse to direct callers of this method

Attributes

Deprecated methods

def callOut: Traversal[Call]

Attributes

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

Attributes

Deprecated
true

Concrete fields

val traversal: Traversal[Method]