use of org.codehaus.groovy.classgen.GeneratorContext in project groovy by apache.
the class DependencyTest method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
cache = new StringSetMap();
cu = new CompilationUnit();
cu.addPhaseOperation((final SourceUnit source, final GeneratorContext context, final ClassNode classNode) -> {
DependencyTracker dt = new DependencyTracker(source, cache);
dt.visitClass(classNode);
}, Phases.CLASS_GENERATION);
}
Aggregations