Package org.evolizer.famix.importer.nodehandler

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


    public boolean visit(EnumConstantDeclaration enumConstantDeclaration) {
        sLogger.debug("Processing enum constant declaration node " + enumConstantDeclaration.getName());

        AbstractASTNodeHandler lEnumConstantHandler = new EnumConstantDeclarationHandler(this);
        fNodeHandler.put(enumConstantDeclaration, lEnumConstantHandler);
        return lEnumConstantHandler.visit(enumConstantDeclaration);
    }
   
    /**
     * Handle anonymous type declarations.
     *
 
View Full Code Here


    public boolean visit(AnonymousClassDeclaration anonymTypeDeclaration) {
        sLogger.debug("Processing anonymous class declaration node");

        AbstractASTNodeHandler lTypeHandler = new AnonymTypeHandler(this);
        fNodeHandler.put(anonymTypeDeclaration, lTypeHandler);
        return lTypeHandler.visit(anonymTypeDeclaration);
    }

    /**
     * Finish anonymous class declarations.
     *
 
View Full Code Here

    public boolean visit(MethodDeclaration methodDeclaration) {
        sLogger.debug("Processing method declaration node " + methodDeclaration.getName());

        AbstractASTNodeHandler lMethodHandler = new MethodDeclarationHandler(this);
        fNodeHandler.put(methodDeclaration, lMethodHandler);
        return lMethodHandler.visit(methodDeclaration);
    }

    /**
     * Finish method declarations.
     *
 
View Full Code Here

    public boolean visit(FieldDeclaration fieldDeclaration) {
        sLogger.debug("Processing attribute declaration");

        AbstractASTNodeHandler lFieldHandler = new FieldDeclarationHandler(this);
        fNodeHandler.put(fieldDeclaration, lFieldHandler);
        return lFieldHandler.visit(fieldDeclaration);
    }

    /**
     * Finish field declarations.
     *
 
View Full Code Here

    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

    public boolean visit(MethodInvocation methodInvocation) {
        sLogger.debug("Processing method invocation node");

        AbstractASTNodeHandler lInvocationHandler = new MethodInvocationHandler(this);
        fNodeHandler.put(methodInvocation, lInvocationHandler);
        return lInvocationHandler.visit(methodInvocation);
    }

    /**
     * Handle construction invocations.
     *
 
View Full Code Here

    public boolean visit(ConstructorInvocation constructorInvocation) {
        sLogger.debug("Processing constructor invocation node");

        AbstractASTNodeHandler lInvocationHandler = new ConstructorInvocationHandler(this);
        fNodeHandler.put(constructorInvocation, lInvocationHandler);
        return lInvocationHandler.visit(constructorInvocation);
    }

    /**
     * Handle super method invocations.
     *
 
View Full Code Here

    public boolean visit(SuperMethodInvocation superMethodInvocation) {
        sLogger.debug("Processing super method invocation node");

        AbstractASTNodeHandler lInvocationHandler = new SuperMethodInvocationHandler(this);
        fNodeHandler.put(superMethodInvocation, lInvocationHandler);
        return lInvocationHandler.visit(superMethodInvocation);
    }

    /**
     * Handle super constructor invocations.
     *
 
View Full Code Here

    public boolean visit(SuperConstructorInvocation superConstructorInvocation) {
        sLogger.debug("Processing super constructor invocation node");

        AbstractASTNodeHandler lInvocationHandler = new SuperConstructorInvocationHandler(this);
        fNodeHandler.put(superConstructorInvocation, lInvocationHandler);
        return lInvocationHandler.visit(superConstructorInvocation);
    }

    /**
     * Handle class instance creation statements (i.e., new).
     *
 
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.