Generation of abstract class with JCodeModel

Posted by SadJokerBY on Stack Overflow See other posts from Stack Overflow or by SadJokerBY
Published on 2010-06-01T10:40:49Z Indexed on 2010/06/01 10:43 UTC
Read the original article Hit count: 183

Filed under:
|
|
|

I'm trying to generate top-level abstract class with JCodeModel library, but I can't find any way to change class modifiers.
It's possible for nested classes (JDefinedClass API provides methods that get modifiers as parameters). But for creation of top level classes I found only JCodeModel API methods that get fully qualified name with or without ClassType (class/interface/annotation/enum) as parameters.

Does anybody can suggest me how to change modifiers of JDefinedClass to make it abstract?

© Stack Overflow or respective owner

Related posts about java

Related posts about library