@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, typeUtilsprocessingEnv| 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, processgetCompletions, getSupportedOptions, isInitializedprotected 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.