org.eclipse.xtext.xtend2.xtend2
Interface XtendFunction

All Superinterfaces:
org.eclipse.emf.ecore.EObject, JvmIdentifiableElement, JvmTypeParameterDeclarator, org.eclipse.emf.common.notify.Notifier, XtendAnnotationTarget, XtendMember
All Known Implementing Classes:
XtendFunctionImpl, XtendFunctionImplCustom

public interface XtendFunction
extends XtendMember, JvmTypeParameterDeclarator, JvmIdentifiableElement

A representation of the model object 'Xtend Function'.

The following features are supported:

See Also:
Xtend2Package.getXtendFunction()
EMF generated code
EMF model element

Method Summary
 CreateExtensionInfo getCreateExtensionInfo()
          Returns the value of the 'Create Extension Info' containment reference
 XExpression getExpression()
          Returns the value of the 'Expression' containment reference
 java.lang.String getName()
          Returns the value of the 'Name' attribute
 org.eclipse.emf.common.util.EList<XtendParameter> getParameters()
          Returns the value of the 'Parameters' containment reference list.
 JvmTypeReference getReturnType()
          Returns the value of the 'Return Type' containment reference
 boolean isDispatch()
          Returns the value of the 'Dispatch' attribute
 boolean isOverride()
          Returns the value of the 'Override' attribute
 void setCreateExtensionInfo(CreateExtensionInfo value)
          Sets the value of the 'Create Extension Info' containment reference
 void setDispatch(boolean value)
          Sets the value of the 'Dispatch' attribute
 void setExpression(XExpression value)
          Sets the value of the 'Expression' containment reference
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute
 void setOverride(boolean value)
          Sets the value of the 'Override' attribute
 void setReturnType(JvmTypeReference value)
          Sets the value of the 'Return Type' containment reference
 
Methods inherited from interface org.eclipse.xtext.xtend2.xtend2.XtendMember
getAnnotationInfo, setAnnotationInfo
 
Methods inherited from interface org.eclipse.xtext.xtend2.xtend2.XtendAnnotationTarget
getAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmTypeParameterDeclarator
getTypeParameters
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmIdentifiableElement
getIdentifier, getQualifiedName, getQualifiedName, getSimpleName
 

Method Detail

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

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

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), Xtend2Package.getXtendFunction_Name()
EMF generated code
EMF model element

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()
EMF generated code

getExpression

XExpression getExpression()
Returns the value of the 'Expression' containment reference.

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

Returns:
the value of the 'Expression' containment reference.
See Also:
setExpression(XExpression), Xtend2Package.getXtendFunction_Expression()
EMF generated code
EMF model element
containment="true"

setExpression

void setExpression(XExpression value)
Sets the value of the 'Expression' containment reference.

Parameters:
value - the new value of the 'Expression' containment reference.
See Also:
getExpression()
EMF generated code

getReturnType

JvmTypeReference 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(JvmTypeReference), Xtend2Package.getXtendFunction_ReturnType()
EMF generated code
EMF model element
containment="true"

setReturnType

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

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

getParameters

org.eclipse.emf.common.util.EList<XtendParameter> getParameters()
Returns the value of the 'Parameters' containment reference list. The list contents are of type XtendParameter.

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:
Xtend2Package.getXtendFunction_Parameters()
EMF generated code
EMF model element
containment="true"

isOverride

boolean isOverride()
Returns the value of the 'Override' attribute.

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

Returns:
the value of the 'Override' attribute.
See Also:
setOverride(boolean), Xtend2Package.getXtendFunction_Override()
EMF generated code
EMF model element

setOverride

void setOverride(boolean value)
Sets the value of the 'Override' attribute.

Parameters:
value - the new value of the 'Override' attribute.
See Also:
isOverride()
EMF generated code

isDispatch

boolean isDispatch()
Returns the value of the 'Dispatch' attribute.

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

Returns:
the value of the 'Dispatch' attribute.
See Also:
setDispatch(boolean), Xtend2Package.getXtendFunction_Dispatch()
EMF generated code
EMF model element

setDispatch

void setDispatch(boolean value)
Sets the value of the 'Dispatch' attribute.

Parameters:
value - the new value of the 'Dispatch' attribute.
See Also:
isDispatch()
EMF generated code

getCreateExtensionInfo

CreateExtensionInfo getCreateExtensionInfo()
Returns the value of the 'Create Extension Info' containment reference.

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

Returns:
the value of the 'Create Extension Info' containment reference.
See Also:
setCreateExtensionInfo(CreateExtensionInfo), Xtend2Package.getXtendFunction_CreateExtensionInfo()
EMF generated code
EMF model element
containment="true"

setCreateExtensionInfo

void setCreateExtensionInfo(CreateExtensionInfo value)
Sets the value of the 'Create Extension Info' containment reference.

Parameters:
value - the new value of the 'Create Extension Info' containment reference.
See Also:
getCreateExtensionInfo()
EMF generated code