Resolve the inspiring class by its contract