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

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
class MethodScope(val method: NewMethod, val returnType: ExpectedType, val isStatic: 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) 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], capturedThis: Option[NewMethodParameterIn])

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], val declaredMethodNames: Set[String]) 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
object MultipleWildcards.type
object NoWildcard.type

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]