1. A method for modifying a class file to monitor data flow, comprising the steps of: selecting one or more methods in the class file; adding one or more lines of code to report incoming arguments and return values, if any, in the selected method; reporting the incoming arguments and return values to an instrumentation interface; wherein the instrumentation interface categorises different types of incoming arguments or return values.