/// Interface for objects that validate when resolved. abstract class ValidatesWhenResolved { /// Validate the given class instance. void validateResolved(); }