Recently I got the task of Quality code fixing , means I have to clear all the checkstyle and PMD errors from each any every java file , to achieve the desired Quality of code . We have our company standard for checkstyle and PMD , I know how to configure both of these things in eclipse and how to find errors of quality in java file . But I want to know that is there any software that can automatically solve all these problems because this is not an easy job to fix all these errors especially with PMD's . or Can we develop any software that can automatically fix all these errors . Need your help !!!