void (final GrClosureSignatureUtil.ArgInfo<PsiElement>[] actualArgs, IntList parametersToRemove) { parametersToRemove.forEach((IntConsumer)paramNum -> { try { final GrClosureSignatureUtil.ArgInfo<PsiElement> actualArg = actualArgs[paramNum]; if (actualArg == null) { return; } for (PsiElement arg : actualArg.args) { arg.delete(); } } catch (IncorrectOperationException e) { LOG.error(e); } }); }