@Contract
public interface AnnotationHandler
AnnotationHandlerFor annotation.| Modifier and Type | Field and Description |
|---|---|
static String |
ANNOTATION_HANDLER_METADATA |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Annotation> |
getAnnotationType() |
Class<? extends Annotation>[] |
getTypeDependencies() |
HandlerProcessingResult |
processAnnotation(AnnotationInfo element)
Process a particular annotation which type is the same as the
one returned by @see getAnnotationType().
|
static final String ANNOTATION_HANDLER_METADATA
Class<? extends Annotation> getAnnotationType()
HandlerProcessingResult processAnnotation(AnnotationInfo element) throws AnnotationProcessorException
element - the annotation informationAnnotationProcessorExceptionClass<? extends Annotation>[] getTypeDependencies()
Copyright © 2015. All rights reserved.