Package org.evolizer.famix.model.entities

Examples of org.evolizer.famix.model.entities.AbstractFamixVariable


        } else {
            sLogger.warn("Can not resolve type of method invocation expression " + expr);
        }

        int count = 0;
        AbstractFamixVariable variable = null;
        for (AbstractFamixVariable entity : fVariables.values()) {
            if (entity.getName().equals(name)) {
                variable = entity;
                count++;
            }
        }

        if ((count == 1) && (variable != null)) {
            // get qualified name from declaring class
            return variable.getDeclaredClass().getUniqueName();
        } else {
            sLogger.warn("Found " + count + " matches for " + expr);
        }

        return AbstractASTNodeHandler.UNDEFINED_BINDING;
View Full Code Here


            // parent check
            if (entity.getParent() == null) {
                System.err.println("No parent: " + entity.getUniqueName());
            }
            if (entity instanceof AbstractFamixVariable) {
                AbstractFamixVariable var = (AbstractFamixVariable) entity;
                if (var.getDeclaredClass() == null) {
                    System.err.println("No data type: " + var.getUniqueName());
                } else {
                    if (! aModel.contains(var.getDeclaredClass())) {
                        System.err.println("Var data type not contained in model: " + var.getUniqueName());
                    }
                }
            }
            if (entity instanceof FamixMethod) {
                FamixMethod func = (FamixMethod) entity;
View Full Code Here

TOP

Related Classes of org.evolizer.famix.model.entities.AbstractFamixVariable

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.