jaxb-codemodel icon indicating copy to clipboard operation
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

Results 26 jaxb-codemodel issues
Sort by recently updated
recently updated
newest added

JCodeModel cm = new JCodeModel(); cm.parseType( "java.util.ArrayList" ); will throw exception, unless i delete the space after comma, i think it's better to allow blank as they are legal java...

Component: codemodel
Type: Bug
Priority: Minor

Please add the feature to specify the code style (e.g. tabs/spaces, indentation, newlines after methods/fields etc.) which will be used for building java classes. I can see that JFormatter class...

Component: codemodel
Type: New Feature
Priority: Major

outer class not added to references collection, when used only nested class. As result used full qualified class name. code to reproduce problem: ``` JCodeModel cm = new JCodeModel(); JDefinedClass...

Component: codemodel
Type: Bug
Priority: Minor

A construct like synchronized(this.myFieldVar) { // do something } seems to be possible only by body()/**or whatever block**/.directStatement("synchronized(this.myFieldVar)"); JBlock blk=new Block(true, true); // ... body.add(block); While one can live with,...

Component: codemodel
Type: New Feature
Priority: Minor

When using a visitor pattern to generate classes (enums), it would be helpful to get the map of enum constants from JDefinedClass defined so far. I would much appreciate the...

Component: codemodel
Type: New Feature
Priority: Trivial

Problem is generating a generic method like: public T foo(..) {..} The problem is in instantiating a JTypeVar. Making the constructor public would solve my problem as follows: JTypeVar Ttype...

Type: New Feature
Priority: Major