Package org.jboss.logging.processor.apt
Class LoggingToolsProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- org.jboss.logging.processor.apt.LoggingToolsProcessor
-
- All Implemented Interfaces:
javax.annotation.processing.Processor
@SupportedOptions({"debug","org.jboss.logging.tools.expressionProperties","org.jboss.logging.tools.addGeneratedAnnotation"}) public class LoggingToolsProcessor extends javax.annotation.processing.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 java.lang.String
DEBUG_OPTION
-
Constructor Summary
Constructors Constructor Description LoggingToolsProcessor()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>
getSupportedAnnotationTypes()
java.util.Set<java.lang.String>
getSupportedOptions()
javax.lang.model.SourceVersion
getSupportedSourceVersion()
void
init(javax.annotation.processing.ProcessingEnvironment processingEnv)
boolean
process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)
-
-
-
Field Detail
-
DEBUG_OPTION
public static final java.lang.String DEBUG_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSupportedOptions
public java.util.Set<java.lang.String> getSupportedOptions()
- Specified by:
getSupportedOptions
in interfacejavax.annotation.processing.Processor
- Overrides:
getSupportedOptions
in classjavax.annotation.processing.AbstractProcessor
-
getSupportedAnnotationTypes
public java.util.Set<java.lang.String> getSupportedAnnotationTypes()
- Specified by:
getSupportedAnnotationTypes
in interfacejavax.annotation.processing.Processor
- Overrides:
getSupportedAnnotationTypes
in classjavax.annotation.processing.AbstractProcessor
-
getSupportedSourceVersion
public javax.lang.model.SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersion
in interfacejavax.annotation.processing.Processor
- Overrides:
getSupportedSourceVersion
in classjavax.annotation.processing.AbstractProcessor
-
init
public void init(javax.annotation.processing.ProcessingEnvironment processingEnv)
- Specified by:
init
in interfacejavax.annotation.processing.Processor
- Overrides:
init
in classjavax.annotation.processing.AbstractProcessor
-
process
public boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)
- Specified by:
process
in interfacejavax.annotation.processing.Processor
- Specified by:
process
in classjavax.annotation.processing.AbstractProcessor
-
-