org.glassfish.apf
Interface AnnotatedElementHandler

All Known Implementing Classes:
AnnotationContext

public interface AnnotatedElementHandler

Provides notification when the annotation processor is visiting a new AnnotatedElement.

Author:
Jerome Dochez

Method Summary
 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
 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
 

Method Detail

startElement

void startElement(ElementType type,
                  AnnotatedElement element)
                  throws AnnotationProcessorException
Before annotations for an annotated element are processed, the startElement is called with the annotated element value and its type

Parameters:
type - the annotated element type (class, field, method...)
element - the annotated element we are starting to visit.
Throws:
AnnotationProcessorException;
AnnotationProcessorException

endElement

void endElement(ElementType type,
                AnnotatedElement element)
                throws AnnotationProcessorException
After annotations for an annotated element are processed, the endElement is called with the annotated element value and its type

Parameters:
type - the annotated element type (class, field, method...)
element - the annotated element we are done visiting.
Throws:
AnnotationProcessorException;
AnnotationProcessorException


Copyright © 2012 GlassFish Community. All Rights Reserved.