void (StringBuilder builder, ExpressionContext context) { final GrReferenceExpression thisOrSuperKeyword = invocation.getInvokedExpression(); final GrArgumentList argumentList = invocation.getArgumentList(); final GroovyResolveResult resolveResult = invocation.advancedResolve(); if (thisOrSuperKeyword.getQualifier() == null) { builder.append(thisOrSuperKeyword.getReferenceName()); } else { writeExpression(thisOrSuperKeyword, builder, context); } new ArgumentListGenerator(builder, context).generate( GrClosureSignatureUtil.createSignature(resolveResult), argumentList.getExpressionArguments(), argumentList.getNamedArguments(), invocation.getClosureArguments(), invocation ); builder.append(';'); }