|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Attribute
Attributes are either represented by fields ('foo') or properties/method pairs ('getFoo()'/'setFoo()'). Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is 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. This interface is not intended to be implemented by clients.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.jpt.core.utility.jdt.Member |
---|
Member.Editor |
Method Summary | |
---|---|
java.lang.String |
getAttributeName()
Return the attribute's name, as opposed to the member's name (e.g. |
org.eclipse.jdt.core.dom.ITypeBinding |
getTypeBinding(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the type binding for the attribute's declared type, as opposed to its declaring type. |
boolean |
isField()
Return whether the attribute is a field. |
boolean |
isMethod()
Return whether the attribute is a property/method pair. |
Methods inherited from interface org.eclipse.jpt.core.utility.jdt.Member |
---|
edit, getBinding, getBodyDeclaration, getModifiedDeclaration, getModifiedDeclaration, getNameTextRange, isPersistable, matches |
Method Detail |
---|
java.lang.String getAttributeName()
org.eclipse.jdt.core.dom.ITypeBinding getTypeBinding(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
boolean isField()
boolean isMethod()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |