org.springframework.roo.classpath.details.annotations
Interface AnnotationMetadata
- All Known Implementing Classes:
- DefaultAnnotationMetadata
public interface AnnotationMetadata
Metadata concerning a particular annotation appearing on a member.
- Since:
- 1.0
- Author:
- Ben Alex
getAnnotationType
org.springframework.roo.model.JavaType getAnnotationType()
- Returns:
- the annotation type (never null)
getAttributeNames
List<org.springframework.roo.model.JavaSymbolName> getAttributeNames()
- Returns:
- the attribute names, preferably in the order they are declared in the annotation (never null, but may be empty)
getAttribute
AnnotationAttributeValue<?> getAttribute(org.springframework.roo.model.JavaSymbolName attributeName)
- Acquires an attribute value for the requested name.
- Returns:
- the requested attribute (or null if not found)
Copyright © 2009-2010 VMware, Inc. All Rights Reserved.