void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { if (myEquality) { applyEqualityFix(element); } else { PsiMethodCallExpression call = tryCast(element.getParent().getParent(), PsiMethodCallExpression.class); if (call == null) return; PsiExpression[] args = call.getArgumentList().getExpressions(); if (args.length != 2) return; ExpressionUtils.bindCallTo(call, "charAt"); new CommentTracker().deleteAndRestoreComments(args[1]); } }