jaxb-codemodel
jaxb-codemodel copied to clipboard
CodeModel is a Java library for code generators. This content is migrated into JAXB RI. This is for legacy viewing only
[com.sun.codemodel.JExpr#quotify](https://github.com/javaee/jaxb-codemodel/blob/5e0fd4234b180c88fbc808bfadc6d75e34d76e5e/codemodel/codemodel/src/main/java/com/sun/codemodel/JExpr.java#L253-L267) have ancient comment and force unicode characters escape: ```java // technically Unicode escape shouldn't be done here, // for it's a lexical level handling. // // However, various tools...
Hi there, I am using JCodeModel but cannot find how I can generate a method that returns a call from its super class. Relevant parts of what I have .....
Not sure, what to do with the other issues, but if this repository is for review only, shouldn't it be **archived** like many others, especially those that went to EE4J...
For obvious reasons I don't want the generated java source code files to be dependent on where I execute the codemodel code. Please give me an option to set the...
I would like the ability to create a JBlock which will remain "inline". That is, if you declare a variable inside it, the braces+indents will NOT be activated. Background: My...
the code generator uses qualified enum constant refs in switch-case constructs. I'll add a test case. error: an enum switch case label must be the unqualified name of an enumeration...
When calling jCodeModel._class(fullyqualifiedName, ClassType.INTERFACE),if fullyqualifiedName does not have a ".", the classtype is set to CLASS. #### Environment Windows 8.1 #### Affected Versions [2.2]
if we pass class name with no package to constructor JCodeModel._class and use modifier (final or abstract), they will be skipped ``` **Bar.java** public JDefinedClass _class(int mods, String fullyqualifiedName,ClassType t)...
Extra space in extends clause when inheriting from nested class which enclosing class ends on digit.
Codemodel 2.6 adds an extra space before the dot (EnclosingClass .NestedClass) in extends statement when class is inherited from EnclosingClass.NestedClass and EnclosingClass class name ends on the digit. I.e.: public...
When using a varParam with a final modifier, it is not emitted in the generated code: final JVar jArgs = m.varParam (Object.class, "aArgs"); jArgs.mods ().setFinal (true); results in --> (Object......