@AutoService(value=javax.annotation.processing.Processor.class) public class XMetricsStreamAnnotationProcessor extends AbstractSingularAnnotationProcessor<MetricsStream,VariableElement>
MetricsStream
and validates them against the
following set of rules.
1. The element must be a field
2. The class that contains the field must be annotated with MetricsReporter
annotationelementUtils, typeUtils
processingEnv
Constructor and Description |
---|
XMetricsStreamAnnotationProcessor() |
Modifier and Type | Method and Description |
---|---|
protected void |
processRules(SingularAnnotationProcessingContext<MetricsStream,VariableElement> sapc) |
protected boolean |
validateElementKind(Element element) |
getSupportedAnnotationTypes, getSupportedSourceVersion, init, isImplementedByInterface, isImplementedBySuper, isInterfaceImplemented, isOfElementKinds, printError, process
getCompletions, getSupportedOptions, isInitialized
protected void processRules(SingularAnnotationProcessingContext<MetricsStream,VariableElement> sapc)
processRules
in class AbstractSingularAnnotationProcessor<MetricsStream,VariableElement>
protected boolean validateElementKind(Element element)
validateElementKind
in class AbstractSingularAnnotationProcessor<MetricsStream,VariableElement>
Copyright © 2016–2019 AdroitLogic. All rights reserved.