code: private File getCacheEntryFile(String name, byte[] digest, boolean createDirectory) {
      File entryDirectory = new File(directory, name.replace('.', '/'));
      if (createDirectory && !entryDirectory.isDirectory()) {
        entryDirectory.mkdirs();
      }
      return new File(entryDirectory, StringUtil.toHex(digest));
    }
docs: Gets the <code>File</code> in which to store the given class definition.
  @param name The fully qualified name of the class.
  @param digest The MD5 digest of the class definition.
  @param createDirectory A value indicating whether the directory
  containing the file should be created if it does not yet exist.
  @return The <code>File</code> to use for storing the cached class
  definition.