private List<StructuralChange<?>> getChanges(SchemaChange schemaChange, ChangeSeverity severity) {
return schemaChange.getSubChanges(new ChangeBySeverityFilter(severity));
}
private List<StructuralChange<?>> getRestrictions(SchemaChange schemaChange, SanityCheckVerdict verdict) {
return schemaChange.getSubChanges(new ChangeByVerdictFilter(verdict));
}