|
||||||||||
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(java.lang.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(java.lang.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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |