|
Eclipse JDT Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAnnotatable
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 |
|---|
IAnnotation getAnnotation(String name)
name - the given simple name
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.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2010 IBM Corporation and others. All rights reserved.