code: public static String javaFileName(String soyNamespace, String fileName) {
      checkArgument(
          BaseUtils.isDottedIdentifier(soyNamespace),
          "%s is not a valid soy namspace name.",
          soyNamespace);
      return (CLASS_PREFIX + soyNamespace).replace('.', '/') + '/' + fileName;
    }
docs: Given the soy namespace and file name returns the path where the corresponding resource should
  be stored.