Skip to content

JCodeModel 3.2.0

Compare
Choose a tag to compare
@phax phax released this 20 Oct 07:49
· 271 commits to master since this release
  • Introduced class JCMWriter that should be used to emit the outgoing Java files. This replaces codemodel.build and offers a more consistent API. Most existing method remain existing and deprecated and just forward to JCMWriter.
    • Instead of cm.build (...) use new JCMWriter (cm).build (...)
  • Extracted IJFormatter interface for better separation of concerns. JFormatter was moved to a sub-package
  • ProgressCodeWriter no longer needs an explicit PrintStream but a ProgressCodeWriter.IProgressTracker instead.
  • Default charset for Java classes is now UTF-8.
  • Added new JAnnotationUse method overloads that automatically pass value as the annotation parameter name (issue #64)