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.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final String
static final String
(package private) static final String
private final List<AbstractGenerator>
private ToolLogger
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSupportedAnnotations
(Class<? extends Annotation>... annotations) private void
doProcess
(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) void
init
(ProcessingEnvironment processingEnv) boolean
process
(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) private static Element
resolveElement
(Element element) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, isInitialized
-
Field Details
-
DEBUG_OPTION
- See Also:
-
EXPRESSION_PROPERTIES
- See Also:
-
ADD_GENERATED_ANNOTATION
- See Also:
-
interfaceAnnotations
-
generators
-
supportedAnnotations
-
logger
-
-
Constructor Details
-
LoggingToolsProcessor
public LoggingToolsProcessor()Default constructor.
-
-
Method Details
-
getSupportedOptions
- Specified by:
getSupportedOptions
in interfaceProcessor
- Overrides:
getSupportedOptions
in classAbstractProcessor
-
getSupportedAnnotationTypes
- Specified by:
getSupportedAnnotationTypes
in interfaceProcessor
- Overrides:
getSupportedAnnotationTypes
in classAbstractProcessor
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-
init
- Specified by:
init
in interfaceProcessor
- Overrides:
init
in classAbstractProcessor
-
process
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-
doProcess
-
createSupportedAnnotations
@SafeVarargs private static Set<String> createSupportedAnnotations(Class<? extends Annotation>... annotations) -
resolveElement
-