org.eclipse.gmt.modisco.java
Interface BodyDeclaration

All Superinterfaces:
ASTNode, NamedElement
All Known Subinterfaces:
AbstractMethodDeclaration, AbstractTypeDeclaration, AnnotationTypeDeclaration, AnnotationTypeMemberDeclaration, ClassDeclaration, ConstructorDeclaration, EnumConstantDeclaration, EnumDeclaration, FieldDeclaration, Initializer, InterfaceDeclaration, MethodDeclaration, TypeDeclaration, UnresolvedAnnotationDeclaration, UnresolvedAnnotationTypeMemberDeclaration, UnresolvedClassDeclaration, UnresolvedEnumDeclaration, UnresolvedInterfaceDeclaration, UnresolvedMethodDeclaration, UnresolvedTypeDeclaration

public interface BodyDeclaration
extends NamedElement

A representation of the model object 'Body Declaration'.

The following features are supported:

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

Method Summary
 AbstractTypeDeclaration getAbstractTypeDeclaration()
          Returns the value of the 'Abstract Type Declaration' container reference.
  getAnnotations()
          Returns the value of the 'Annotations' containment reference list.
 AnonymousClassDeclaration getAnonymousClassDeclarationOwner()
          Returns the value of the 'Anonymous Class Declaration Owner' container reference.
 Modifier getModifier()
          Returns the value of the 'Modifier' containment reference.
 void setAbstractTypeDeclaration(AbstractTypeDeclaration value)
          Sets the value of the 'Abstract Type Declaration' container reference.
 void setAnonymousClassDeclarationOwner(AnonymousClassDeclaration value)
          Sets the value of the 'Anonymous Class Declaration Owner' container reference.
 void setModifier(Modifier value)
          Sets the value of the 'Modifier' containment reference.
 
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

getAbstractTypeDeclaration

AbstractTypeDeclaration getAbstractTypeDeclaration()
Returns the value of the 'Abstract Type Declaration' container reference. It is bidirectional and its opposite is 'Body Declarations'.

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

Returns:
the value of the 'Abstract Type Declaration' container reference.
See Also:
setAbstractTypeDeclaration(AbstractTypeDeclaration), JavaPackage.getBodyDeclaration_AbstractTypeDeclaration(), AbstractTypeDeclaration.getBodyDeclarations()
Generated:
Model:
opposite="bodyDeclarations" transient="false" ordered="false"

setAbstractTypeDeclaration

void setAbstractTypeDeclaration(AbstractTypeDeclaration value)
Sets the value of the 'Abstract Type Declaration' container reference.

Parameters:
value - the new value of the 'Abstract Type Declaration' container reference.
See Also:
getAbstractTypeDeclaration()
Generated:

getAnnotations

 getAnnotations()
Returns the value of the 'Annotations' containment reference list. The list contents are of type Annotation.

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

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

getAnonymousClassDeclarationOwner

AnonymousClassDeclaration getAnonymousClassDeclarationOwner()
Returns the value of the 'Anonymous Class Declaration Owner' container reference. It is bidirectional and its opposite is 'Body Declarations'.

If the meaning of the 'Anonymous Class Declaration Owner' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Anonymous Class Declaration Owner' container reference.
See Also:
setAnonymousClassDeclarationOwner(AnonymousClassDeclaration), JavaPackage.getBodyDeclaration_AnonymousClassDeclarationOwner(), AnonymousClassDeclaration.getBodyDeclarations()
Generated:
Model:
opposite="bodyDeclarations" transient="false" ordered="false"

setAnonymousClassDeclarationOwner

void setAnonymousClassDeclarationOwner(AnonymousClassDeclaration value)
Sets the value of the 'Anonymous Class Declaration Owner' container reference.

Parameters:
value - the new value of the 'Anonymous Class Declaration Owner' container reference.
See Also:
getAnonymousClassDeclarationOwner()
Generated:

getModifier

Modifier getModifier()
Returns the value of the 'Modifier' containment reference. It is bidirectional and its opposite is 'Body Declaration'.

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

Returns:
the value of the 'Modifier' containment reference.
See Also:
setModifier(Modifier), JavaPackage.getBodyDeclaration_Modifier(), Modifier.getBodyDeclaration()
Generated:
Model:
opposite="bodyDeclaration" containment="true" ordered="false"

setModifier

void setModifier(Modifier value)
Sets the value of the 'Modifier' containment reference.

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