public class TraitInjectionUtils extends java.lang.Object
Modifiers | Name | Description |
---|---|---|
private static java.util.List<TraitInjector> |
traitInjectors |
Constructor and description |
---|
private TraitInjectionUtils
() |
Type Params | Return Type | Name and description |
---|---|---|
|
private static boolean |
addTrait(org.codehaus.groovy.ast.ClassNode classNode, java.lang.Class trait) |
|
private static void |
doInjectionInternal(org.codehaus.groovy.control.CompilationUnit unit, org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.ast.ClassNode classNode, java.util.List<TraitInjector> injectorsToUse) |
|
private static void |
extendTraits(org.codehaus.groovy.control.CompilationUnit unit, org.codehaus.groovy.control.SourceUnit source, org.codehaus.groovy.ast.ClassNode classNode) |
|
private static java.util.List<TraitInjector> |
getTraitInjectors() |
|
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) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), 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() |