Interface LambdaExpression
- All Superinterfaces:
ArrayInitializationValue,Commentable,EObject,Expression,LambdaBody,Notifier
- All Known Implementing Classes:
LambdaExpressionImpl
A representation of the model object 'Lambda Expression'.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Method Summary
Modifier and TypeMethodDescriptionbooleandoesLambdaMatchFunctionalInterface(Interface functionalInterface) getBody()Returns the value of the 'Body' containment reference.Returns the value of the 'Parameters' containment reference.getReturnType(Type potentialReturnType) voidsetBody(LambdaBody value) Sets the value of the 'Body' containment reference.voidsetParameters(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, getStringClassMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.emftext.language.java.expressions.Expression
getAlternativeType, getArrayDimension, getOneType, getOneTypeReference, getTypeMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getParameters
LambdaParameters getParameters()Returns the value of the 'Parameters' containment reference.- Returns:
- the value of the 'Parameters' containment reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true" required="true"
-
setParameters
Sets the value of the 'Parameters' containment reference.- Parameters:
value- the new value of the 'Parameters' containment reference.- See Also:
- 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:
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true" required="true"
-
setBody
Sets the value of the 'Body' containment reference.- Parameters:
value- the new value of the 'Body' containment reference.- See Also:
- Generated class or method.
-
doesLambdaMatchFunctionalInterface
- Generated class or method.
- EMF model class or method.
- required="true" functionalInterfaceRequired="true"
-
getReturnType
- Generated class or method.
- EMF model class or method.
-