|
||||||||||
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.
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 |
---|
java.lang.String getName()
getName
in interface IBinding
IFunctionBinding getMethodBinding()
java.lang.Object getValue()
ITypeBinding
for the class objectIVariableBinding
for the enum constantIAnnotationBinding
Object[]
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |