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.
没有人能够告诉我,如何改变JDefinedClass的支持者,使之抽象?