public class StickFirstCalledFrom extends StickFirstMatches
CrossProductAnalysis
, to gain distinguish calls to particular methods
or packages. For example to calls from an application by using
"myapplication.mypkg" or "myapplication.mypkg.MyClass" for the prefix.EMPTY_CONTEXT
Constructor and Description |
---|
StickFirstCalledFrom(int sensitivity,
java.lang.String prefixToTrack)
Create an analysis that tracks called from a particular prefix with the
given context-call-stack depth, once that depth is reached the context is
"stuck" and no more call sites are added.
|
StickFirstCalledFrom(java.lang.String prefixToTrack)
Create an analysis that tracks methods called from a particular prefix with the
given context-call-stack depth, once that depth is reached the context is
"stuck" and no more call sites are added.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
init, initialContextImpl, mergeImpl, recordImpl
clearMemoization, fixContextForReferenceVariable, initialContext, memoize, memoize, merge, record
public StickFirstCalledFrom(int sensitivity, java.lang.String prefixToTrack)
sensitivity
- depth of the call stack to keep track ofprefixToTrack
- Methods called from this prefix will be tracked up to the sensitivity,
deeper than the sensitivity they will "stick" in the context.public StickFirstCalledFrom(java.lang.String prefixToTrack)
prefixToTrack
- Methods called from this prefix will be tracked up to the sensitivity,
deeper than the sensitivity they will "stick" in the context.public java.lang.String toString()
toString
in class StickFirstMatches