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