TraitInjectionUtils (Grails 3.2.9)
Date: 2017-04-26

Package: org.grails.compiler.injection

## [Java] Class TraitInjectionUtils

- org.grails.compiler.injection.TraitInjectionUtils

- Authors:
    Jeff Brown
  Since:
    3.0

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `static void` | `injectTrait(org.codehaus.groovy.control.CompilationUnit unit, org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.ast.ClassNode classNode, java.lang.Class trait)`
    `` | `static void` | `processTraitsForNode(org.codehaus.groovy.control.SourceUnit sourceUnit, org.codehaus.groovy.ast.ClassNode cNode, java.lang.String artefactType, org.codehaus.groovy.control.CompilationUnit compilationUnit)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `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()`

- - ### Method Detail

    - #### public static void injectTrait(org.codehaus.groovy.control.CompilationUnit unit, org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.ast.ClassNode classNode, java.lang.Class trait)

    - #### public static void processTraitsForNode(org.codehaus.groovy.control.SourceUnit sourceUnit, org.codehaus.groovy.ast.ClassNode cNode, java.lang.String artefactType, org.codehaus.groovy.control.CompilationUnit compilationUnit)