MethodScope

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

def addTypeToScope(name: String, typeFullName: String): Unit

Attributes

Inherited from:
JavaScopeElement
def addVariableToScope(variable: ScopeVariable): Unit

Attributes

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

Attributes

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

Attributes

Inherited from:
JavaScopeElement

Attributes

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

Attributes

Inherited from:
JavaScopeElement
def lookupVariable(name: String): Option[ScopeVariable]

Attributes

Inherited from:
JavaScopeElement

Concrete fields

val method: NewMethod