|
JSourceObjectizer V1.06 released |
|
|
|
Friday, 08 April 2011 |
This version contains some bug fixes, provides some new features and - last but not least - uses new versions of the Java grammar definitions the JSourceObjectizer is based on.
The following list gives an overview of the major changes and improvements: - Tests and fixes: During the last months nearly 800 (TestNG) test cases have been created and approximately a dozen bugs have been found and fixed.
- Flexible unmarshaller: A lot of new methods have been added to the unmarshaller that allow to parse just Java code fragments/snippets passed to these methods as strings and return appropriate JSOM objects.
- Experimental stuff: There're some few methods in this new version to modify an unmarshalled Java code. For example, it's now possible to add/remove annotations to/from JSOM types representing a method or constructor declaration or to add local variable declarations to local scopes and so on. And, of course, the marshalled (i.e. written back) Java code will contain these modifications. However, even if these new features are already in productive use at a dedicated customer for a while the APIs of these features are not carved in stone yet. Furthermore the (code formating) behaviour of these methods may change in future versions. Therefore these methods should be seen as experimental and are declared as @deprecated - just as a precaution ;-)
- Grammar: The test cases mentioned above also uncovered two bugs within the Java grammar definitions used to generate the parser the JSourceObjectizer is based on. Fixed!
- ANTLR: The JSourceObjectizer uses ANTLRv3.3 from now on - this upgrade was a pretty transparent change.
|
|
Last Updated ( Saturday, 09 April 2011 )
|