org.eclipse.jdt.core.dom
Interface IAnnotationBinding

public interface IAnnotationBinding
extends IBinding
Represents an resolved annotation. Resolved annotation are computed along with other bindings; they correspond to Annotation nodes.

This interface is not intended to be implemented by clients.

Since3.2
VersionNot specified.
AuthorNot specified.
Wiki javadoc Use textile entry format.
Add your comments here.
Method Summary
IMemberValuePairBinding[] getAllMemberValuePairs()
Returns the complete list of member value pairs for this annotation, including ones explicitly listed in the annotation as well as entries for annotation type members with default values that are implied.
ITypeBinding getAnnotationType()
Returns the type of the annotation.
IMemberValuePairBinding[] getDeclaredMemberValuePairs()
Returns the list of declared member value pairs for this annotation.
String getName()
Returns the name of the annotation type.
getAllMemberValuePairs
public IMemberValuePairBinding[] getAllMemberValuePairs ( )
Returns the complete list of member value pairs for this annotation, including ones explicitly listed in the annotation as well as entries for annotation type members with default values that are implied.
Wiki javadoc Use textile entry format.
Add your comments here.
getAnnotationType
public ITypeBinding getAnnotationType ( )
Returns the type of the annotation. The resulting type binding will always return true to ITypeBinding.isAnnotation().
Wiki javadoc Use textile entry format.
Add your comments here.
getDeclaredMemberValuePairs
public IMemberValuePairBinding[] getDeclaredMemberValuePairs ( )
Returns the list of declared member value pairs for this annotation. Returns an empty list for a MarkerAnnotation , a one element list for a SingleMemberAnnotation , and one entry for each of the explicitly listed values in a NormalAnnotation .

Note that the list only includes entries for annotation type members that are explicitly mentioned in the annotation. The list does not include any annotation type members with default values that are merely implied. Use getAllMemberValuePairs() to get those as well.

Wiki javadoc Use textile entry format.
Add your comments here.
getName
public String getName ( )
Returns the name of the annotation type.
Implements method in IBinding
Wiki javadoc Use textile entry format.
Add your comments here.