class ThriftUtils {

    public static String generateMethodArgsClassNameThrift(String serviceName, String methodName) {

        int index = serviceName.indexOf("$");

        if (index > 0) {
            return new StringBuilder(32)
                    .append(serviceName, 0, index + 1)
                    .append(methodName)
                    .append("_args")
                    .toString();
        }

        return null;

    }

}