|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Represents a library method. In comparison with ordinary methods, library methods may have additional information that is used during data flow analysis. This information includes:
| Method Summary | |
com.togethersoft.sca.dataflow.values.IValueDomain |
getParameterValue(int arg)
Returns valid value domain for the formal parameter with the specifed number. |
com.togethersoft.sca.dataflow.values.IValueDomain |
getReturnValue()
Returns value domain for the return values. |
boolean |
hasSideEffect()
Returns true if this method has side effects, that is changes
the state of any object. |
| Method Detail |
public com.togethersoft.sca.dataflow.values.IValueDomain getParameterValue(int arg)
For example, the index parameter for String.charat(int index)
may not be negative.
arg - the number of the formal parameter. Parameters are counted
starting with zero.public com.togethersoft.sca.dataflow.values.IValueDomain getReturnValue()
For example, ArrayList.size() returns non-negative values only.
public boolean hasSideEffect()
true if this method has side effects, that is changes
the state of any object.
For example, String.length() does not have side effects, but
PrintStream.println() does.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||