MethodScope

io.joern.javasrc2cpg.scope.JavaScopeElement.MethodScope
class MethodScope(val method: NewMethod, val returnType: ExpectedType, val isStatic: Boolean) extends JavaScopeElement, AnonymousClassCounter

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def addParameter(parameter: NewMethodParameterIn): Unit

Inherited methods

def addTypeToScope(name: String, scopeType: ScopeType): Unit

Attributes

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

Attributes

Inherited from:
JavaScopeElement
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

Attributes

Inherited from:
JavaScopeElement

Concrete fields

override val isStatic: Boolean
val method: NewMethod