Dali Provisional API
Release 3.2

org.eclipse.jpt.common.core.utility.jdt
Interface IndexedDeclarationAnnotationElementAdapter<T>

Type Parameters:
T - the type of the objects in the array to be passed to and returned by the adapter
All Superinterfaces:
DeclarationAnnotationElementAdapter<T[]>

public interface IndexedDeclarationAnnotationElementAdapter<T>
extends DeclarationAnnotationElementAdapter<T[]>

Provide clients with a pluggable way to manipulate an indexed annotation element modifying a "declaration".

This interface is not intended to be implemented by clients.

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.


Field Summary
 
Fields inherited from interface org.eclipse.jpt.common.core.utility.jdt.DeclarationAnnotationElementAdapter
VALUE
 
Method Summary
 Expression selectExpression(Annotation astAnnotation, int index)
          Given the specified annotation, return the expression at the specified index.
 
Methods inherited from interface org.eclipse.jpt.common.core.utility.jdt.DeclarationAnnotationElementAdapter
getAstNode, getExpression, getExpression, getValue, getValue, setValue
 

Method Detail

selectExpression

Expression selectExpression(Annotation astAnnotation,
                            int index)
Given the specified annotation, return the expression at the specified index.

Throws:
IndexOutOfBoundsException - if the index is out of range

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.