|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnnotationProcessingService
An AnnotationProcessingService handles multiple AnnotationProcessor
s
and uses them to process one or more Annotation
s.
AnnotationProcessor
Method Summary | ||
---|---|---|
void |
addAnnotationProcessor(AnnotationProcessor annotationProcessor)
Add an AnnotationProcessor to the service. |
|
java.util.Set<AnnotationProcessor> |
getAnnotationProcessors()
Returns the set of AnnotationProcessor s registered with
this service. |
|
|
processAnnotation(I info,
A annotation)
The processing action of this service. |
|
|
processAnnotations(I info,
java.lang.annotation.Annotation[] annotations)
Calls processAnnotation(BaseNature, Annotation) for each given
Annotation. |
Method Detail |
---|
<I extends BaseNature> java.lang.annotation.Annotation[] processAnnotations(I info, java.lang.annotation.Annotation[] annotations)
processAnnotation(BaseNature, Annotation)
for each given
Annotation.
info
- the BaseNature
(and so its PropertyHolder
)
that should be filled with the information readannotations
- the annotations to process
processAnnotation(BaseNature, Annotation)
<I extends BaseNature,A extends java.lang.annotation.Annotation> boolean processAnnotation(I info, A annotation)
AnnotationProcessor.processAnnotation(BaseNature, Annotation)
is
returned.
info
- the BaseNature
(and so its PropertyHolder
)
that should be filled with the information readannotation
- the annotation to process
AnnotationProcessor
void addAnnotationProcessor(AnnotationProcessor annotationProcessor)
AnnotationProcessor
to the service.
annotationProcessor
- the AnnotationProcessor
to add to this service.java.util.Set<AnnotationProcessor> getAnnotationProcessors()
AnnotationProcessor
s registered with
this service.
AnnotationProcessor
s registered with this service.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |