Package org.jboss.logging.processor.apt
Class AbstractGenerator
- java.lang.Object
-
- org.jboss.logging.processor.apt.AbstractGenerator
-
- Direct Known Subclasses:
ReportFileGenerator
public abstract class AbstractGenerator extends Object
An abstract processor used process annotations.- Author:
- James R. Perkins, Kevin Pollet - SERLI - (kevin.pollet@serli.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetName()Returns the name of the processor.Set<String>getSupportedOptions()Returns the supported options set.abstract voidprocessTypeElement(TypeElement annotation, TypeElement element, MessageInterface messageInterface)Processes a type element.
-
-
-
Method Detail
-
processTypeElement
public abstract void processTypeElement(TypeElement annotation, TypeElement element, MessageInterface messageInterface)
Processes a type element.- Parameters:
annotation- the annotation who trigger the processingelement- the element that contains the methods.messageInterface- the message interface to implement.
-
getName
public final String getName()
Returns the name of the processor.- Returns:
- the name of the processor.
-
-