final GoLiteralExpression expression = findParentOfType(element, GoLiteralExpression.class);
assertNotNull(expression);
assertInstanceOf(expression.getLiteral(), GoLiteralIdentifier.class);
GoFunctionDeclaration goFunctionDeclaration = GoExpressionUtils.resolveToFunctionDeclaration(expression);
assertNotNull(goFunctionDeclaration);
final GoPsiType type = goFunctionDeclaration.getParameters()[1].getType();
CommandProcessor.getInstance().executeCommand(project, new Runnable() {
@Override
public void run() {
new CastTypeFix(expression, GoTypes.fromPsi(type)).invoke(project, file, editor, expression, expression);