Package org.evolizer.famix.importer.nodehandler

Examples of org.evolizer.famix.importer.nodehandler.VariableDeclarationFragmentHandler.visit()


    public boolean visit(VariableDeclarationFragment variableDeclarationFragment) {
        sLogger.debug("Processing variable declaration fragment node " + variableDeclarationFragment.getName());

        AbstractASTNodeHandler lVariableDeclarationHandler = new VariableDeclarationFragmentHandler(this);
        fNodeHandler.put(variableDeclarationFragment, lVariableDeclarationHandler);
        return lVariableDeclarationHandler.visit(variableDeclarationFragment);
    }

    /**
     * Handle single variable declarations (e.g., in catch clauses).
     * Formal parameters are handled in the method declaration.
View Full Code Here


        sLogger.debug("Processing single variable declaration statement node " + singleVariableDeclaration);

        if (singleVariableDeclaration.getParent() instanceof CatchClause) {
            AbstractASTNodeHandler lVariableDeclarationHandler = new VariableDeclarationFragmentHandler(this);
            fNodeHandler.put(singleVariableDeclaration, lVariableDeclarationHandler);
            return lVariableDeclarationHandler.visit(singleVariableDeclaration);
        }

        return true;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.