|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Resolver
Callback interface to allow the string analysis to model some external methods and fields more precisely.
A resolver is added to the current list of active resolvers by theStringAnalysis.addResolver
method.
Every time the analysis encounters a reference to a field or method
which it does not know about, it will ask all active resolvers (in the
order in which they were added) for information about the field or method.
Method Summary | |
---|---|
FieldResolution |
resolveField(FieldRef expr)
Called by the string analysis when it encounters a reference of an unknown String field in a non-application class. |
MethodResolution |
resolveMethod(InvokeExpr expr,
SootMethod target)
Called by the string analysis when it encounters a call of an unknown method in a non-application class. |
Method Detail |
---|
FieldResolution resolveField(FieldRef expr)
FieldResolution
object describing the possible values of the field.
expr
- the field reference.
null
.FieldResolution
MethodResolution resolveMethod(InvokeExpr expr, SootMethod target)
MethodResolution
object describing the behaviour of this method invocation.
expr
- the invoke expression that calls the unknown method.target
- the unknown method.
null
.MethodResolution
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |