|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Analysis.Quads.MustParamOracle
public class MustParamOracle
A MustParamOracle
tells you what method variables
*must* contain the values passed in as parameters to the method.
This can tell you which values must be the 'this' object, for
non-static methods, or which values in (say) a field-set
operation directly correspond to constructor parameters.
Constructor Summary | |
---|---|
MustParamOracle(HCode hc)
Creates a MustParamOracle which gives you information
on variables in HCode hc (which should
be in SSI or SSA form, for best results). |
Method Summary | |
---|---|
boolean |
isMustParam(Temp t)
Returns true iff the given Temp *must*
contain the value of some parameter. |
String |
toString()
|
int |
whichMustParam(Temp t)
Returns the parameter which the given Temp *must*
contain the value of. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MustParamOracle(HCode hc)
MustParamOracle
which gives you information
on variables in HCode
hc
(which should
be in SSI or SSA form, for best results).
Method Detail |
---|
public boolean isMustParam(Temp t)
true
iff the given Temp
*must*
contain the value of some parameter.
public int whichMustParam(Temp t)
Temp
*must*
contain the value of.
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |