Refactoring regarding transforming type references into their generated
counterparts.

Some points not resolved yet:

- EL access to AV behaves differently
- "required" is switched off due to several issues (f.e. Object has no
trigger annotation, but is in many cases the default)
- to much for ElementExtensions?
- in shadow annotation: original or transformed types?
- ...