org.eclipse.jpt.common.core.resource.java
Interface NestableAnnotation
- All Superinterfaces:
- Annotation, JavaResourceNode, Model
- All Known Subinterfaces:
- AssociationOverride2_0Annotation, AssociationOverrideAnnotation, AttributeOverrideAnnotation, BaseJoinColumnAnnotation, CompleteJoinColumnAnnotation, EclipseLinkBaseTypeConverterAnnotation, EclipseLinkConversionValueAnnotation, EclipseLinkConverterAnnotation, EclipseLinkNamedConverterAnnotation, EclipseLinkObjectTypeConverterAnnotation, EclipseLinkStructConverterAnnotation, EclipseLinkTenantDiscriminatorColumnAnnotation2_3, EclipseLinkTypeConverterAnnotation, JoinColumnAnnotation, MapKeyJoinColumn2_0Annotation, NamedNativeQueryAnnotation, NamedQuery2_0Annotation, NamedQueryAnnotation, OverrideAnnotation, PrimaryKeyJoinColumnAnnotation, QueryAnnotation, QueryHintAnnotation, SecondaryTableAnnotation, UniqueConstraintAnnotation, XmlElementAnnotation, XmlElementRefAnnotation, XmlJavaTypeAdapterAnnotation, XmlJoinNodeAnnotation, XmlNsAnnotation, XmlPathAnnotation, XmlSchemaTypeAnnotation
public interface NestableAnnotation
- extends Annotation
Interface for dealing with annotations that can be "nested" within other
annotations, typically within arrays.
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.
- Since:
- 2.0
|
Method Summary |
void |
moveAnnotation(int index)
Move the annotation to the specified index within its container annotation. |
moveAnnotation
void moveAnnotation(int index)
- Move the annotation to the specified index within its container annotation.
This should only be called when the annotation is actually nested.
Copyright (c) 2012 Oracle. All rights reserved.