org.eclipse.gmt.modisco.java
Interface AbstractMethodDeclaration

All Superinterfaces:
ASTNode, BodyDeclaration, NamedElement
All Known Subinterfaces:
ConstructorDeclaration, MethodDeclaration, UnresolvedMethodDeclaration

public interface AbstractMethodDeclaration
extends BodyDeclaration

A representation of the model object 'Abstract Method Declaration'.

The following features are supported:

See Also:
JavaPackage.getAbstractMethodDeclaration()
Generated:
Model:
abstract="true"

Method Summary
 Block getBody()
          Returns the value of the 'Body' containment reference.
  getParameters()
          Returns the value of the 'Parameters' containment reference list.
  getThrownExceptions()
          Returns the value of the 'Thrown Exceptions' containment reference list.
  getTypeParameters()
          Returns the value of the 'Type Parameters' containment reference list.
  getUsages()
          Returns the value of the 'Usages' reference list.
  getUsagesInDocComments()
          Returns the value of the 'Usages In Doc Comments' reference list.
 void setBody(Block value)
          Sets the value of the 'Body' containment reference.
 
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

getBody

Block getBody()
Returns the value of the 'Body' containment reference.

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

Returns:
the value of the 'Body' containment reference.
See Also:
setBody(Block), JavaPackage.getAbstractMethodDeclaration_Body()
Generated:
Model:
containment="true" ordered="false"

setBody

void setBody(Block value)
Sets the value of the 'Body' containment reference.

Parameters:
value - the new value of the 'Body' containment reference.
See Also:
getBody()
Generated:

getParameters

 getParameters()
Returns the value of the 'Parameters' containment reference list. The list contents are of type SingleVariableDeclaration. It is bidirectional and its opposite is 'Method Declaration'.

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

Returns:
the value of the 'Parameters' containment reference list.
See Also:
JavaPackage.getAbstractMethodDeclaration_Parameters(), SingleVariableDeclaration.getMethodDeclaration()
Generated:
Model:
opposite="methodDeclaration" containment="true"

getThrownExceptions

 getThrownExceptions()
Returns the value of the 'Thrown Exceptions' containment reference list. The list contents are of type TypeAccess.

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

Returns:
the value of the 'Thrown Exceptions' containment reference list.
See Also:
JavaPackage.getAbstractMethodDeclaration_ThrownExceptions()
Generated:
Model:
containment="true"

getTypeParameters

 getTypeParameters()
Returns the value of the 'Type Parameters' containment reference list. The list contents are of type TypeParameter.

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

Returns:
the value of the 'Type Parameters' containment reference list.
See Also:
JavaPackage.getAbstractMethodDeclaration_TypeParameters()
Generated:
Model:
containment="true"

getUsagesInDocComments

 getUsagesInDocComments()
Returns the value of the 'Usages In Doc Comments' reference list. The list contents are of type MethodRef. It is bidirectional and its opposite is 'Method'.

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

Returns:
the value of the 'Usages In Doc Comments' reference list.
See Also:
JavaPackage.getAbstractMethodDeclaration_UsagesInDocComments(), MethodRef.getMethod()
Generated:
Model:
opposite="method" ordered="false"

getUsages

 getUsages()
Returns the value of the 'Usages' reference list. The list contents are of type AbstractMethodInvocation. It is bidirectional and its opposite is 'Method'.

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

Returns:
the value of the 'Usages' reference list.
See Also:
JavaPackage.getAbstractMethodDeclaration_Usages(), AbstractMethodInvocation.getMethod()
Generated:
Model:
opposite="method" ordered="false"