org.codehaus.groovy.grails.compiler.web.converters
Class ConvertersDomainTransformer

java.lang.Object
  extended by org.codehaus.groovy.grails.compiler.injection.AbstractGrailsArtefactTransformer
      extended by org.codehaus.groovy.grails.compiler.web.converters.ConvertersDomainTransformer
All Implemented Interfaces:
java.lang.Comparable, org.codehaus.groovy.grails.compiler.injection.ClassInjector, org.codehaus.groovy.grails.compiler.injection.GrailsArtefactClassInjector

public class ConvertersDomainTransformer
extends org.codehaus.groovy.grails.compiler.injection.AbstractGrailsArtefactTransformer

Adds the asType method to domain classes.

Since:
2.0

Field Summary
 
Fields inherited from class org.codehaus.groovy.grails.compiler.injection.AbstractGrailsArtefactTransformer
CURRENT_PREFIX, METHOD_MISSING_METHOD_NAME, OBJECT_CLASS, PUBLIC_STATIC_MODIFIER, STATIC_METHOD_MISSING_METHOD_NAME, THIS_EXPRESSION
 
Fields inherited from interface org.codehaus.groovy.grails.compiler.injection.GrailsArtefactClassInjector
EMPTY_CLASS_ARRAY, ZERO_ARGS, ZERO_PARAMETERS
 
Fields inherited from interface org.codehaus.groovy.grails.compiler.injection.ClassInjector
PRIVATE_STATIC_MODIFIER
 
Constructor Summary
ConvertersDomainTransformer()
           
 
Method Summary
 java.lang.String getArtefactType()
           
 java.lang.Class<?> getInstanceImplementation()
           
 java.lang.Class<?> getStaticImplementation()
           
protected  boolean requiresAutowiring()
           
 boolean shouldInject(java.net.URL url)
           
 
Methods inherited from class org.codehaus.groovy.grails.compiler.injection.AbstractGrailsArtefactTransformer
compareTo, getArtefactTypes, isCandidateInstanceMethod, isStaticCandidateMethod, performInjection, performInjection, performInjectionInternal, populateAutowiredApiLookupMethod, populateDefaultApiLookupMethod, requiresStaticLookupMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvertersDomainTransformer

public ConvertersDomainTransformer()
Method Detail

getArtefactType

public java.lang.String getArtefactType()
Overrides:
getArtefactType in class org.codehaus.groovy.grails.compiler.injection.AbstractGrailsArtefactTransformer

getInstanceImplementation

public java.lang.Class<?> getInstanceImplementation()
Specified by:
getInstanceImplementation in class org.codehaus.groovy.grails.compiler.injection.AbstractGrailsArtefactTransformer

getStaticImplementation

public java.lang.Class<?> getStaticImplementation()
Specified by:
getStaticImplementation in class org.codehaus.groovy.grails.compiler.injection.AbstractGrailsArtefactTransformer

requiresAutowiring

protected boolean requiresAutowiring()
Overrides:
requiresAutowiring in class org.codehaus.groovy.grails.compiler.injection.AbstractGrailsArtefactTransformer

shouldInject

public boolean shouldInject(java.net.URL url)