Package org.codehaus.aspectwerkz.definition.expression.visitor

Examples of org.codehaus.aspectwerkz.definition.expression.visitor.CflowIdentifierLookupVisitorContext


    /**
     * Cflow identifier lookup
     */
    private void initializeCflowExpressionMapFromAST() {
        CflowIdentifierLookupVisitorContext context = new CflowIdentifierLookupVisitorContext(m_namespace);
        root.jjtAccept(CFLOWIDENTIFIER_VISITOR, context);

        String cflowName = null;
        for (Iterator i = context.getNames().iterator(); i.hasNext();) {
            cflowName = (String)i.next();
            m_cflowExpressionRefs.put(cflowName, m_namespace.getExpression(cflowName));
        }
        for (Iterator i = context.getAnonymous().iterator(); i.hasNext();) {
            CflowExpression anonymousCflow = (CflowExpression)i.next();
            m_cflowExpressionRefs.put(anonymousCflow.getName(), anonymousCflow);
            // referenced it for further inflated referencing
            m_namespace.registerExpression(anonymousCflow);
            // TODO name is used in StartupManager, see getCflowExpressions
View Full Code Here


    /**
     * Cflow identifier lookup
     */
    private void initializeCflowExpressionMapFromAST() {
        CflowIdentifierLookupVisitorContext context = new CflowIdentifierLookupVisitorContext(m_namespace);
        root.jjtAccept(CFLOWIDENTIFIER_VISITOR, context);

        String cflowName = null;
        for (Iterator i = context.getNames().iterator(); i.hasNext();) {
            cflowName = (String)i.next();
            m_cflowExpressionRefs.put(cflowName, m_namespace.getExpression(cflowName));
        }
        for (Iterator i = context.getAnonymous().iterator(); i.hasNext();) {
            CflowExpression anonymousCflow = (CflowExpression)i.next();
            m_cflowExpressionRefs.put(anonymousCflow.getName(), anonymousCflow);
            // referenced it for further inflated referencing
            m_namespace.registerExpression(anonymousCflow);
            // TODO name is used in StartupManager, see getCflowExpressions
View Full Code Here

TOP

Related Classes of org.codehaus.aspectwerkz.definition.expression.visitor.CflowIdentifierLookupVisitorContext

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.