@Override
    public String inferBinaryName(Location location, JavaFileObject file) {
        if (file instanceof UrlJavaFileObject) {
            UrlJavaFileObject urlFile = (UrlJavaFileObject) file;
            return urlFile.getBinaryName();
        } else {
            return super.inferBinaryName(location, file);
        }
    }