Package org.codehaus.groovy.transform.trait
package org.codehaus.groovy.transform.trait
-
ClassDescriptionHandles generation of code for the traits (trait keyword is equivalent to using the @Trait annotation).This class contains a static utility method
TraitComposer.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.A collection of utility methods used to deal with traits.Internal annotation used to indicate which methods in a trait interface have a default implementation.Internal annotation used to indicate that a method is a bridge method to a trait default implementation.