minor refactor: slightly earlier return for some AST transform validation checks
GROOVY-6692: Give access to the proxied object from trait proxies
First pass in implementation of stackable traits
Stackable traits: add compatibility with @CompileStatic on traits