What I did:
As discussed in Discussion
Since openrewrite chaining can only be used to change the input code.
I created a test ClassRenameRecipe which will rename InputXxx.java to OutputXxx.java to have the same class name.
Renamed RecipeTestUtil to AbstractTestUtil and make it implement RewriteTest.
Updated UpperEllRecipeTest to extend renamed AbstractTestUtil and test each recipe.
Now the test example are Java compilable files rather than .txt files
Parse Checkstyle XML report and extract UpperEll violations with file/line/column info.
Parse Checkstyle configuration and load enabled checks and their parameters from checkstyle.xml.
Map violations to recipes by groupping UpperEll violations and matching to UpperEll recipe class.
Execute targeted recipe by passing violation locations and config parameters to recipe and running it.
What I did:
What I did:
Implemented logic for row and column detection.
Updated testing logic to test based on checkstyle-report
Implement a fix for teab based column detection.
Create a new recipe for HEADER check.
What I did:
Update README.md
created header recipe.
implement FinalLocalVariable recipe
Update implementation of recipe registry.
What I did:
completed end to end implementation of header recipe
Integrated testing pipeline.
Complete End to end impl. of FinalLocalVariable.
Add more recipes to readME.