NamespaceScope

io.joern.javasrc2cpg.scope.JavaScopeElement.NamespaceScope
class NamespaceScope(val namespace: NewNamespaceBlock) extends JavaScopeElement, TypeDeclContainer

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def addStaticImport(staticImport: NewImport): Unit

Inherited methods

def addDeclBinding(name: String, declBindingInfo: JavaparserBindingDeclType): Unit

Attributes

Inherited from:
TypeDeclContainer
def addTypeToScope(name: String, scopeType: ScopeType): Unit

Attributes

Inherited from:
JavaScopeElement
def addWildcardImport(prefix: String): Unit

Attributes

Inherited from:
JavaScopeElement
def getDeclBinding(name: String): Option[JavaparserBindingDeclType]

Attributes

Inherited from:
TypeDeclContainer
def getNameWithWildcardPrefix(name: String): Option[ScopeType]

Attributes

Inherited from:
JavaScopeElement

Attributes

Inherited from:
JavaScopeElement
def lookupType(name: String, includeWildcards: Boolean): Option[ScopeType]

Attributes

Inherited from:
JavaScopeElement

Attributes

Inherited from:
JavaScopeElement
def registerLambdaMethod(lambdaMethod: Ast): ListBuffer[Ast]

Attributes

Inherited from:
TypeDeclContainer
def registerTypeDecl(typeDecl: Ast): ListBuffer[Ast]

Attributes

Inherited from:
TypeDeclContainer
def registeredLambdaMethods: List[Ast]

Attributes

Inherited from:
TypeDeclContainer
def registeredTypeDecls: List[Ast]

Attributes

Inherited from:
TypeDeclContainer

Concrete fields

val isStatic: Boolean
val namespace: NewNamespaceBlock