
grails.plugins.redis.ast.MemoizeHashASTTransformation.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grails-redis Show documentation
Show all versions of grails-redis Show documentation
This Plugin provides access to Redis and various utilities(service, annotations, etc) for caching.
package grails.plugins.redis.ast
import org.codehaus.groovy.ast.expr.ConstantExpression
import org.codehaus.groovy.control.CompilePhase
import org.codehaus.groovy.transform.GroovyASTTransformation
@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION)
class MemoizeHashASTTransformation extends MemoizeASTTransformation {
@Override
protected ConstantExpression makeRedisServiceConstantExpression() {
new ConstantExpression('memoizeHash')
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy