class JavaLibraryImpl extends LibraryImpl implements JavaLibrary, Serializable {

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        if (!super.equals(o)) {
            return false;
        }
        JavaLibraryImpl that = (JavaLibraryImpl) o;
        return Objects.equals(jarFile, that.jarFile) &&
                Objects.equals(dependencies, that.dependencies);
    }

    public  JavaLibraryImpl(
            @NonNull File jarFile,
            @Nullable String buildId,
            @Nullable String project,
            @NonNull List<JavaLibrary> dependencies,
            @Nullable MavenCoordinates requestedCoordinates,
            @NonNull MavenCoordinates resolvedCoordinates,
            boolean isSkipped,
            boolean isProvided);

}