public abstract class AbstractGenerator extends Object
Modifier and Type | Field and Description |
---|---|
private ProcessingEnvironment |
processingEnv |
Constructor and Description |
---|
AbstractGenerator(ProcessingEnvironment processingEnv) |
Modifier and Type | Method and Description |
---|---|
void |
generateClass(com.sun.codemodel.JCodeModel model,
String qualifiedClassName)
Generates the Java class based on the parameters.
|
private final ProcessingEnvironment processingEnv
public AbstractGenerator(ProcessingEnvironment processingEnv)
public void generateClass(com.sun.codemodel.JCodeModel model, String qualifiedClassName) throws IOException
model
- the code of the classqualifiedClassName
- the name of the classIOException
- if the the Java class couldn't be createdCopyright © 2015. All rights reserved.