org.eclipse.jpt.jaxb.core.resource.java
Interface NestableAnnotationDefinition


public interface NestableAnnotationDefinition

Used to build NestableAnnotations discovered in the Java source code. To provide new NestableAnnotationDefinitions, create a new JaxbPlatform by implementing JaxbPlatformDefinition.

Since:
3.0
Version:
3.0
See Also:
NestableAnnotation, 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
 NestableAnnotation buildAnnotation(JavaResourceAnnotatedElement parent, AnnotatedElement annotatedElement, int index)
          Build and return an annotation for the specified annotated element.
 Annotation buildAnnotation(JavaResourceAnnotatedElement parent, org.eclipse.jdt.core.IAnnotation jdtAnnotation)
          Build and return an annotation for the specified JDT annotation on the specified annotated element.
 java.lang.String getContainerAnnotationName()
           
 java.lang.String getElementName()
           
 java.lang.String getNestableAnnotationName()
          Return the name of the annotation the definition will build in the various #build...(...) methods.
 

Method Detail

getNestableAnnotationName

java.lang.String getNestableAnnotationName()
Return the name of the annotation the definition will build in the various #build...(...) methods.


getContainerAnnotationName

java.lang.String getContainerAnnotationName()

getElementName

java.lang.String getElementName()

buildAnnotation

NestableAnnotation buildAnnotation(JavaResourceAnnotatedElement parent,
                                   AnnotatedElement annotatedElement,
                                   int index)
Build and return an annotation for the specified annotated element.


buildAnnotation

Annotation buildAnnotation(JavaResourceAnnotatedElement parent,
                           org.eclipse.jdt.core.IAnnotation jdtAnnotation)
Build and return an annotation for the specified JDT annotation on the specified annotated element.