class SimpleViolation implements Violation {

    public static SimpleViolation fromReported(final Violation violation) {
        Severity severity = violation.getSeverity();
        String description = violation.getDescription();
        List<PackageId> packages = new ArrayList<>(violation.getPackages());
        return new SimpleViolation(severity, description, packages);
    }

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

}