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, createTransformVar
addMessageMethod, addMessageMethod, createReadResolveMethod, generateAndWrite, messageInterface, qualifiedClassName
public 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
ClassModel
generateModel
in class ClassModel
java.lang.IllegalStateException
- if the class has already been defined.