org.eclipse.jdt.core.dom
Interface IMemberValuePairBinding

All Superinterfaces:
IBinding

public interface IMemberValuePairBinding
extends IBinding

Represents a resolved instance of an annotation's member value pair. Resolved annotation are computed along with other bindings; these objects correspond to MemberValuePair nodes.

Since:
3.2

Field Summary
 
Fields inherited from interface org.eclipse.jdt.core.dom.IBinding
ANNOTATION, MEMBER_VALUE_PAIR, METHOD, PACKAGE, TYPE, VARIABLE
 
Method Summary
 IMethodBinding getMethodBinding()
          Returns the method binding corresponding to the named annotation type member.
 java.lang.String getName()
          Returns the name of the annotation type member.
 java.lang.Object getValue()
          Returns the resolved value.
 boolean isDefault()
           
 
Methods inherited from interface org.eclipse.jdt.core.dom.IBinding
equals, getAnnotations, getJavaElement, getKey, getKind, getModifiers, isDeprecated, isEqualTo, isRecovered, isSynthetic, toString
 

Method Detail

getName

java.lang.String getName()
Returns the name of the annotation type member.

Specified by:
getName in interface IBinding
Returns:
the name of the member

getMethodBinding

IMethodBinding getMethodBinding()
Returns the method binding corresponding to the named annotation type member.

Returns:
the method binding for the annotation type member

getValue

java.lang.Object getValue()
Returns the resolved value. Resolved values are represented as follows:

Returns:
the resolved value, or null if none exists

isDefault

boolean isDefault()
Returns:
true iff this member value pair's value is the default value. Returns false otherwise.