I am writing a Eclipse ASTVisitor. How to tell if a field is read or written in a method?
The idea provided was "You need to vist Assignment node. Field on the LHS is written, while fields on the RHS expression is read."
After I visit the assignment and get the LHS and RHS which are both of Expression, how do I tell if the Expression contains the field?