|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AnnotatedElement
An annotated element is a java declaration that can be annotated. Such declaration are usually types (like classes or interfaces), fields of a class, or methods of a class. An annotated element is defined by its name and the set of annotations present on the declaration.
| Method Summary | |
|---|---|
AnnotationModel |
getAnnotation(String name)
Returns an annotation model if the type is annotated with the passed annotation name |
Collection<AnnotationModel> |
getAnnotations()
Returns a unmodifiable set of annotations that are present on this annotated element. |
String |
getName()
Annotated element have a name, which vary depending on the actual subclass type. |
String |
shortDesc()
Construct and return a short description name that can be used to display the instance value |
| Method Detail |
|---|
String getName()
Class.getName()
String shortDesc()
Collection<AnnotationModel> getAnnotations()
AnnotationModel getAnnotation(String name)
name - the annotation name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||