private TransformContext updateContextIfNecessary(TransformContext context) {
        ObjectNode original = context.getSettings();

        if (!original.getMember(ARGS).isPresent()) {
            return context;
        }

        LOGGER.warning(() -> String.format(
                "Deprecated projection transform arguments detected for `%s`; change this list of strings "
                        + "to an object with a property named `%s`",
                getName(),
                getBackwardCompatibleNameMapping()));

        ObjectNode updated = original.toBuilder()
                .withMember(getBackwardCompatibleNameMapping(), original.getMember(ARGS).get())
                .withoutMember(ARGS)
                .build();

        return context.toBuilder().settings(updated).build();
    }
Gets the name that "__args" is to be rewritten to.

@return Returns the name to rewrite.
smithy-build/src/main/java/software/amazon/smithy/build/transforms/BackwardCompatHelper.java