@CompileStatic @GroovyASTTransformation(phase: CompilePhase.CANONICALIZATION) class AuthoritiesTransformation extends java.lang.Object implements ASTTransformation
See http://burtbeckwith.com/blog/?p=1398 for the motivation for this.
| Constructor and description |
|---|
AuthoritiesTransformation() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected AnnotationNode |
buildAnnotationNode(java.lang.String[] authorityNames) |
|
protected AnnotationNode |
createAnnotation(AnnotationNode rolesNode, SourceUnit sourceUnit) |
|
protected java.lang.String[] |
getAuthorityNames(java.lang.String fieldName, AnnotationNode rolesNode, SourceUnit sourceUnit) |
|
protected void |
reportError(java.lang.String message, SourceUnit sourceUnit, ASTNode node) |
|
void |
visit(ASTNode[] astNodes, SourceUnit sourceUnit) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |