package util
- Alphabetic
- Public
- Protected
Type Members
- class BindingTable extends AnyRef
- trait BindingTableAdapter[T] extends AnyRef
- class BindingTableAdapterForJavaparser extends BindingTableAdapter[ResolvedReferenceTypeDeclaration]
- class BindingTableAdapterForLambdas extends BindingTableAdapter[LambdaBindingInfo]
- case class BindingTableEntry(name: String, signature: String, implementingMethodFullName: String) extends Product with Serializable
- case class LambdaBindingInfo(fullName: String, implementedType: Option[ResolvedReferenceType], directBinding: Option[NewBinding]) extends Product with Serializable
- case class NodeTypeInfo(node: NewNode, name: String, typeFullName: Option[String], isField: Boolean = false, isStatic: Boolean = false) extends Product with Serializable
- class Scope extends x2cpg.datastructures.Scope[String, NodeTypeInfo, ScopeType]
Value Members
- object BindingTable
- object Delombok
- object NameConstants
- object Scope
- object SourceRootFinder
Given a
codeDirectory, the SourceRootFinder attempts to find all the source roots (so that the subdirectories match the package structure of the source files).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.
- object Util