public interface IdentifiableAnnotatedJavaStructure extends IdentifiableJavaStructure
IdentifiableJavaStructure which can also be annotated.| Modifier and Type | Method and Description |
|---|---|
AnnotationMetadata |
getAnnotation(org.springframework.roo.model.JavaType type)
Locates the specified annotation on this structure.
|
List<AnnotationMetadata> |
getAnnotations() |
AnnotationMetadata |
getTypeAnnotation(org.springframework.roo.model.JavaType annotationType)
Locates an annotation on this class and its superclasses.
|
getDeclaredByMetadataId, getModifierAnnotationMetadata getAnnotation(org.springframework.roo.model.JavaType type)
type - to locate (required)null if not foundList<AnnotationMetadata> getAnnotations()
AnnotationMetadata getTypeAnnotation(org.springframework.roo.model.JavaType annotationType)
annotationType - annotation to locate (required)null if not foundCopyright © 2009–2016. All rights reserved.