Package org.sonar.java.se.xproc
Class BehaviorCache
java.lang.Object
org.sonar.java.se.xproc.BehaviorCache
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()get(Symbol.MethodSymbol symbol) Do not trigger any new computation of method behavior, just check if there is a known method behavior for the symbol.void
-
Field Details
-
behaviors
-
-
Constructor Details
-
BehaviorCache
public BehaviorCache()
-
-
Method Details
-
setFileContext
-
cleanup
public void cleanup() -
methodBehaviorForSymbol
-
get
-
get
-
peek
Do not trigger any new computation of method behavior, just check if there is a known method behavior for the symbol.- Parameters:
signature- The targeted method.- Returns:
- null for methods having no computed method behavior yet, or its method behavior, based on source or hardcoded set
-