if(call instanceof XMemberFeatureCall)
isExtension = ((XMemberFeatureCall) call).getMemberCallTarget() != null;
boolean isSetter = false;
if(call instanceof XAssignment)
isSetter = true;
<BUG>createNewXtendFunction(elementName, appendable.toString(), isExtension, isSetter,expectedType, issue, issueResolutionAcceptor, modificationContext);

if (expectedType != null && expectedType.getType() != null && explicitArguments.size() == 0){

createNewXtendField(elementName, expectedType, issue, issueResolutionAcceptor, modificationContext);

createNewLocalVariable(elementName, expectedType, issue, issueResolutionAcceptor, modificationContext);

}</BUG>
}

if(call instanceof XMemberFeatureCall)
isExtension = ((XMemberFeatureCall) call).getMemberCallTarget() != null;
boolean isSetter = false;
if(call instanceof XAssignment)
isSetter = true;
createNewXtendFunction(elementName, appendable.toString(), isExtension, isSetter, resolvedExpectedType, issue, issueResolutionAcceptor, modificationContext);
if (resolvedExpectedType != null && resolvedExpectedType.getType() != null && explicitArguments.size() == 0){
ICompositeNode callNode = NodeModelUtils.getNode(call);
if(callNode != null && !callNode.getText().endsWith(")")){
createNewXtendField(elementName, resolvedExpectedType, issue, issueResolutionAcceptor, modificationContext);
createNewLocalVariable(elementName, resolvedExpectedType, issue, issueResolutionAcceptor, modificationContext);
