blob: ab17944ef26bf01580823a0cc54b6ca98da7d70e [file] [log] [blame]
/**
* *******************************************************************************
* Copyright (c) 2009, 2019 Mia-Software and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
*
* Sebastien Minguet (Mia-Software) - initial API and implementation
* Frederic Madiot (Mia-Software) - initial API and implementation
* Fabien Giquel (Mia-Software) - initial API and implementation
* Gabriel Barbier (Mia-Software) - initial API and implementation
* Erwan Breton (Sodifrance) - initial API and implementation
* Romain Dervaux (Mia-Software) - initial API and implementation
* *******************************************************************************
*
* $Id$
*/
package org.eclipse.modisco.java;
import org.eclipse.emf.common.util.EList;
import org.eclipse.modisco.java.AbstractMethodDeclaration;
import org.eclipse.modisco.java.MethodDeclaration;
import org.eclipse.modisco.java.TypeAccess;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Method Declaration</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.modisco.java.MethodDeclaration#getExtraArrayDimensions <em>Extra Array Dimensions</em>}</li>
* <li>{@link org.eclipse.modisco.java.MethodDeclaration#getReturnType <em>Return Type</em>}</li>
* <li>{@link org.eclipse.modisco.java.MethodDeclaration#getRedefinedMethodDeclaration <em>Redefined Method Declaration</em>}</li>
* <li>{@link org.eclipse.modisco.java.MethodDeclaration#getRedefinitions <em>Redefinitions</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.modisco.java.emf.JavaPackage#getMethodDeclaration()
* @model
* @generated
*/
public interface MethodDeclaration extends AbstractMethodDeclaration {
/**
* Returns the value of the '<em><b>Extra Array Dimensions</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Extra Array Dimensions</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Extra Array Dimensions</em>' attribute.
* @see #setExtraArrayDimensions(int)
* @see org.eclipse.modisco.java.emf.JavaPackage#getMethodDeclaration_ExtraArrayDimensions()
* @model unique="false" required="true" ordered="false"
* @generated
*/
int getExtraArrayDimensions();
/**
* Sets the value of the '{@link org.eclipse.modisco.java.MethodDeclaration#getExtraArrayDimensions <em>Extra Array Dimensions</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Extra Array Dimensions</em>' attribute.
* @see #getExtraArrayDimensions()
* @generated
*/
void setExtraArrayDimensions(int value);
/**
* Returns the value of the '<em><b>Return Type</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Return Type</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Return Type</em>' containment reference.
* @see #setReturnType(TypeAccess)
* @see org.eclipse.modisco.java.emf.JavaPackage#getMethodDeclaration_ReturnType()
* @model containment="true" ordered="false"
* @generated
*/
TypeAccess getReturnType();
/**
* Sets the value of the '{@link org.eclipse.modisco.java.MethodDeclaration#getReturnType <em>Return Type</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Return Type</em>' containment reference.
* @see #getReturnType()
* @generated
*/
void setReturnType(TypeAccess value);
/**
* Returns the value of the '<em><b>Redefined Method Declaration</b></em>' reference.
* It is bidirectional and its opposite is '{@link org.eclipse.modisco.java.MethodDeclaration#getRedefinitions <em>Redefinitions</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Redefined Method Declaration</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Redefined Method Declaration</em>' reference.
* @see #setRedefinedMethodDeclaration(MethodDeclaration)
* @see org.eclipse.modisco.java.emf.JavaPackage#getMethodDeclaration_RedefinedMethodDeclaration()
* @see org.eclipse.modisco.java.MethodDeclaration#getRedefinitions
* @model opposite="redefinitions" ordered="false"
* @generated
*/
MethodDeclaration getRedefinedMethodDeclaration();
/**
* Sets the value of the '{@link org.eclipse.modisco.java.MethodDeclaration#getRedefinedMethodDeclaration <em>Redefined Method Declaration</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Redefined Method Declaration</em>' reference.
* @see #getRedefinedMethodDeclaration()
* @generated
*/
void setRedefinedMethodDeclaration(MethodDeclaration value);
/**
* Returns the value of the '<em><b>Redefinitions</b></em>' reference list.
* The list contents are of type {@link org.eclipse.modisco.java.MethodDeclaration}.
* It is bidirectional and its opposite is '{@link org.eclipse.modisco.java.MethodDeclaration#getRedefinedMethodDeclaration <em>Redefined Method Declaration</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Redefinitions</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Redefinitions</em>' reference list.
* @see org.eclipse.modisco.java.emf.JavaPackage#getMethodDeclaration_Redefinitions()
* @see org.eclipse.modisco.java.MethodDeclaration#getRedefinedMethodDeclaration
* @model opposite="redefinedMethodDeclaration" ordered="false"
* @generated
*/
EList<MethodDeclaration> getRedefinitions();
} // MethodDeclaration