<commit_before>package com.github.blindpirate.gogradle.core.dependency;

import java.io.File;
import java.util.Map;

public interface ResolvedDependency extends GolangDependency {

    /**
     * The update time of a dependency. It will be used in resolving package conflict.
     * Generally speaking, package with newest update time will win.
     *
     * @return the update time determined by the package. It may be the last modified time
     * of a file on filesystem or in scm.
     */
    long getUpdateTime();

    /**
     * Get transitive dependencies of this package.
     *
     * @return the transitive dependencies
     */
    GolangDependencySet getDependencies();

    Map<String, Object> toLockedNotation();

    void installTo(File targetDirectory);

    @Override
    default ResolvedDependency resolve() {
        return this;
    }
}<commit_msg>Add a method which allow ResolvedDependency to be formatted properly<commit_after>package com.github.blindpirate.gogradle.core.dependency;

import java.io.File;
import java.util.Map;

public interface ResolvedDependency extends GolangDependency {

    /**
     * The update time of a dependency. It will be used in resolving package conflict.
     * Generally speaking, package with newest update time will win.
     *
     * @return the update time determined by the package. It may be the last modified time
     * of a file on filesystem or in scm.
     */
    long getUpdateTime();

    /**
     * Get transitive dependencies of this package.
     *
     * @return the transitive dependencies
     */
    GolangDependencySet getDependencies();

    Map<String, Object> toLockedNotation();

    void installTo(File targetDirectory);

    String formatVersion();

    @Override
    default ResolvedDependency resolve() {
        return this;
    }
}
{'fraction_non_alphanumeric': 0.07315731573157316, 'fraction_numerical': 0.0, 'mean_word_length': 3.0154525386313464, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1698768', 'n_tokens_mistral': 486, 'n_tokens_neox': 462, 'n_words': 177}