io.joern.javasrc2cpg.util

Type members

Classlikes

class BindingTable()
Companion:
object
Companion:
class
class BindingTableAdapterForJavaparser(methodSignature: (ResolvedMethodDeclaration, ResolvedTypeParametersMap) => String) extends BindingTableAdapter[ResolvedReferenceTypeDeclaration]
case class BindingTableEntry(name: String, signature: String, implementingMethodFullName: String)
class CachingReflectionTypeSolver extends ReflectionTypeSolver
object Delombok
case class LambdaBindingInfo(fullName: String, implementedType: Option[ResolvedReferenceType], directBinding: Option[NewBinding])
case class NodeTypeInfo(node: NewNode, name: String, typeFullName: Option[String], isField: Boolean, isStatic: Boolean)
class Scope extends Scope[String, NodeTypeInfo, ScopeType]
Companion:
object
object Scope
Companion:
class

Given a codeDirectory, the SourceRootFinder attempts to find all the source roots (so that the subdirectories match the package structure of the source files). The JavaParserTypeSolver is path-dependent, so without this the user would need to ensure that they specify the correct source directory when running javasrc2cpg.

Given a codeDirectory, the SourceRootFinder attempts to find all the source roots (so that the subdirectories match the package structure of the source files). The JavaParserTypeSolver is path-dependent, so without this the user would need to ensure that they specify the correct source directory when running javasrc2cpg.

This works by checking if any subdirectories of the given directory match common java directory structures. In order of preference: * Maven's default structure, e.g. src/main/java/io/... and src/test/java/io/... * Top-level src and test directories, e.g. src/io/... and test/io/... If neither of these match, then it defaults to using the given user input as the source root.

class TypeInfoCalculator(global: Global, symbolResolver: SymbolResolver)
Companion:
object
Companion:
class
object Util