Computer apparatus and method for detecting patterns in structured models, obtains a pattern specification of a subject pattern. The pattern specification (a) defines the subject pattern as a meta-class in a target domain, and (b) specifies one or more pattern roles as meta-properties of the subject pattern. Using the pattern specification, the pattern detector navigates user models, each user model having respective model elements. Through said navigating, the pattern detector looks for structures of model elements that fulfill the pattern roles. The pattern detector indicates conforming pattern instances as detected instances of the subject pattern.