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
AnnotatedElementHandler
startElement
in interface AnnotatedElementHandler
type
- the annotated element type (class, field, method...)element
- the annotated element we are starting to visit.AnnotationProcessorException
public void endElement(ElementType type, AnnotatedElement element) throws AnnotationProcessorException
AnnotatedElementHandler
endElement
in interface AnnotatedElementHandler
type
- the annotated element type (class, field, method...)element
- the annotated element we are done visiting.AnnotationProcessorException
Copyright © 2019. All rights reserved.