use of grails.compiler.ast.GroovyPageInjector in project grails-core by grails.
the class GroovyPageInjectionOperation method getGroovyPageInjectors.
private GroovyPageInjector[] getGroovyPageInjectors() {
if (groovyPageInjectors == null) {
List<GroovyPageInjector> injectors = new ArrayList<GroovyPageInjector>();
for (ClassInjector ci : getClassInjectors()) {
if (ci instanceof GroovyPageInjector) {
injectors.add((GroovyPageInjector) ci);
}
}
groovyPageInjectors = injectors.toArray(new GroovyPageInjector[injectors.size()]);
}
return groovyPageInjectors;
}
Aggregations