class SimpleViolation implements Violation {

    @Override
    public boolean equals(final Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        SimpleViolation that = (SimpleViolation) o;
        return severity == that.severity &&
                Objects.equals(description, that.description) &&
                packages.equals(that.packages);
    }

    public  SimpleViolation(final Severity severity, final String description, final PackageId... packages);
    public  SimpleViolation(final Severity severity, final String description, final List<PackageId> packages);

}