Text this: Towards Practical and Automated Type-Based Program Analysis in Java