|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Analysis.PA2.AnalysisPolicy
public class AnalysisPolicy
AnalysisPolicy
groups together different pointer
analysis options.
Field Summary | |
---|---|
boolean |
flowSensitivity
Selects flow sensitivity: if on, the analysis will compute one distinct set of inside edges for each program point; o.w., the analysis will compute one set of inside edges per method. |
int |
fpMaxIter
Maximum numbers of iterations in each inter-proc. fixed-point equations, i.e., how many times a method may be re-examined before the fixed-point computations gives up and considers that all calls to that method are unanalyzable |
int |
staticCallDepth
Lower bound of the static call depth. |
Constructor Summary | |
---|---|
AnalysisPolicy(boolean flowSensitivity,
int staticCallDepth,
int fpMaxIter)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
int |
hashCode()
|
boolean |
morePrecise(AnalysisPolicy ap2)
Checks whether this analysis policy is more
precise than ap2 , i.e., that each of the three
precision parameters are better. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final boolean flowSensitivity
public final int staticCallDepth
m
, any method that is not transitively called in
at most "static call depth" steps is considered un-analyzable.
-1 indicates infinite call depth: analyze all callees.
public final int fpMaxIter
Constructor Detail |
---|
public AnalysisPolicy(boolean flowSensitivity, int staticCallDepth, int fpMaxIter)
Method Detail |
---|
public boolean morePrecise(AnalysisPolicy ap2)
this
analysis policy is more
precise than ap2
, i.e., that each of the three
precision parameters are better.
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |