Package org.jboss.logging.processor.apt
Class LoggingToolsProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- org.jboss.logging.processor.apt.LoggingToolsProcessor
-
- All Implemented Interfaces:
Processor
@SupportedOptions({"debug","org.jboss.logging.tools.expressionProperties","org.jboss.logging.tools.addGeneratedAnnotation"}) public class LoggingToolsProcessor extends AbstractProcessor
The main annotation processor for JBoss Logging Tooling.- Author:
- James R. Perkins, Kevin Pollet - SERLI - (kevin.pollet@serli.com)
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEBUG_OPTION
-
Constructor Summary
Constructors Constructor Description LoggingToolsProcessor()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getSupportedAnnotationTypes()Set<String>getSupportedOptions()SourceVersiongetSupportedSourceVersion()voidinit(ProcessingEnvironment processingEnv)booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions
-
-
-
-
Field Detail
-
DEBUG_OPTION
public static final String DEBUG_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSupportedOptions
public Set<String> getSupportedOptions()
- Specified by:
getSupportedOptionsin interfaceProcessor- Overrides:
getSupportedOptionsin classAbstractProcessor
-
getSupportedAnnotationTypes
public Set<String> getSupportedAnnotationTypes()
- Specified by:
getSupportedAnnotationTypesin interfaceProcessor- Overrides:
getSupportedAnnotationTypesin classAbstractProcessor
-
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
init
public void init(ProcessingEnvironment processingEnv)
- Specified by:
initin interfaceProcessor- Overrides:
initin classAbstractProcessor
-
process
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
-