Class JavaScopeMappingInstanceKeys
java.lang.Object
com.ibm.wala.cast.ipa.callgraph.ScopeMappingInstanceKeys
com.ibm.wala.cast.java.ipa.callgraph.JavaScopeMappingInstanceKeys
- All Implemented Interfaces:
InstanceKeyFactory
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ibm.wala.cast.ipa.callgraph.ScopeMappingInstanceKeys
ScopeMappingInstanceKeys.ScopeMappingInstanceKey
-
Field Summary
Fields inherited from class com.ibm.wala.cast.ipa.callgraph.ScopeMappingInstanceKeys
builder
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection
<CGNode> getConstructorCallers
(ScopeMappingInstanceKeys.ScopeMappingInstanceKey smik, Pair<String, String> name) get the CGNodes corresponding to the method that invoked the constructor for smikprotected AstMethod.LexicalParent[]
getParents
(InstanceKey base) protected boolean
protected boolean
does base require a scope mapping key? Typically, true if base is allocated in a nested lexical scope, to handle the case of base being a function that performs closure accessesMethods inherited from class com.ibm.wala.cast.ipa.callgraph.ScopeMappingInstanceKeys
getInstanceKeyForAllocation, getInstanceKeyForConstant, getInstanceKeyForMetadataObject, getInstanceKeyForMultiNewArray, getInstanceKeyForPEI
-
Constructor Details
-
JavaScopeMappingInstanceKeys
-
-
Method Details
-
getParents
-
isPossiblyLexicalClass
-
needsScopeMappingKey
Description copied from class:ScopeMappingInstanceKeys
does base require a scope mapping key? Typically, true if base is allocated in a nested lexical scope, to handle the case of base being a function that performs closure accesses- Specified by:
needsScopeMappingKey
in classScopeMappingInstanceKeys
-
getConstructorCallers
protected Collection<CGNode> getConstructorCallers(ScopeMappingInstanceKeys.ScopeMappingInstanceKey smik, Pair<String, String> name) Description copied from class:ScopeMappingInstanceKeys
get the CGNodes corresponding to the method that invoked the constructor for smik- Specified by:
getConstructorCallers
in classScopeMappingInstanceKeys
-