EnhancesTraitTransformation (Grails 3.3.3)
Date: 2018-03-07

Package: org.grails.compiler.injection

## [Groovy] Class EnhancesTraitTransformation

- org.grails.compiler.injection.EnhancesTraitTransformation

- All Implemented Interfaces and Traits:
    groovy.transform.CompilationUnitAware

      @org.codehaus.groovy.transform.GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION)
      @groovy.transform.CompileStatic
      class EnhancesTraitTransformation
      extends AbstractArtefactTypeAstTransformation

  Implementation for {

  link:
    Enhances
  Authors:
    Graeme Rocher
  Since:
    3.0

- - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `org.codehaus.groovy.control.CompilationUnit` | `compilationUnit`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `boolean` | `isTrait(org.codehaus.groovy.ast.ClassNode cNode)`
    `` | `void` | `visit(org.codehaus.groovy.ast.ASTNode[] astNodes, org.codehaus.groovy.control.SourceUnit source)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class AbstractArtefactTypeAstTransformation` | `performInjectionOnArtefactType`
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()`

- - ### Property Detail

    - #### org.codehaus.groovy.control.CompilationUnit compilationUnit

  - ### Method Detail

    - #### boolean isTrait(org.codehaus.groovy.ast.ClassNode cNode)

    - #### @java.lang.Override void visit(org.codehaus.groovy.ast.ASTNode[] astNodes, org.codehaus.groovy.control.SourceUnit source)