|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface AnnotationProvider
This is used to provide annotations and nestable annotations. An exception will be thrown on an attempt to build an annotation that does not exist.
This interface is not intended to be implemented.
Provisional API: This interface is part of an interim API that is still
under development and expected to change significantly before reaching
stability. It is available at this early stage to solicit feedback from
pioneering adopters on the understanding that any code that uses this API
will almost certainly be broken (repeatedly) as the API evolves.| Method Summary | |
|---|---|
Annotation |
buildAnnotation(JavaResourceAnnotatedElement parent,
AnnotatedElement element,
String annotationName)
Build an annotation with the specified name. |
NestableAnnotation |
buildAnnotation(JavaResourceAnnotatedElement parent,
AnnotatedElement element,
String annotationName,
int index)
Build a nestable annotation with the specified name and index. |
Annotation |
buildAnnotation(JavaResourceAnnotatedElement parent,
IAnnotation jdtAnnotation)
Build an annotation for the specified JDT annotation. |
NestableAnnotation |
buildAnnotation(JavaResourceAnnotatedElement parent,
IAnnotation jdtAnnotation,
int index)
Build a nestable annotation for the specified JDT annotation and index. |
Annotation |
buildNullAnnotation(JavaResourceAnnotatedElement parent,
String annotationName)
Build a null annotation with the specified name. |
Iterable<String> |
getAnnotationNames()
Return the names of the annotations. |
String |
getContainerAnnotationName(String nestableAnnotationName)
Return the "container" annotation name for the given "nestable" annotation name. |
Iterable<String> |
getContainerAnnotationNames()
Return all the supported "container" annotation names. |
String |
getNestableAnnotationName(String containerAnnotationName)
Return the "nestable" annotation name for the given "container" annotation name. |
Iterable<String> |
getNestableAnnotationNames()
Return all the supported "nestable" annotation names. |
String |
getNestableElementName(String nestableAnnotationName)
Return the annotation "element" name used for the "nestable" annotation when it is nested within a "container" annotation. |
| Method Detail |
|---|
Iterable<String> getAnnotationNames()
Iterable<String> getContainerAnnotationNames()
NestableAnnotationDefinition.getContainerAnnotationName()Iterable<String> getNestableAnnotationNames()
NestableAnnotationDefinition.getNestableAnnotationName()String getNestableAnnotationName(String containerAnnotationName)
NestableAnnotationDefinitionString getContainerAnnotationName(String nestableAnnotationName)
NestableAnnotationDefinitionString getNestableElementName(String nestableAnnotationName)
NestableAnnotationDefinition.getElementName()
Annotation buildAnnotation(JavaResourceAnnotatedElement parent,
AnnotatedElement element,
String annotationName)
getAnnotationNames()
NestableAnnotation buildAnnotation(JavaResourceAnnotatedElement parent,
AnnotatedElement element,
String annotationName,
int index)
getNestableAnnotationNames()
Annotation buildAnnotation(JavaResourceAnnotatedElement parent,
IAnnotation jdtAnnotation)
getAnnotationNames()
NestableAnnotation buildAnnotation(JavaResourceAnnotatedElement parent,
IAnnotation jdtAnnotation,
int index)
getNestableAnnotationNames()
Annotation buildNullAnnotation(JavaResourceAnnotatedElement parent,
String annotationName)
getAnnotationNames()
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||