Package org.codehaus.groovy.transform.trait
-
Class Summary Class Description TraitASTTransformation Handles generation of code for the traits (trait keyword is equivalent to using the @Trait annotation).TraitComposer This class contains a static utility methodTraitComposer.doExtendTraits(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.CompilationUnit)
aimed at generating code for a classnode implementing a trait.Traits A collection of utility methods used to deal with traits. -
Annotation Types Summary Annotation Type Description Traits.Implemented Internal annotation used to indicate which methods in a trait interface have a default implementation.Traits.TraitBridge Internal annotation used to indicate that a method is a bridge method to a trait default implementation.