org.apache.felix.scrplugin.tags.annotation.defaulttag
Class DefaultAnnotationTagProvider
java.lang.Object
org.apache.felix.scrplugin.tags.annotation.defaulttag.DefaultAnnotationTagProvider
- All Implemented Interfaces:
- AnnotationTagProvider
public class DefaultAnnotationTagProvider
- extends Object
- implements AnnotationTagProvider
Provides mapping of default SCR annotations to tag implementations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultAnnotationTagProvider
public DefaultAnnotationTagProvider()
getTags
public List<JavaTag> getTags(com.thoughtworks.qdox.model.Annotation annotation,
AnnotationJavaClassDescription description,
JavaField field)
- Description copied from interface:
AnnotationTagProvider
- Maps a annotation to one or many
JavaTag
implementations.
- Specified by:
getTags
in interface AnnotationTagProvider
- Parameters:
annotation
- Java annotationdescription
- Annotations-based java class descriptionfield
- Reference to field (set on field-level annotations, null on
other annotations)
- Returns:
- List of tag implementations. Return empty list if this provider
cannot map the annotation to any tag instance.
- See Also:
AnnotationTagProvider.getTags(Annotation, org.apache.felix.scrplugin.tags.annotation.AnnotationJavaClassDescription, org.apache.felix.scrplugin.tags.JavaField)
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.