@Override
    public String translateName(Member member) {
      return gson.fieldNamingStrategy().translateName((Field) member);
    }
Uses {@link Gson#fieldNamingStrategy()} to translate names.
mongo/src/org/immutables/mongo/repository/RepositorySetup.java