org.eclipse.jpt.core.utility.jdt
Interface MethodAttribute

All Superinterfaces:
Attribute, Member

public interface MethodAttribute
extends Attribute

Property attribute: just some covariant overrides. 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
 org.eclipse.jdt.core.dom.IMethodBinding getBinding(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
          Covariant override.
 org.eclipse.jdt.core.dom.MethodDeclaration getBodyDeclaration(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
          Covariant override.
 boolean matches(MethodSignature signature, int occurrence)
          This method must be used instead of Member#matches(String, int).
 
Methods inherited from interface org.eclipse.jpt.core.utility.jdt.Attribute
getAttributeName, getTypeBinding, isField, isMethod
 
Methods inherited from interface org.eclipse.jpt.core.utility.jdt.Member
edit, getModifiedDeclaration, getModifiedDeclaration, getNameTextRange, isPersistable, matches
 

Method Detail

getBinding

org.eclipse.jdt.core.dom.IMethodBinding getBinding(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Covariant override.

Specified by:
getBinding in interface Member

getBodyDeclaration

org.eclipse.jdt.core.dom.MethodDeclaration getBodyDeclaration(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Covariant override.

Specified by:
getBodyDeclaration in interface Member

matches

boolean matches(MethodSignature signature,
                int occurrence)
This method must be used instead of Member#matches(String, int).