A method and apparatus is provided for annotation-based behavior
extensions. A primary contributor is identified based on a first
attribute. Behaviors from a secondary contributor are linked to the
primary contributor once a second attribute is examined. Finally, one or
more files are generated using the linked behaviors from the primary and
secondary contributors.