TypeDeclScope

io.joern.javasrc2cpg.scope.JavaScopeElement.TypeDeclScope
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

Graph
Supertypes
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addBindingTableEntry(bindingTableEntry: BindingTableEntry): Unit
def addMember(member: NewMember, isStatic: Boolean): Unit
override def lookupVariable(name: String): VariableLookupResult

Attributes

Definition Classes
def registerCaptureUse(variable: ScopeVariable): Unit
def registerCapturesForType(typeFullName: String, captures: List[ScopeVariable]): Unit
def registerInitToComplete(partialInit: PartialInit): 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:
AnonymousClassCounter

Attributes

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

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 declaredMethodNames: Set[String]
override val isStatic: Boolean
val typeDecl: NewTypeDecl