io.joern.javasrc2cpg.util

Members list

Concise view

Type members

Classlikes

class BindingTable()

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

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

Attributes

Graph
Supertypes
trait BindingTableAdapter[ResolvedReferenceTypeDeclaration]
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
case class BindingTableEntry(name: String, signature: String, implementingMethodFullName: String)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object Delombok

Attributes

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

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class NodeTypeInfo(node: NewNode, name: String, typeFullName: Option[String], isField: Boolean, isStatic: Boolean)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
class Scope extends Scope[String, NodeTypeInfo, ScopeType]

Attributes

Companion:
object
Graph
Supertypes
class Scope[String, NodeTypeInfo, ScopeType]
class Object
trait Matchable
class Any
object Scope

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Scope.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

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object Util

Attributes

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