All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.joern.kotlin2cpg.interop.JavasrcInterop.scala Maven / Gradle / Ivy

There is a newer version: 4.0.82
Show newest version
package io.joern.kotlin2cpg.interop

import io.joern.javasrc2cpg.passes.{AstCreationPass => JavaSrcAstCreationPass}
import io.joern.javasrc2cpg.JavaSrc2Cpg
import io.shiftleft.codepropertygraph.generated.Cpg

object JavasrcInterop {
  def astCreationPass(inputPath: String, paths: List[String], cpg: Cpg): JavaSrcAstCreationPass = {
    val javasrcConfig = JavaSrc2Cpg.DefaultConfig.withInputPath(inputPath)
    new JavaSrcAstCreationPass(javasrcConfig, cpg, Some(paths))
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy