jcodemodel
jcodemodel copied to clipboard
A heavily extended fork of the com.sun.codemodel (from 2013/09)
I am trying to figure out how to get the Java Class of a generated param. I have tried using getting the AbstractJType type() from the param and playing around...
1. should be placed into the writers package ? dunno. Maybe move the other classes from compile into writer.inmemory package ? 2. dynCl() should be a protected non-static method. Mainly...
are they already present ? If not, are they to be implemented ? if yes, are you working on it or can I work on it ?
I propose to add a new method in JCodeModel : copy(). This method returns a new CopiedModel that contains recursive copy of all the elements of the parent model. This...
I think it may be better to have some kind of navigation inside the blocks. Typically I can create a sub block in a JBlock, why not also be able...
Copying
#94 some changes are formater-related. basically add a copy() method in the JCM to copy itself. Also a test class for this new method. plus a few fields that are...
I am thinking of a new feature, the preprocessor that can add data in the JCM before it is built. # Use cases use cases I can think of :...
Since the check on packages name ( #70 ) , it's not possible anymore to create a resource in a resource dir that does not respect a package name. Example,...
Java 8 adds two new targets for annotations. - TYPE_USE - here are some examples ``` class MyData implements MyTypedInterface {} new @Immutable Rock() (@NonNull String) calculateValue() void doSomething() throws...