org.eclipse.gmt.modisco.java
Interface MethodDeclaration

All Superinterfaces:
AbstractMethodDeclaration, ASTNode, BodyDeclaration, NamedElement
All Known Subinterfaces:
UnresolvedMethodDeclaration

public interface MethodDeclaration
extends AbstractMethodDeclaration

A representation of the model object 'Method Declaration'.

The following features are supported:

See Also:
JavaPackage.getMethodDeclaration()
Generated:
Model:

Method Summary
 int getExtraArrayDimensions()
          Returns the value of the 'Extra Array Dimensions' attribute.
 MethodDeclaration getRedefinedMethodDeclaration()
          Returns the value of the 'Redefined Method Declaration' reference.
  getRedefinitions()
          Returns the value of the 'Redefinitions' reference list.
 TypeAccess getReturnType()
          Returns the value of the 'Return Type' containment reference.
 void setExtraArrayDimensions(int value)
          Sets the value of the 'Extra Array Dimensions' attribute.
 void setRedefinedMethodDeclaration(MethodDeclaration value)
          Sets the value of the 'Redefined Method Declaration' reference.
 void setReturnType(TypeAccess value)
          Sets the value of the 'Return Type' containment reference.
 
Methods inherited from interface org.eclipse.gmt.modisco.java.AbstractMethodDeclaration
getBody, getParameters, getThrownExceptions, getTypeParameters, getUsages, getUsagesInDocComments, setBody
 
Methods inherited from interface org.eclipse.gmt.modisco.java.BodyDeclaration
getAbstractTypeDeclaration, getAnnotations, getAnonymousClassDeclarationOwner, getModifier, setAbstractTypeDeclaration, setAnonymousClassDeclarationOwner, setModifier
 
Methods inherited from interface org.eclipse.gmt.modisco.java.NamedElement
getName, getUsagesInImports, isProxy, setName, setProxy
 
Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnit
 

Method Detail

getExtraArrayDimensions

int getExtraArrayDimensions()
Returns the value of the 'Extra Array Dimensions' attribute.

If the meaning of the 'Extra Array Dimensions' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Extra Array Dimensions' attribute.
See Also:
setExtraArrayDimensions(int), JavaPackage.getMethodDeclaration_ExtraArrayDimensions()
Generated:
Model:
unique="false" required="true" ordered="false"

setExtraArrayDimensions

void setExtraArrayDimensions(int value)
Sets the value of the 'Extra Array Dimensions' attribute.

Parameters:
value - the new value of the 'Extra Array Dimensions' attribute.
See Also:
getExtraArrayDimensions()
Generated:

getReturnType

TypeAccess getReturnType()
Returns the value of the 'Return Type' containment reference.

If the meaning of the 'Return Type' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Return Type' containment reference.
See Also:
setReturnType(TypeAccess), JavaPackage.getMethodDeclaration_ReturnType()
Generated:
Model:
containment="true" ordered="false"

setReturnType

void setReturnType(TypeAccess value)
Sets the value of the 'Return Type' containment reference.

Parameters:
value - the new value of the 'Return Type' containment reference.
See Also:
getReturnType()
Generated:

getRedefinedMethodDeclaration

MethodDeclaration getRedefinedMethodDeclaration()
Returns the value of the 'Redefined Method Declaration' reference. It is bidirectional and its opposite is 'Redefinitions'.

If the meaning of the 'Redefined Method Declaration' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Redefined Method Declaration' reference.
See Also:
setRedefinedMethodDeclaration(MethodDeclaration), JavaPackage.getMethodDeclaration_RedefinedMethodDeclaration(), getRedefinitions()
Generated:
Model:
opposite="redefinitions" ordered="false"

setRedefinedMethodDeclaration

void setRedefinedMethodDeclaration(MethodDeclaration value)
Sets the value of the 'Redefined Method Declaration' reference.

Parameters:
value - the new value of the 'Redefined Method Declaration' reference.
See Also:
getRedefinedMethodDeclaration()
Generated:

getRedefinitions

 getRedefinitions()
Returns the value of the 'Redefinitions' reference list. The list contents are of type MethodDeclaration. It is bidirectional and its opposite is 'Redefined Method Declaration'.

If the meaning of the 'Redefinitions' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Redefinitions' reference list.
See Also:
JavaPackage.getMethodDeclaration_Redefinitions(), getRedefinedMethodDeclaration()
Generated:
Model:
opposite="redefinedMethodDeclaration" ordered="false"