final ASTConverter currConverter = addTypeParams(x, method);
SLinkOperations.setTarget(method, "returnType", currConverter.convertType(x.getReturnTypeNoResolve()), true);
ListSequence.fromList(SLinkOperations.getTargets(method, "parameter", true)).addSequence(Sequence.fromIterable(Sequence.fromArray(x.getParameterList().getParameters())).select(new ISelector<PsiParameter, SNode>() {
public SNode select(PsiParameter it) {
SNode param = SConceptOperations.createNewNode("jetbrains.mps.baseLanguage.structure.ParameterDeclaration", null);
<BUG>SPropertyOperations.set(param, "name", it.getName());
</BUG>
SLinkOperations.setTarget(param, "type", currConverter.convertType(it.getType()), true);
SPropertyOperations.set(param, "isFinal", "" + (isFinal(it)));
currConverter.addAnnotations(it, param);

final ASTConverter currConverter = addTypeParams(x, method);
SLinkOperations.setTarget(method, "returnType", currConverter.convertType(x.getReturnTypeNoResolve()), true);
ListSequence.fromList(SLinkOperations.getTargets(method, "parameter", true)).addSequence(Sequence.fromIterable(Sequence.fromArray(x.getParameterList().getParameters())).select(new ISelector<PsiParameter, SNode>() {
public SNode select(PsiParameter it) {
SNode param = SConceptOperations.createNewNode("jetbrains.mps.baseLanguage.structure.ParameterDeclaration", null);
SPropertyOperations.set(param, "name", "" + (it.getName()));
SLinkOperations.setTarget(param, "type", currConverter.convertType(it.getType()), true);
SPropertyOperations.set(param, "isFinal", "" + (isFinal(it)));
currConverter.addAnnotations(it, param);
