MethodDecoratorPass

class MethodDecoratorPass(cpg: Cpg) extends SimpleCpgPass

Adds a METHOD_PARAMETER_OUT for each METHOD_PARAMETER_IN to the graph and connects those with a PARAMETER_LINK edge. It also creates an AST edge from METHOD to the new METHOD_PARAMETER_OUT nodes.

This pass has MethodStubCreator as prerequisite for language frontends which do not provide method stubs.

Companion
object
class SimpleCpgPass
class ForkJoinParallelCpgPass[AnyRef]
trait CpgPassBase
class Object
trait Matchable
class Any

Type members

Inherited types

type DiffGraphBuilder = DiffGraphBuilder
Inherited from
ForkJoinParallelCpgPass

Value members

Concrete methods

override
def run(dstGraph: DiffGraphBuilder): Unit
Definition Classes
SimpleCpgPass

Inherited methods

override
def createAndApply(): Unit
Definition Classes
ForkJoinParallelCpgPass -> CpgPassBase
Inherited from
ForkJoinParallelCpgPass
override
def createApplySerializeAndStore(serializedCpg: SerializedCpg, inverse: Boolean, prefix: String): Unit
Definition Classes
ForkJoinParallelCpgPass -> CpgPassBase
Inherited from
ForkJoinParallelCpgPass
def finish(): Unit
Inherited from
ForkJoinParallelCpgPass
final override
def generateParts(): Array[_ <: AnyRef]
Definition Classes
SimpleCpgPass -> ForkJoinParallelCpgPass
Inherited from
SimpleCpgPass
def init(): Unit
Inherited from
ForkJoinParallelCpgPass
def name: String

Name of the pass. By default it is inferred from the name of the class, override if needed.

Name of the pass. By default it is inferred from the name of the class, override if needed.

Inherited from
CpgPassBase
final override
def runOnPart(builder: DiffGraphBuilder, part: AnyRef): Unit
Definition Classes
SimpleCpgPass -> ForkJoinParallelCpgPass
Inherited from
SimpleCpgPass