Package net.sf.jcontracts.dependencyanalyzer

Examples of net.sf.jcontracts.dependencyanalyzer.Node


        }
        if (typeName == null)
        {
            typeName = enclosingType.getName();
        }
        Node node = null;
        Enumeration usedTypesEnum = usedTypes_.elements();
        while (usedTypesEnum.hasMoreElements())
        {
            Node usedType = (Node) usedTypesEnum.nextElement();
            if (usedType.getName().equals(typeName))
            {
                node = usedType;
            }
        }

        if (node == null)
        {
            node = new Node(typeName, packagename_, filename_, new Vector());
            usedTypes_.addElement(node);
        }
    }
View Full Code Here


        }
        if (typeName == null)
        {
            typeName = enclosingType.getName();
        }
        Node node = null;
        Enumeration usedTypesEnum = usedTypes_.elements();
        while (usedTypesEnum.hasMoreElements())
        {
            Node usedType = (Node) usedTypesEnum.nextElement();
            if (usedType.getName().equals(typeName))
            {
                node = usedType;
            }
        }

        if (node == null)
        {
            node = new Node(typeName, packagename_, filename_, new Vector());
            usedTypes_.addElement(node);
        }
        if (qualifiedName.lastIndexOf('.') != -1)
        {
            packagename_ = qualifiedName.substring(0, qualifiedName.lastIndexOf('.'));
        }
        node.addUsedNode(new Node(qualifiedName, packagename_, "???", new Vector()));
    }
View Full Code Here

TOP

Related Classes of net.sf.jcontracts.dependencyanalyzer.Node

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.