|
Eclipse JDT Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMemberValuePairBinding
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.
| 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. |
String |
getName()
Returns the name of the annotation type member. |
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, isSynthetic, toString |
| Method Detail |
|---|
String getName()
getName in interface IBindingIMethodBinding getMethodBinding()
Object getValue()
ITypeBinding for the class objectIVariableBinding for the enum constantIAnnotationBindingObject[] whose elements are as per above
(the language only allows single dimensional arrays in annotations)
null if none existsboolean isDefault()
true iff this member value pair's value is the default value.
Returns false otherwise.
|
Eclipse JDT Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||