org.eclipse.jpt.core.resource.java
Interface NestableAnnotation

All Superinterfaces:
Annotation, JavaResourceNode, Model
All Known Subinterfaces:
NestableAssociationOverride, NestableAttributeOverride, NestableJoinColumn, NestableNamedNativeQuery, NestableNamedQuery, NestablePrimaryKeyJoinColumn, NestableQueryHint, NestableSecondaryTable, NestableUniqueConstraint

public interface NestableAnnotation
extends Annotation

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
 void initializeFrom(NestableAnnotation oldAnnotation)
           
 void moveAnnotation(int newIndex)
          Should only be called when the NestableAnnotation is actually nested
 
Methods inherited from interface org.eclipse.jpt.core.resource.java.Annotation
getAnnotationName, getJdtAnnotation, newAnnotation, removeAnnotation
 
Methods inherited from interface org.eclipse.jpt.core.resource.java.JavaResourceNode
getJpaCompilationUnit, getResourceModel, getTextRange, initialize, updateFromJava
 
Methods inherited from interface org.eclipse.jpt.utility.model.Model
addCollectionChangeListener, addCollectionChangeListener, addListChangeListener, addListChangeListener, addPropertyChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, addTreeChangeListener, removeCollectionChangeListener, removeCollectionChangeListener, removeListChangeListener, removeListChangeListener, removePropertyChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener, removeTreeChangeListener
 

Method Detail

initializeFrom

void initializeFrom(NestableAnnotation oldAnnotation)

moveAnnotation

void moveAnnotation(int newIndex)
Should only be called when the NestableAnnotation is actually nested

Parameters:
newIndex -