This work introduces a novel approach to keep high-level component-based architecture models
consistent with source code during software development and software evolution. The approach
helps to avoid architecture drift and architecture erosion which are two well-known problems
that can arise during development and maintenance of a software system. In particular the
presented approach can be used to keep instances of the Palladio Component Model (PCM)
consistent with Java source code.