class MessageBundleImplementor extends ImplementationClassModel
Creates an implementation of the interface passed in.
sourceFile| Constructor and Description |
|---|
MessageBundleImplementor(javax.annotation.processing.Filer filer,
MessageInterface messageInterface)
Creates a new message bundle code model.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.jboss.jdeparser.JClassDef |
generateModel()
Generate the code corresponding to this
class model
|
addMethodParameter, addThrownTypes, createBundleMethod, createTransformVar, createTransformVaraddMessageMethod, addMessageMethod, createReadResolveMethod, generateAndWrite, messageInterface, qualifiedClassNamepublic MessageBundleImplementor(javax.annotation.processing.Filer filer,
MessageInterface messageInterface)
filer - the filer used to create the source filemessageInterface - the message interface to implement.protected org.jboss.jdeparser.JClassDef generateModel()
throws java.lang.IllegalStateException
ClassModelgenerateModel in class ClassModeljava.lang.IllegalStateException - if the class has already been defined.