Eclipse JDT
Release 3.1

org.eclipse.jdt.core.dom
Interface IResolvedMemberValuePair


public interface IResolvedMemberValuePair

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

Method Summary
 IMethodBinding getMethodBinding()
          Returns the method binding corresponding to the named annotation type member.
 String getName()
          Returns the name of the annotation type member.
 Object getValue()
          Returns the resolved value.
 boolean isDefault()
           
 

Method Detail

getName

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

Returns:
the name of the member

getMethodBinding

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

Returns:
the method binding for the annotation type member

getValue

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

Returns:
the resolved value, or null if none exists

isDefault

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

Eclipse JDT
Release 3.1

Copyright (c) IBM Corp. and others 2000, 2005. All Rights Reserved.