public abstract class AbstractGenerator extends Object
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the processor.
|
Set<String> |
getSupportedOptions()
Returns the supported options set.
|
javax.annotation.processing.ProcessingEnvironment |
processingEnv()
Returns the processing environment.
|
abstract void |
processTypeElement(javax.lang.model.element.TypeElement annotation,
javax.lang.model.element.TypeElement element,
MessageInterface messageInterface)
Processes a type element.
|
javax.lang.model.util.Types |
typeUtils()
Returns the type utils.
|
public abstract void processTypeElement(javax.lang.model.element.TypeElement annotation, javax.lang.model.element.TypeElement element, MessageInterface messageInterface)
annotation
- the annotation who trigger the processingelement
- the element that contains the methods.messageInterface
- the message interface to implement.public final javax.lang.model.util.Types typeUtils()
public final javax.annotation.processing.ProcessingEnvironment processingEnv()
public final String getName()
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.