Extractor

class Extractor: Any

The main entrypoint of the extractor from which the CPG will be created.

Fields

Name Description
val driver: IDriver

the IDriver with which the graph will be constructed with.

Constructors

<init>

constructor(driver: IDriver)

The main entrypoint of the extractor from which the CPG will be created.

Parameters

Name Description
driver: IDriver

the IDriver with which the graph will be constructed with.

Methods

load

fun load(f: File): Extractor

Loads a single Java class file or directory of class files into the cannon.

Parameters

Name Description
f: File

The Java source/class file, or a directory of source/class files.

ReturnValue

Name Description
Extractor

project

fun project(): Extractor

Projects all loaded classes to the graph database.

ReturnValue

Name Description
Extractor