-
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 constant
case MyE…
-
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…
-
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, I can't create a new META-INF/data.txt file,…
-
When following customization is enabled:
```
```
XJC generates JDefinedClass for super interface java.lang.Cloneable. However by contract JDefinedClass objects should be created for generated cl…
-
Today I've spent a few hours hunting an NPE bug.
I was trying to add the generateMixedExtensions="true" feature to a working project and started getting an NPE:
```
Caused by: java.lang.NullPointerE…
-
Trying to add a method that uses generics:
``` java
addMethod("withApplicationSettings(Class
-
I get the following exception when running the "artifact" compiler jar: Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/codemodel/internal/JCodeModel.
The codemodel library is pr…
-
Hi,
I am running version 0.7.1 of the plugin using Eclipse 3.4.1.
I have defined an external bindings file as follows:
Within the ReportTypes.xsd schema file, I have defined the fol…
-
CClassInfo has the below constructor which takes a JCodeModel and a fullName. The fullName parameter should be the FQCN of the class. However, if the fullName starts with a package having more than on…
-
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 full…