io.joern.javasrc2cpg.util

Members list

Type members

Classlikes

class BindingTable()

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object BindingTable

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
trait BindingTableAdapter[InputTypeDecl, AstTypeDecl, AstMethodDecl, TypeMap]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BindingTableAdapterForJavaparser(methodSignatureImpl: (ResolvedMethodDeclaration, ResolvedTypeParametersMap) => String) extends BindingTableAdapter[ResolvedReferenceTypeDeclaration, ResolvedReferenceTypeDeclaration, ResolvedMethodDeclaration, ResolvedTypeParametersMap]

Attributes

Supertypes
trait BindingTableAdapter[ResolvedReferenceTypeDeclaration, ResolvedReferenceTypeDeclaration, ResolvedMethodDeclaration, ResolvedTypeParametersMap]
class Object
trait Matchable
class Any
class BindingTableAdapterForLambdas(methodSignatureImpl: (ResolvedMethodDeclaration, ResolvedTypeParametersMap) => String) extends BindingTableAdapter[LambdaBindingInfo, ResolvedReferenceTypeDeclaration, ResolvedMethodDeclaration, ResolvedTypeParametersMap]

Attributes

Supertypes
trait BindingTableAdapter[LambdaBindingInfo, ResolvedReferenceTypeDeclaration, ResolvedMethodDeclaration, ResolvedTypeParametersMap]
class Object
trait Matchable
class Any
case class BindingTableEntry(name: String, signature: String, implementingMethodFullName: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Delombok

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Delombok.type
case class LambdaBindingInfo(fullName: String, implementedType: Option[ResolvedReferenceType], directBinding: Option[NewBinding])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class MultiBindingTableAdapterForJavaparser(methodSignatureImpl: (ResolvedMethodDeclaration, ResolvedTypeParametersMap) => String) extends BindingTableAdapter[JavaparserBindingDeclType, JavaparserBindingDeclType, ResolvedMethodDeclaration, ResolvedTypeParametersMap]

Attributes

Companion
object
Supertypes
trait BindingTableAdapter[JavaparserBindingDeclType, JavaparserBindingDeclType, ResolvedMethodDeclaration, ResolvedTypeParametersMap]
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
object NameConstants

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object Shared

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Shared.type
class SourceParser

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object SourceParser

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

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.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object Util

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Util.type