|
Eclipse JDT Release 3.4 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Common protocol for Java elements that can be annotated.
This interface is not intended to be implemented by clients.
| Method Summary | |
IAnnotation |
getAnnotation(String name)
Returns the annotation with the given name declared on this element. |
IAnnotation[] |
getAnnotations()
Returns the annotations for this element. |
| Method Detail |
public IAnnotation getAnnotation(String name)
name - the given simple name
public IAnnotation[] getAnnotations()
throws JavaModelException
JavaModelException - if this element does not exist or if an
exception occurs while accessing its corresponding resource.
|
Eclipse JDT Release 3.4 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||