public class AnnotationContext extends Object implements AnnotatedElementHandler
| Constructor and Description |
|---|
AnnotationContext()
Creates a new instance of AnnotationContext
|
| Modifier and Type | Method and Description |
|---|---|
void |
endElement(ElementType type,
AnnotatedElement element)
After annotations for an annotated element are processed, the
endElement is called with the annotated element value and its type
|
ProcessingContext |
getProcessingContext() |
void |
setProcessingContext(ProcessingContext processingContext) |
void |
startElement(ElementType type,
AnnotatedElement element)
Before annotations for an annotated element are processed, the
startElement is called with the annotated element value and its type
|
public AnnotationContext()
public void setProcessingContext(ProcessingContext processingContext)
public ProcessingContext getProcessingContext()
public void startElement(ElementType type, AnnotatedElement element) throws AnnotationProcessorException
AnnotatedElementHandlerstartElement in interface AnnotatedElementHandlertype - the annotated element type (class, field, method...)element - the annotated element we are starting to visit.AnnotationProcessorExceptionpublic void endElement(ElementType type, AnnotatedElement element) throws AnnotationProcessorException
AnnotatedElementHandlerendElement in interface AnnotatedElementHandlertype - the annotated element type (class, field, method...)element - the annotated element we are done visiting.AnnotationProcessorExceptionCopyright © 2015. All rights reserved.