org.eclipse.wst.jsdt.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.

This interface is not intended to be implemented by clients.

Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made 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.wst.jsdt.core.dom.IBinding
METHOD, PACKAGE, TYPE, VARIABLE
 
Method Summary
 IFunctionBinding 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.wst.jsdt.core.dom.IBinding
equals, 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

IFunctionBinding 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.