use of org.eclipse.xtend.core.macro.declaration.XtendParameterDeclarationImpl in project xtext-xtend by eclipse.
the class CompilationUnitImpl method toXtendParameterDeclaration.
public XtendParameterDeclarationImpl toXtendParameterDeclaration(final XtendParameter delegate) {
final Function1<XtendParameter, XtendParameterDeclarationImpl> _function = (XtendParameter it) -> {
XtendParameterDeclarationImpl _xtendParameterDeclarationImpl = new XtendParameterDeclarationImpl();
final Procedure1<XtendParameterDeclarationImpl> _function_1 = (XtendParameterDeclarationImpl it_1) -> {
it_1.setDelegate(delegate);
it_1.setCompilationUnit(this);
};
return ObjectExtensions.<XtendParameterDeclarationImpl>operator_doubleArrow(_xtendParameterDeclarationImpl, _function_1);
};
return this.<XtendParameter, XtendParameterDeclarationImpl>getOrCreate(delegate, _function);
}
Aggregations