org.codehaus.groovy.transform.trait (Groovy 5.1.0)
Description: declaration: package: org.codehaus.groovy.transform.trait

# Package org.codehaus.groovy.transform.trait

package org.codehaus.groovy.transform.trait

- Related Packages
  Package
  Description
  org.codehaus.groovy.transform
  org.codehaus.groovy.transform.sc
  org.codehaus.groovy.transform.stc
  org.codehaus.groovy.transform.tailrec
- 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 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.
  Traits
  A collection of utility methods used to deal with traits.
  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.