Sorry if it's a basic question but even after searching a lot, I'm not able to figure this out.
I'm using SOOT to instrument my code. I'm able to check whether my statement accesses a field using stmt.containsFieldRef()
but I want to differentiate between a statement writing a value to the field and another which is just reading its value.
Is there a pre-defined method to do that or is parsing the statement the only option?