void (@NotNull ValidationVisitor validationStrategy, DeclarationDescriptor descriptor) { DiagnosticCollectorForTests collector = new DiagnosticCollectorForTests(); validate(validationStrategy, descriptor, collector); collector.done(); }