@AutoService(value=javax.annotation.processing.Processor.class) public class AutoInitializeAnnotationProcessor extends AbstractSingularAnnotationProcessor<AutoInitialize,TypeElement>
AutoInitialize and validates them against the
following set of rules.
1. This annotation can only be used on classes.
2. The class must be public.
3. The class should not be an abstract class.
4. The class or at least one of its super classes must implement Initializable interface.elementUtils, typeUtilsprocessingEnv| Constructor and Description |
|---|
AutoInitializeAnnotationProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
processRules(SingularAnnotationProcessingContext<AutoInitialize,TypeElement> sapc) |
protected boolean |
validateElementKind(Element element) |
getSupportedAnnotationTypes, getSupportedSourceVersion, init, isImplementedByInterface, isImplementedBySuper, isInterfaceImplemented, isOfElementKinds, printError, processgetCompletions, getSupportedOptions, isInitializedprotected void processRules(SingularAnnotationProcessingContext<AutoInitialize,TypeElement> sapc)
processRules in class AbstractSingularAnnotationProcessor<AutoInitialize,TypeElement>protected boolean validateElementKind(Element element)
validateElementKind in class AbstractSingularAnnotationProcessor<AutoInitialize,TypeElement>Copyright © 2016–2019 AdroitLogic. All rights reserved.