Remove redundant JavaClassBuilder.
Add basic generator test cases.
Generated classes now carry Matches annotation.