Interface LambdaExpression
-
- All Superinterfaces:
ArrayInitializationValue
,Commentable
,EObject
,Expression
,LambdaBody
,Notifier
- All Known Implementing Classes:
LambdaExpressionImpl
public interface LambdaExpression extends Expression
A representation of the model object 'Lambda Expression'.The following features are supported:
- See Also:
ExpressionsPackage.getLambdaExpression()
- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
doesLambdaMatchFunctionalInterface(Interface functionalInterface)
LambdaBody
getBody()
Returns the value of the 'Body' containment reference.LambdaParameters
getParameters()
Returns the value of the 'Parameters' containment reference.Type
getReturnType(Type potentialReturnType)
void
setBody(LambdaBody value)
Sets the value of the 'Body
' containment reference.void
setParameters(LambdaParameters value)
Sets the value of the 'Parameters
' containment reference.-
Methods inherited from interface org.emftext.language.java.commons.Commentable
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClass
-
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.emftext.language.java.expressions.Expression
getAlternativeType, getArrayDimension, getOneType, getOneTypeReference, getType
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
getParameters
LambdaParameters getParameters()
Returns the value of the 'Parameters' containment reference.- Returns:
- the value of the 'Parameters' containment reference.
- See Also:
setParameters(LambdaParameters)
,ExpressionsPackage.getLambdaExpression_Parameters()
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true" required="true"
-
setParameters
void setParameters(LambdaParameters value)
Sets the value of the 'Parameters
' containment reference.- Parameters:
value
- the new value of the 'Parameters' containment reference.- See Also:
getParameters()
- Generated class or method.
-
getBody
LambdaBody getBody()
Returns the value of the 'Body' containment reference.- Returns:
- the value of the 'Body' containment reference.
- See Also:
setBody(LambdaBody)
,ExpressionsPackage.getLambdaExpression_Body()
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true" required="true"
-
setBody
void setBody(LambdaBody value)
Sets the value of the 'Body
' containment reference.- Parameters:
value
- the new value of the 'Body' containment reference.- See Also:
getBody()
- Generated class or method.
-
doesLambdaMatchFunctionalInterface
boolean doesLambdaMatchFunctionalInterface(Interface functionalInterface)
- Generated class or method.
- EMF model class or method.
- required="true" functionalInterfaceRequired="true"
-
-