JavaScopeElement

io.joern.javasrc2cpg.scope.JavaScopeElement
See theJavaScopeElement companion trait

Attributes

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

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BlockScope(implicit disableTypeFallback: Boolean) extends JavaScopeElement

Attributes

Supertypes
class Object
trait Matchable
class Any
class FieldDeclScope(val isStatic: Boolean, val name: String)(implicit disableTypeFallback: Boolean) extends JavaScopeElement

Attributes

Supertypes
class Object
trait Matchable
class Any
class MethodScope(val method: NewMethod, val returnType: ExpectedType, val isStatic: Boolean)(implicit val withSchemaValidation: ValidationMode, disableTypeFallback: Boolean) extends JavaScopeElement, AnonymousClassCounter

Attributes

Supertypes
class Object
trait Matchable
class Any
case object MultipleWildcards extends WildcardImports

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
class NamespaceScope(val namespace: NewNamespaceBlock)(implicit disableTypeFallback: Boolean) extends JavaScopeElement, TypeDeclContainer

Attributes

Supertypes
class Object
trait Matchable
class Any
case object NoWildcard extends WildcardImports

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
NoWildcard.type
case class PartialInit(typeFullName: String, callAst: Ast, receiverAst: Ast, argsAsts: List[Ast], outerClassAst: Option[Ast])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SingleWildcard(prefix: String) extends WildcardImports

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class TypeDeclScope(val typeDecl: NewTypeDecl, val isStatic: Boolean, val capturedVariables: Map[String, CapturedVariable], outerClassType: Option[String], outerClassGenericSignature: Option[String], val declaredMethodNames: Set[String], val recordParameters: List[Parameter])(implicit disableTypeFallback: Boolean) extends JavaScopeElement, TypeDeclContainer, AnonymousClassCounter

Attributes

Supertypes
class Object
trait Matchable
class Any
Show all
sealed trait WildcardImports

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Extensions

Extensions

extension (methodScope: Option[MethodScope])
def getMethodFullName: String
extension (typeDeclScope: Option[TypeDeclScope])
def fullName: Option[String]
def getCapturesForType(typeFullName: String): List[ScopeVariable]
def isInterface: Boolean
def name: Option[String]