MethodScope

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def addParameter(parameter: NewMethodParameterIn, genericSignature: String): Unit
def addTemporaryLocal(local: NewLocal): Unit
def getPatternVariableInfo(typePatternExpr: TypePatternExpr): Option[PatternVariableInfo]
def getTemporaryLocals: List[NewLocal]
def putPatternVariableInfo(typePatternExpr: TypePatternExpr, typeVariableLocal: NewLocal, typeVariableInitializer: Ast): Unit
def registerPatternVariableInitializerToBeAddedToGraph(typePatternExpr: TypePatternExpr): Unit
def registerPatternVariableLocalToBeAddedToGraph(typePatternExpr: TypePatternExpr): Unit

Inherited methods

def addDeclaredTypeType(typeSimpleName: String, isTypeVariable: Boolean): Unit

Attributes

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

Attributes

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

Attributes

Inherited from:
JavaScopeElement
def getDeclaredTypeType(typeSimpleName: String): Option[TypeType]

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

Implicits

Implicits

implicit val withSchemaValidation: ValidationMode