ControllerRestTransformer (Grails 2.3.8)
Date: 2014-04-24

Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.groovy.grails.compiler.web.rest
[Groovy] Class ControllerRestTransformer

    java.lang.Object
      org.codehaus.groovy.grails.compiler.injection.AbstractGrailsArtefactTransformer
          org.codehaus.groovy.grails.compiler.web.rest.ControllerRestTransformer

    @groovy.transform.CompileStatic
    @AstTransformer
    class ControllerRestTransformer
    extends AbstractGrailsArtefactTransformer

Adds the methods from ControllersRestApi to all controllers

Authors:
  Graeme Rocher

Since:
  2.3

Field Summary

Fields inherited from class AbstractGrailsArtefactTransformer
CURRENT_PREFIX, METHOD_MISSING_METHOD_NAME, OBJECT_CLASS, PUBLIC_STATIC_MODIFIER, STATIC_METHOD_MISSING_METHOD_NAME

Method Summary
`java.lang.String` | `getArtefactType()`
`java.lang.Class` | `getInstanceImplementation()`
`protected org.codehaus.groovy.ast.AnnotationNode` | `getMarkerAnnotation()`
`java.lang.Class` | `getStaticImplementation()`
`boolean` | `shouldInject(java.net.URL url)`

Methods inherited from class AbstractGrailsArtefactTransformer
addApiLookupFieldAndSetter, addDelegateInstanceMethod, addDelegateStaticMethod, addEnhancedAnnotation, compareTo, getArtefactType, getArtefactTypes, getInstanceImplementation, getMarkerAnnotation, getStaticImplementation, hasArtefactAnnotation, isCandidateInstanceMethod, isStaticCandidateMethod, isStaticMethodExcluded, isStaticMethodIncluded, isValidArtefactType, isValidTargetClassNode, performInjection, performInjection, performInjectionInternal, performInjectionOnAnnotatedClass, performInjectionOnAnnotatedClass, performInstanceImplementationInjection, performStaticImplementationInjection, populateAutowiredApiLookupMethod, populateDefaultApiLookupMethod, requiresAutowiring, requiresStaticLookupMethod, resolveGenericsPlaceHolders, shouldSkipInjection

Methods inherited from 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

### getArtefactType

    @java.lang.Override
    java.lang.String getArtefactType()

### getInstanceImplementation

    @java.lang.Override
    java.lang.Class getInstanceImplementation()

### getMarkerAnnotation

    @java.lang.Override
    protected org.codehaus.groovy.ast.AnnotationNode getMarkerAnnotation()

### getStaticImplementation

    @java.lang.Override
    java.lang.Class getStaticImplementation()

### shouldInject

    boolean shouldInject(java.net.URL url)

Groovy Documentation