Package org.codehaus.groovy.ast

Examples of org.codehaus.groovy.ast.GroovyClassVisitor


        }
        if (!rootActiveObject && actorGroupName.length() != 0) {
            ASTUtils.addError("Active object's actor group can only be specified at the top of the active object hierarchy. Apparently a superclass of this class is also an active object.", classNode, source);
        }

        final GroovyClassVisitor transformer = new MyClassCodeExpressionTransformer(source, actorFieldName, actorGroupName);
        transformer.visitClass(classNode);
    }
View Full Code Here


@GroovyASTTransformation(phase = CompilePhase.SEMANTIC_ANALYSIS)
public class SearchDslAstTransformation implements ASTTransformation {


    @Override public void visit(ASTNode[] nodes, final SourceUnit source) {
        GroovyClassVisitor methodVisitor = new ConfigClosureFinder(source);
       
        for(ClassNode cn : source.getAST().getClasses()){
            methodVisitor.visitClass(cn);
        }
    }
View Full Code Here

TOP

Related Classes of org.codehaus.groovy.ast.GroovyClassVisitor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.