@AutoService(value=javax.annotation.processing.Processor.class) public class ParameterAnnotationProcessor extends AbstractSingularAnnotationProcessor<Parameter,VariableElement>
Parameter
and validates them against the
following set of rules.
1. The element must be a field or a parameter.
2. The display name of the Parameter should be unique within the class.elementUtils, typeUtils
processingEnv
Constructor and Description |
---|
ParameterAnnotationProcessor() |
Modifier and Type | Method and Description |
---|---|
protected void |
processRules(SingularAnnotationProcessingContext<Parameter,VariableElement> context) |
protected boolean |
validateElementKind(Element element) |
getSupportedAnnotationTypes, getSupportedSourceVersion, init, isImplementedByInterface, isImplementedBySuper, isInterfaceImplemented, isOfElementKinds, printError, process
getCompletions, getSupportedOptions, isInitialized
protected void processRules(SingularAnnotationProcessingContext<Parameter,VariableElement> context)
processRules
in class AbstractSingularAnnotationProcessor<Parameter,VariableElement>
protected boolean validateElementKind(Element element)
validateElementKind
in class AbstractSingularAnnotationProcessor<Parameter,VariableElement>
Copyright © 2016–2019 AdroitLogic. All rights reserved.