Specification and analysis techniques in object-oriented methods