MethodTraversal

final class MethodTraversal(val traversal: Traversal[Method]) extends AnyVal
class AnyVal
trait Matchable
class Any

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.

@Doc(info = "Call sites (outgoing calls)")
def call: Traversal[Call]

Outgoing call sites

Outgoing call sites

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

Incoming call sites

Incoming call sites

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.

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.

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

Traverse to methods called by this method

Traverse to methods called by this method

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

Traverse to direct callers of this method

Traverse to direct callers of this method

Deprecated methods

@deprecated("Use call", "")
def callOut: Traversal[Call]
Deprecated
@deprecated("Use call", "")
def callOutRegex(regex: String)(implicit callResolver: ICallResolver): Traversal[Call]
Deprecated

Concrete fields

val traversal: Traversal[Method]