Haskell parser and pretty printer for the java language.
Simple compilation unit parser:
parser compilationUnit "import java.util.*; public class MyClass {}"
or from a file:
ast <- parser compilationUnit `fmap` readFile "myClass.java"
Rationales can be found in corresponding config files.
.hlint.yaml