Joj provides a Java object representation of Java source code in a similar way that JDOM provides a Java representation of XML.
Be the first to post a text review of Joj - Java Version of Java. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Version 0.1 is now available. The object model is just about done. Note: the interfaces in package org.joj.code model the Java constructs rather than being an exact representation of the source code. As such local variables (and field declarations) are each represented by a separate object rather than one declaration having multiple parts. Also, the use (or lack thereof) of brackets is not recorded so if the source is re-constructed then it won't be an accurate representation of the input source (but the point of JoJ is NOT to provide an exact model of the source, rather it models the constructs used in the source). An implementation is available in the org.joj.code.impl package and can easily be accessed via the org.joj.tools.JavaFileParser helper class. One thing to note is that unlike many other implementations JoJ is aimed at making the developers life easier, it flattens the object model somewhat and reduces the number of objects the developer needs to deal with. For example there is no "Block" object, this is replaced by using a "java.util.List" which will contain the statements that the block would otherwise contain. See the README and RELEASE_NOTES.txt for more details.
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?
Thanks for your review!
Get credit for your review by logging in via OpenID. Click your account provider: