public interface AnnotatedElement
Modifier and Type | Method and Description |
---|---|
AnnotationModel |
getAnnotation(java.lang.String name)
Returns an annotation model if the type is annotated with the
passed annotation name
|
java.util.Collection<AnnotationModel> |
getAnnotations()
Returns a unmodifiable set of annotations that are present on this
annotated element.
|
java.lang.String |
getName()
Annotated element have a name, which vary depending on the actual
subclass type.
|
java.lang.String |
shortDesc()
Construct and return a short description name that can be used to
display the instance value
|
java.lang.String getName()
Class.getName()
java.lang.String shortDesc()
java.util.Collection<AnnotationModel> getAnnotations()
AnnotationModel getAnnotation(java.lang.String name)
name
- the annotation name