javasrc2cpg
javasrc2cpg
io.joern.javasrc2cpg
Config
JavaSrc2Cpg
JavaSrc2Cpg
Main
io.joern.javasrc2cpg.passes
AstCreationPass
AstCreator
AstCreator
AstWithStaticInit
AstWithStaticInit
BindingInfo
ClosureBindingInfo
ClosureBindingMeta
Context
Context
PartialConstructor
RefEdgePair
io.joern.javasrc2cpg.util
NodeTypeInfo
Scope
Scope
SourceRootFinder
TypeInfoCalculator
TypeInfoCalculator
TypeConstants
TypeNameConstants
javasrc2cpg
/
io.joern.javasrc2cpg.util
/
Scope
Scope
class
Scope
extends
Scope
[
String
,
NodeTypeInfo
,
NewNode
]
Companion:
object
Graph
Supertypes
class
Scope
[
String
,
NodeTypeInfo
,
NewNode
]
class
Object
trait
Matchable
class
Any
Value members
Value members
Concrete methods
def
addToScope
(
identifier:
String
,
node:
NewNode
&
HasTypeFullName
):
Unit
def
getEnclosingTypeDecl
:
Option
[
NewTypeDecl
]
def
getWildcardType
(
identifier:
String
):
Option
[
String
]
def
lookupVariableType
(
identifier:
String
):
Option
[
String
]
override
def
popScope
():
Option
[
NewNode
]
Definition Classes
Scope
override
def
pushNewScope
(
scopeNode:
NewNode
):
Unit
Definition Classes
Scope
Inherited methods
def
addToScope
(
identifier:
String
,
variable:
NodeTypeInfo
):
NewNode
Inherited from:
Scope
def
isEmpty
:
Boolean
Inherited from:
Scope
def
lookupVariable
(
identifier:
String
):
Option
[
NodeTypeInfo
]
Inherited from:
Scope