METHODS AND SYSTEMS FOR IDENTIFYING DEPENDENCIES BETWEEN OBJECT-ORIENTED ELEMENTS

Abstract: Methods and systems consistent with the present invention (FIG.2,200, 202, 204, 206, 208) provide an improved software development tool that represents multiple dependencies between a dependent node and a defining node (Fig. 22A, 2202, 2203, 2204, 2206, 2208, 2210, 2212, 2214, Fig. 22B, 2216, 2218, 2220, 2222) in a project as a single dependency link. Figs. 22A and 22B, depict a flow diagram illustrating an exemplary process performed by a software development tool to graphically represent multiple dependencies between two nodes in a project as a single dependency link, as disclosed on page 32 of the specification. Moreover, methods and systems consistent with the present invention also identify and display details regarding each dependency in a project upon request by the user (Fig. 28A, 2802, 2804, 2806, 2808, 2810, 2812, 2814, 2816, 2818, 2820, Fig. 28B, 2822, 2824, Fig. 28C, 2826, 2828, 2830, 2832, 2834, 2836, 2838, 2840). Figs. 28A, 28B, and 28C, depict a flow diagram illustrating an exemplary process performed by the software development tool to identify and display the specific elements and usage that result in each dependency between a dependent node and a defining node, as disclosed on page 38 of the specification.

Description: METHODS AND SYSTEMS FOR IDENTIFYING DEPENDENCIES BETWEEN OBJECT-ORIENTED ELEMENTS Cross-Reference To Related Applications This application claims the benefit of the filing date of U.S. Provisional Application No. 60/199,046, entitled "Software Development Tool," filed on April 21, 2000, and is a continuation-in-part of U.S. Patent Application No. 09/680,063, entitled "Method and System for Developing Software," filed on October 4, 2000, which claims the benefit of the filing date of U.S. Provisional Application No. 60/157,826, entitled "Visual Unified Modeling Language Development Tool," filed on October 5, 1999, and U.S. Provisional Application No. 60/199,046, entitled "Software Development Tool," filed on April 21, 2000; all of which are incorporated herein by reference. The following identified U.S. patent applications are also relied upon and are incorporated by reference in this application: U.S. Patent Application No. 09/680,065, entitled "Method And System For Displaying Changes Of Source Code," filed on October 4, 2000; U.S. Patent Application No. 09/680,030, entitled "Method And System For Generating, Applying, And Defining A Pattern," filed on October 4, 2000; U.S. Patent Application No. 09/680,064, entitled "Method And System For Collapsing A Graphical Representation Of Related Elements," filed on October 4, 2000; U.S. Patent Application No. , entitled "Methods and Systems for Generating Source Code for Object Oriented Elements," bearing attorney docket no. 30013630-0008, and filed on the same date herewith; U.S. Patent Application No. , entitled "Methods and Systems for Relating Data Structures and Object Oriented Elements for Distributed Computing," bearing attorney docket no. 30013630-0009, and filed on the same date herewith; U.S. Patent Application No. , entitled "Methods and Systems for Finding Specific Line Of Source Code," bearing attorney docket no. 30013630-0011, and filed on the same date herewith; U.S. Patent Application No. , entitled "Methods and Systems for Finding and Displaying Linked Objects," bearing attorney docket no. 30013630-0012, and filed on the same date herewith; U.S. Patent Application No. , entitled "Methods and Systems for Animating the Interaction of Objects in an Object Oriented Program," bearing attorney docket no. 30013630-0013, and filed on the same date herewith; U.S. Patent Application No. , entitled "Methods and Systems for Supporting and Deploying Distributed Computing Components," bearing attorney docket no. 30013630-0014, and filed on the same date herewith; U.S. Patent Application No. , entitled "Diagrammatic Control of a Software in a Version Control System," bearing attorney docket no. 30013630-0015, and filed on the same date herewith; U.S. Patent Application No. , entitled "Navigation Links in Generated Documentation," bearing attorney docket no. 30013630-0016, and filed on the same date herewith; and U.S. Patent Application No. , entitled "Methods and Systems for Relating a Data Definition File and a Data Model for Distributed Computing," bearing attorney docket no. 30013630-0020, and filed on the same date herewith. Field Of The Invention The present invention relates to a method and system for developing software. More particularly, the invention relates to methods and systems for identifying dependencies between object-oriented elements in a project. Background Of The Invention Computer instructions are written in source code. Although a skilled programmer can understand source code to determine what the code is designed to accomplish, with highly complex software systems, a graphical representation or model of the source code is helpful to organize and visualize the structure and components of the system. Using models, the complex systems are easily identified, and the structural and behavioral patterns can be visualized and documented. The well-known Unified Modeling Language (UML) is a general-purpose notational language for visualizing, specifying, constructing, and documenting complex software systems. UML is used to model systems ranging from business information systems to Web-based distributed systems, to real-time embedded systems. UML formalizes the notion that real-world objects are best modeled as self-contained entities that contain both data and functionality. UML is more clearly described in the following references, which are incorporated herein by reference: (1) Martin Fowler, UML Distilled Second Edition: Applying the Standard Object Modeling Language, Addison- Wesley (1999); (2) Booch, Rumbaugh, and Jacobson, The Unified Modeling Language User Guide. Addison- Wesley (1998); (3) Peter Coad, Jeff DeLuca, and Eric Lefebvre, Java Modeling in Color with UML: Enterprise Components and Process. Prentice Hall (1999); and (4) Peter Coad, Mark Mayfield, and Jonathan Kern, Java Design: Building Better Apps & Applets (2nd Ed.), Prentice Hall (1998). As shown in Fig. 1, conventional software development tools 100 allow a programmer to view UML 102 while viewing source code 104. The source code 104 is stored in a file, and a reverse engineering module 106 converts the source code 104 into a representation of the software project in a database or repository 108. The software project comprises source code 104 in at least one file that, when compiled, forms a sequence of instructions to be run by the data processing system. The repository 108 generates the UML 102. If any changes are made to the UML 102, they are automatically reflected in the repository 108, and a code generator 110 converts the representation in the repository 108 into source code 104. Such software development tools 100, however, do not synchronize the displays of the UML 102 and the source code 104. Rather, the repository 108 stores the representation of the software project while the file stores the source code 104. A modification in the UML 102 does not appear in the source code 104 unless the code generator 110 re-generates the source code 104 from the data in the repository 108. When this occurs, the entire source code 104 is rewritten. Similarly, any modifications made to the source code 104 do not appear in the UML 102 unless the reverse engineering module 106 updates the repository 108. As a result, redundant information is stored in the repository 108 and the source code 104. In addition, rather than making incremental changes to the source code 104, conventional software development tools 100 rewrite the overall source code 104 when modifications are made to the UML 102, resulting in wasted processing time. This type of manual, large-grained synchronization requires either human intervention, or a "batch" style process to try to keep the two views (the UML 102 and the source code 104) in sync. Unfortunately, this approach, adopted by many tools, leads to many undesirable side- effects; such as desired changes to the source code being overwritten by the tool. A further disadvantage with conventional software development tools 100 is that they are designed to only work in a single programming language. Thus, a tool 100 that is designed for Java™ programs cannot be utilized to develop a program in C++. There is a need in the art for a tool that avoids the hmitations of these conventional software development tools. Summary Of The Invention Methods and systems consistent with the present invention provide an improved software development tool that overcomes the limitations of conventional software development tools. The improved software development tool of the present invention allows a developer to simultaneously view a graphical and a textual display of source code. The graphical and textual views are synchronized so that a modification in one view is automatically reflected in the other view. In addition, the software development tool is designed for use with more than one programming language. The software development tool consistent with the present invention provides a developer with a visual cue of multiple dependencies between two nodes in a project via a single dependency link between the nodes. Thus, the software development tool saves significant programming development time and aids in the production of error free code. The software development tool also identifies and displays the details for each dependency in a project to assist the developer in analyzing the code. Thus, the developer does not need to search the code to identify the particular dependencies that exist between various object-oriented elements in the project. In accordance with methods consistent with the present invention, a method is provided in a data processing system. The data processing system has a dependent node, a defining node, and a plurality of dependencies between the dependent node and the defining node. The method comprises the steps of displaying a graphical representation of the dependent node, displaying a graphical representation of the defining node, receiving an indication to identify a dependency between the dependent node and the defining node, and in response to receiving the indication to identify the dependency, representing the plurality of dependencies as a number of links that is less than a number of the dependencies between the dependent node and the defining node. In accordance with methods consistent with the present invention, a method is provided in a data processing system. The data processing system has a plurality of nodes, and each of the plurality of nodes has corresponding code. The method comprises the steps of displaying a graphical representation of the plurality of nodes, determining whether the code corresponding to a first of the plurality of nodes contains a first use of a second of the plurality of nodes, and when it is determined that the code corresponding to the first node contains the first use of the second node, determining whether the code corresponding to the first node contains a second use of the second node, and when it is determined that the code corresponding to the first node contains the second use of the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. In accordance with methods consistent with the present invention, a method is provided in a data processing system. The data processing system has a plurality of nodes, and each of the plurality of nodes has corresponding code. The method comprises the steps of receiving an indication of a first of the plurality of nodes, receiving an indication of a second of the plurality of nodes, determining whether the code corresponding to the first node contains a first use and a second use of the second node, and when it is determined that the code corresponding to the first node contains the first use and the second use of the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. In accordance with methods consistent with the present invention, a method is provided in a data processing system. The data processing system has a plurality of nodes, and each of the plurality of nodes has corresponding code. The method comprises the steps of receiving an indication of a first of the plurality of nodes, receiving an indication of a second of the plurality of nodes, determining whether the code corresponding to the first node contains a use of the second node, and when it is determined that the code corresponding to the first node contains the use of the second node, displaying the usage of the second node by the first node. In accordance with articles of manufacture consistent with the present invention, a computer-readable medium is provided. The computer-readable medium contains instructions for controlling a data processing system to perform a method. The data processing system has a dependent node, a defining node, and a plurality of dependencies between the dependent node and the defining node. The method comprises the steps of displaying a graphical representation of the dependent node, displaying a graphical representation of the defining node, receiving an indication to identify a dependency between the dependent node and the defining node, and in response to receiving the indication to identify the dependency, representing the plurality of dependencies as a number of links that is less than a number of the dependencies between the dependent node and the defining node. In accordance with articles of manufacture consistent with the present invention, a computer-readable medium is provided. The computer-readable medium contains instructions for controlling a data processing system to perform a method. The data processing system has a plurality of nodes, and each of the plurality of nodes has corresponding code. The method comprises the steps of displaying a graphical representation of the plurality of nodes, determining whether the code corresponding to a first of the plurality of nodes contains a first use of a second of the plurality of nodes, and when it is determined that the code corresponding to the first node contains the first use of the second node, determining whether the code corresponding to the first node contains a second use of the second node, and when it is determined that the code corresponding to the first node contains the second use of the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. In accordance with articles of manufacture consistent with the present invention, a computer-readable medium is provided. The computer-readable medium contains instructions for controlling a data processing system to perform a method. The data processing system has a plurality of nodes, and each of the plurality of nodes has corresponding code. The method comprises the steps of receiving an indication of a first of the plurality of nodes, receiving an indication of a second of the plurality of nodes, determining whether the code corresponding to the first node contains a first use and a second use of the second node, and when it is determined that the code corresponding to the first node contains the first use and the second use of the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. In accordance with articles of manufacture consistent with the present invention, a computer-readable medium is provided. The computer-readable medium contains instructions for controlling a data processing system to perform a method. The data processing system has a plurality of nodes, and each of the plurality of nodes has corresponding code. The method comprises the steps of receiving an indication of a first of the plurality of nodes, receiving an indication of a second of the plurality of nodes, determining whether the code corresponding to the first node contains a use of the second node, and when it is determined that the code corresponding to the first node contains the use of the second node, displaying the usage of the second node by the first node. Other systems, methods, features and advantages of the invention will be or will become apparent to one with skill in the art upon examination of the following figures and detailed description. It is intended that all such additional systems, methods, features and advantages be included within this description, be within the scope of the invention, and be protected by the accompanying claims. Brief Description Of The Drawings The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an implementation of the invention and, together with the description, serve to explain the advantages and principles of the invention. In the drawings, Fig. 1 depicts a conventional software development tool; Fig. 2 depicts an overview of a software development tool in accordance with methods and systems consistent with the present invention; Fig. 3 depicts a data structure of the language-neutral representation created by the software development tool of Fig. 2; Fig. 4 depicts representative source code; Fig. 5 depicts the data structure of the language-neutral representation of the source code of Fig. 4; Fig. 6 depicts a data processing system suitable for practicing the present invention; Fig. 7 depicts an architectural overview of the software development tool of Fig. 2; Fig. 8A depicts a user interface displayed by the software development tool depicted in Fig. 2, where the user interface displays a list of predefined criteria which the software development tool checks in the source code; Fig. 8B depicts a user interface displayed by the software development tool depicted in Fig. 2, where the user interface displays the definition of the criteria which the software development tool checks in the source code, and an example of source code which does not conform to the criteria; Fig. 8C depicts a user interface displayed by the software development tool depicted in Fig. 2, where the user interface displays an example of source code which conforms to the criteria which the software development tool checks in the source code; Fig. 9 depicts a flow diagram of the steps performed by the software development tool depicted in Fig. 2; Figs. 10A and 10B depict a flow diagram illustrating the update model step of Fig. 9; Fig. 11 depicts a flow diagram of the steps performed by the software development tool in Fig. 2 when creating a class; Fig. 12 depicts a user interface displayed by the software development tool depicted in Fig. 2, where the user interface displays a use case diagram of source code; Fig. 13 depicts a user interface displayed by the software development tool depicted in Fig. 2, where the user interface displays both a class diagram and a textual view of source code; Fig. 14 depicts a user interface displayed by the software development tool depicted in Fig. 2, where the user interface displays a sequence diagram of source code; Fig. 15 depicts a user interface displayed by the software development tool depicted in Fig. 2, where the user interface displays a collaboration diagram of source code; Fig. 16 depicts a user interface displayed by the software development tool depicted in Fig. 2, where the user interface displays a statechart diagram of source code; Fig. 17 depicts a user interface displayed by the software development tool depicted in Fig. 2, where the user interface displays an activity diagram of source code; Fig. 18 depicts a user interface displayed by the software development tool depicted in Fig. 2, where the user interface displays a component diagram of source code; Fig. 19 depicts a user interface displayed by the software development tool depicted in Fig. 2, where the user interface displays a deployment diagram of source code; Fig. 20 depicts exemplary code corresponding to a dependent class that uses another defining class, resulting in a dependency between the dependent class and the defining class; Fig. 21 depicts an exemplary user interface displayed by the software development tool in response to a request to open a project containing a group of object- oriented elements, where the exemplary user interface shows a group of nodes that graphically represent the group of object-oriented elements in the project; Figs. 22A and 22B depict a flow diagram illustrating an exemplary process performed by the software development tool in Fig. 2 to identify one or more dependencies between two nodes in a project; Fig. 23 depicts an exemplary user interface displayed by the software development tool depicted in Fig. 2, where the user interface displays a list of dependency search types that the software development tool may perform; Fig. 24 depicts an exemplary user interface displayed by the software development tool depicted in Fig. 2 for requesting the software development tool to identify a dependency between packages; Fig. 25 depicts an exemplary screen showing a single dependency link between two packages displayed by the software development tool in Fig. 2 to reflect at least one dependency identified in code corresponding to a class in one of the two packages; Fig. 26 depicts an exemplary screen showing a single dependency link between a class and a package displayed by the software development tool in Fig. 2 to reflect at least one dependency identified in code corresponding the class or to a different class in the package; Figs. 27A and 27B depict a flow diagram illustrating a second embodiment of a process performed by the software development tool in Fig. 2 to identify one or more dependencies between two nodes in a project; Fig. 28A-C depict a flow diagram illustrating an exemplary process performed by the software development tool in Fig. 2 to identify and display all dependencies reflected by a single dependency link between a dependent node and a defining node; Fig. 29 depicts an exemplary user interface displayed by the software development tool depicted in Fig. 2 for requesting the software development tool to show all dependencies reflected by a single dependency link between a dependent package and a defining package; Fig. 30 depicts exemplary code corresponding to a class associated with the dependent package, where the exemplary code reflects a dependency on a second class associated with the defining package; Fig. 31 depicts exemplary code corresponding to a class associated with the dependent package, where the exemplary code reflects a dependency on a second class associated with the defining package; Fig. 32 depicts an exemplary user interface displayed by the software development tool depicted in Fig. 2, where the exemplary user interface shows all the dependencies reflected by the single dependency link between the dependent node and the defining node when the dependency search type is declarations; Fig. 33 depicts an exemplary user interface displayed by the software development tool depicted in Fig. 2, where the exemplary user interface shows all the dependencies reflected by the single dependency link between the dependent node and the defining node when the dependency search type is all usages; Fig. 34 depicts an exemplary user interface displayed by the software development tool depicted in Fig. 2, where the exemplary user interface shows the effect of removing an element having a dependency to a second node from a package; Fig. 35 depicts an exemplary user interface displayed by the software development tool depicted in Fig. 2, where the exemplary user interface shows a request from a developer to display a dependency link between an interface and a package without identifying if a dependency exists between the interface and the package; and Fig. 36 depicts an exemplary user interface displayed by the software development tool depicted in Fig. 2, where the exemplary user interface shows the lack of dependencies reflected by the single dependency link requested by the developer between the interface and the package. Detailed Description Of The Invention Methods and systems consistent with the present invention provide an improved software development tool that creates a graphical representation of source code regardless of the programming language in which the code is written. In addition, the software development tool simultaneously reflects any modifications to the source code to both the display of the graphical representation as well as the textual display of the source code. As depicted in Fig. 2, source code 202 is being displayed in both a graphical form 204 and a textual form 206. In accordance with methods and systems consistent with the present invention, the improved software development tool generates a transient meta model (TMM) 200 which stores a language-neutral representation of the source code 202. The graphical 204 and textual 206 representations of the source code 202 are generated from the language-neutral representation in the TMM 200. Although modifications made on the displays 204 and 206 may appear to modify the displays 204 and 206, in actuality all modifications are made directly to the source code 202 via an incremental code editor (ICE) 208, and the TMM 200 is used to generate the modifications in both the graphical 204 and the textual 206 views from the modifications to the source code 202. The improved software development tool provides simultaneous round-trip engineering, i.e., the graphical representation 204 is synchronized with the textual representation 206. Thus, if a change is made to the source code 202 via the graphical representation 204, the textual representation 206 is updated automatically. Similarly, if a change is made to the source code 202 via the textual representation 206, the graphical representation 204 is updated to remain synchronized. There is no repository, no batch code generation, and no risk of losing code. The data structure 300 of the language-neutral representation is depicted in Fig. 3. The data structure 300 comprises a Source Code Interface (SCI) model 302, an SCI package 304, an SCI class 306, and an SCI member 308. The SCI model 302 is the source code organized into packages. The SCI model 302 corresponds to a directory for a software project being developed by the user, and the SCI package 304 corresponds to a subdirectory. The software project comprises the source code in at least one file that is compiled to form a sequence of instructions to be run by a data processing system. The data processing system is discussed in detail below. As is well known in object-oriented programming, the class 306 is a category of objects which describes a group of objects with similar properties (attributes), common behavior (operations or methods), common relationships to other objects, and common semantics. The members 308 comprise attributes and/or operations. For example, the data structure 500 for the source code 400 depicted in Fig. 4 is depicted in Fig. 5. Userlnterface 402 is defined as a package 404. Accordingly, Userlnterface 402 is contained in SCI package 502. Similarly, Bank 406, which is defined as a class 408, is contained in SCI class 504, and Name 410 and Assets 412, which are defined as attributes (strings 414), are contained in SCI members 506. Since these elements are in the same project, all are linked. The data structure 500 also identifies the language in which the source code is written 508, e.g., the Java™ language. Fig. 6 depicts a data processing system 600 suitable for practicing methods and systems consistent with the present invention. Data processing system 600 comprises a memory 602, a secondary storage device 604, an I/O device 606, and a processor 608. Memory 602 includes the improved software development tool 610. The software development tool 610 is used to develop a software project 612, and create the TMM 200 in the memory 602. The project 612 is stored in the secondary storage device 604 of the data processing system 600. One skilled in the art will recognize that data processing system 600 may contain additional or different components. Although aspects of the present invention are described as being stored in memory, one skilled in the art will appreciate that these aspects can also be stored on or read from other types of computer-readable media, such as secondary storage devices, like hard disks, floppy disks or CD-ROM; a carrier wave from a network, such as Internet; or other forms of RAM or ROM either currently known or later developed. Fig. 7 illustrates an architectural overview of the improved software development tool 610. The tool 610 comprises a core 700, an open application program interface (API) 702, and modules 704. The core 700 includes a parser 706 and an ICE 208. The parser 706 converts the source code into the language-neutral representation in the TMM, and the ICE 208 converts the text from the displays into source code. There are three main packages composing the API 702: Integrated Development Environment (IDE) 708; Read-Write Interface (RWI) 710; and Source Code Interface (SCI) 712. Each package includes corresponding subpackages. As is well known in the art, a package is a collection of attributes, notifications, operations, or behaviors that are treated as a single module or program unit. IDE 708 is the API 702 needed to generate custom outputs based on information contained in a model. It is a read-only interface, i.e., the user can extract information from the model, but not change the model. IDE 708 provides the functionality related to the model's representation in IDE 708 and interaction with the user. Each package composing the IDE group has a description highlighting the areas of applicability of this concrete package. RWI 710 enables the user to go deeper into the architecture. Using RWI 710, information can be extracted from and written to the models. RWI not only represents packages, classes and members, but it may also represent different diagrams (class diagrams, use case diagrams, sequence diagrams and others), links, notes, use cases, actors, states, etc. SCI 712 is at the source code level, and allows the user to work with the source code almost independently of the language being used. There are a variety of modules 704 in the software development tool 610 of the present invention. Some of the modules 704 access information to generate graphical and code documentation in custom formats, export to different file formats, or develop patterns. The software development tool also includes a quahty assurance (QA) module which monitors the modifications to the source code and calculates the complexity metrics, i.e., the measurement of the program's performance or efficiency, to support quahty assurance. The types of metrics calculated by the software development tool include basic metrics, cohesion metrics, complexity metrics, coupling metrics, Halstead metrics, inheritance metrics, maximum metrics, polymorphism metrics, and ratio metrics. Examples of these metrics with their respective definitions are identified in Tables 1-9 below. Table 1 - Basic Metrics Table 2 - Cohesion Metrics Table 3 - Complexity Metrics Table 4 - Coupling Metrics Table 5 - Halstead Metrics Table 6 - Inheritance Metrics Table 7 - Maximum Metrics Table 8 - Polymorphism Metrics Table 9 - Ratio Metrics The QA module also provides audits, i.e., the module checks for conformance to predefined or user-defined styles. The types of audits provided by the module include coding style, critical errors, declaration style, documentation, naming style, performance, possible errors and superfluous content. Examples of these audits with their respective definitions are identified in Tables 10-17 below. Table 10 - Coding Style Audits Table 11 - Critical Errors Audits Table 12 - Declaration Style Audits Table 13 - Documentation Audits Table 15 - Performance Audits Table 16 - Possible Error Audits Table 17 - Superfluous Content Audits If the QA module determines that the source code does not conform, an error message is provided to the developer. For example, as depicted in Fig. 8A, the software development tool checks for a variety of coding styles 800. If the software development tool were to check for "Access Of Static Members Through Objects" 802, it would verify whether static members are referenced through class names rather than through objects 804. Further, as depicted in Fig. 8B, if the software development tool were to check for "Complex Assignment" 806, the software development tool would check for the occurrence of multiple assignments and assignments to variables within the same expression to avoid complex assignments since these decrease program readability 808. An example of source code having a complex assignment 810 and source code having a non-complex assignment 812 are depicted in Figs. 8B and 8C, respectively. The QA module of the software development tool scans the source code for other syntax errors well known in the art, as described above, and provides an error message if any such errors are detected. The improved software development tool of the present invention is used to develop source code in a project. The project comprises a plurality of files and the source code of a chosen one of the plurality of files is written in a given language. The software development tool determines the language of the source code of the chosen file, converts the source code from the language into a language-neutral representation, uses the language-neutral representation to textually display the source code of the chosen file in the language, and uses the language-neutral representation to display a graphical representation of at least a portion of the project. The source code and the graphical representation are displayed simultaneously. The improved software development tool of the present invention is also used to develop source code. The software development tool receives an indication of a selected language for the source code, creates a file to store the source code in the selected language, converts the source code from the selected language into a language-neutral representation, uses the language-neutral representation to display the source code of the file, and uses the language-neutral representation to display a graphical representation of the file. Again, the source code and the graphical representation are displayed simultaneously. Moreover, if the source code in the file is modified, the modified source code and a graphical representation of at least a portion of the modified source code are displayed simultaneously. The QA module of the software development tool provides an error message if the modification does not conform to predefined or user-defined styles, as described above. The modification to the source code may be received from the display of the source code, the display of the graphical representation of the project, or via some other independent software to modify the code. The graphical representation of the project may be in Unified Modeling Language; however, one skihed in the art will recognize that other graphical representations of the source code may be displayed. Further, although the present invention is described and shown using the various views of the UML, one of ordinary skill in the art will recognize that other views may be displayed. Fig. 9 depicts a flow diagram of the steps performed by the software development tool to develop a project in accordance with methods and systems consistent with the present invention. As previously stated, the project comprises a plurality of files. The developer either uses the software development tool to open a file that contains existing source code, or to create a file in which the source code will be developed. If the software development tool is used to open the file, determined in step 900, the software development tool initially determines the programming language in which the code is written (step 902). The language is identified by the extension of the file, e.g., ".Java" identifies source code written in the Java™ language, while ".cpp" identifies source code written in C++. The software development tool then obtains a template for the current programming language, i.e., a collection of generalized definitions for the particular language that can be used to build the data structure (step 904). For example, the definition of a new Java™ class contains a default name, e.g., "Classl," and the default code, "public class Classl {}." Such templates are well known in the art. For example, the "Microsoft Foundation Class Library" and the "Microsoft Word Template For Business Use Case Modehng" are examples of standard template libraries from which programmers can choose individual template classes. The software development tool uses the template to parse the source code (step 906), and create the data structure (step 908). After creating the data structure or if there is no existing code, the software development tool awaits an event, i.e., a modification or addition to the source code by the developer (step 910). If an event is received and the event is to close the file (step 912), the file is saved (step 914) and closed (step 916). Otherwise, the software development tool performs the event (step 918), i.e., the tool makes the modification. The software development tool then updates the TMM or model (step 920), as discussed in detail below, and updates both the graphical and the textual views (step 922). Figs. 10A and 10B depict a flow diagram illustrating the update model step of Fig. 9. The software development tool selects a file from the project (step 1000), and determines whether the file is new (step 1002), whether the file has been updated (step 1004), or whether the file has been deleted (step 1006). If the file is new, the software development tool adds the additional symbols from the file to the TMM (step 1008). To add the symbol to the TMM, the software development tool uses the template to parse the symbol to the TMM. If the file has been updated, the software development tool updates the symbols in the TMM (step 1010). Similar to the addition of a symbol to the TMM, the software development tool uses the template to parse the symbol to the TMM. If the file has been deleted, the software development tool deletes the symbols in the TMM (step 1012). The software development tool continues this analysis for all files in the project. After all files are analyzed (step 1014), any obsolete symbols in the TMM (step 1016) are deleted (step 1018). Fig. 11 depicts a flow diagram illustrating the performance of an event, specifically the creation of a class, in accordance with methods and systems consistent with the present invention. After identifying the programming language (step 1100), the software development tool obtains a template for the language (step 1102), creates a source code file in the project directory (step 1104), and pastes the template onto the TMM (step 1106). The project directory corresponds to the SCI model 302 of Fig. 3. Additional events which a developer may perform using the software development tool include the creation, modification or deletion of packages, projects, attributes, interfaces, links, operations, and the closing of a file. The software development tool is collectively broken into three views of the application: the static view, the dynamic view, and the functional view. The static view is modeled using the use-case and class diagrams. A use case diagram 1200, depicted in Fig. 12, shows the relationship among actors 1202 and use cases 1204 within the system 1206. A class diagram 1300, depicted in Fig. 13 with its associated source code 1302, on the other hand, includes classes 1304, interfaces, packages and their relationships connected as a graph to each other and to their contents. The dynamic view is modeled using the sequence, collaboration and statechart diagrams. As depicted in Fig. 14, a sequence diagram 1400 represents an interaction, which is a set of messages 1402 exchanged among objects 1404 within a collaboration to effect a desired operation or result. In a sequence diagram 1400, the vertical dimension represents time and the horizontal dimension represents different objects. A collaboration diagram 1500, depicted in Fig. 15, is also an interaction with messages 1502 exchanged among objects 1504, but it is also a collab oration, which is a set of objects 1504 related in a particular context. Contrary to sequence diagrams 1400 (Fig. 14), which emphasize the time ordering of messages along the vertical axis, collaboration diagrams 1500 (Fig. 15) emphasize the structural organization of objects. A statechart diagram 1600 is depicted in Fig. 16. The statechart diagram 1600 includes the sequences of states 1602 that an object or interaction goes through during its life in response to stimuli, together with its responses and actions. It uses a graphic notation that shows states of an object, the events that cause a transition from one state to another, and the actions that result from the transition. The functional view can be represented by activity diagrams 1700 and more traditional descriptive narratives such as pseudocode and minispecifications. An activity diagram 1700 is depicted in Fig. 17, and is a special case of a state diagram where most, if not all, of the states are action states 1702 and where most, if not all, of the transitions are triggered by completion of the actions in the source states. Activity diagrams 1700 are used in situations where all or most of the events represent the completion of internally generated actions. There is also a fourth view mingled with the static view called the architectural view. This view is modeled using package, component and deployment diagrams. Package diagrams show packages of classes and the dependencies among them. Component diagrams 1800, depicted in Fig. 18, are graphical representations of a system or its component parts. Component diagrams 1800 show the dependencies among software components, including source code components, binary code components and executable components. As depicted in Fig. 19, Deployment diagrams 1900 are used to show the distribution strategy for a distributed object system. Deployment diagrams 1900 show the configuration of run-time processing elements and the software components, processes and objects that live on them. Although discussed in terms of class diagrams, one skilled in the art will recognize that the software development tool of the present invention may support these and other graphical views. Representing Multiple Dependencies Between Nodes With A Single Link In addition to the functionality described above, the software development tool 610 saves significant programming development time and aids in the production of error free code by providing a developer with a visual cue of multiple dependencies between two nodes in a project via a single dependency link between the nodes. Each node in the project may be a package, a class, or an interface. If the node is a package, the classes and/or interfaces within the package are referred to as the "elements" in the node. If the node is a class or an interface, the class or the interface is the "element" in the node. A dependency exists between the two nodes if changes to a defining element, i.e., a class or an interface in one node, may impact a dependent element, i.e., a class or an interface in another node. The node containing the defining element is referred to as the "defining node," and the node containing the dependent element is referred to as the "dependent node." Changes to the defining element may impact the dependent element because the dependent element uses the defining element, such as in a declaration, a local variable definition, a method invocation, or a constructor (i.e., a special type of method invocation that initializes every data field when a new object is created from a class). For example, as shown in Fig. 20, class "Sale" 2002 uses the class "Product" 2004 by declaring "aProd" 2006 (an argument parameter for the method "addltem" 2008) to be of the type "Product," resulting in one dependency. In addition, the class "Sale" 2002 uses the class "Product" 2010 in a method invocation "Product.lookup(barCode)" 2012, resulting in a second dependency. Conventional tools display the two dependencies separately. In accordance with methods and systems consistent with the present invention, the software development tool 610 allows a developer to display the two dependencies between the class "sale" 2002 and the class "product" 2004 as a single dependency link. By displaying multiple dependencies as a single dependency link and allowing the developer to selectively choose to identify the multiple dependencies reflected by the single dependency link, the software development tool visually apprises the developer of which nodes may be impacted by a code change without displaying a spider web of dependencies between the two nodes. In another embodiment, the software development tool may alter the appearance of the link depending on the number of dependencies between the nodes. For example, the thickness of the link may be proportional to the number of dependencies between the nodes, or the color of the link may change depending on the number of dependencies between the nodes. Fig. 21 depicts an exemplary user interface 2100 displayed by the software development tool in response to a request to open a project containing a group of object- oriented elements. Each object-oriented element may be a class or an interface. The exemplary user interface 2100 shows a group of nodes 2102, 2104, 2106, and 2108 that graphically represent the group of object-oriented elements in the project. As discussed above, a node may be a graphical representation of a package, a class, or an interface. As shown in Fig. 21, the software development tool displays a group of packages (depicted graphically as 2102, 2104, and 2106) and an interface (depicted graphically as 2108) as nodes in the project "CashSales" 2101. Each package 2102, 2104, and 2106 represents a directory 2136, 2134, and 2132 that contains a portion of the object-oriented elements in the project. Each object-oriented element in the project has corresponding code stored in a respective file within the project. For example, in Fig. 21, class "SaleDM' 2109 in package "DataManagement" 2106 has corresponding code stored in file "SaleDM.java" 2110. Similarly, in package "ProblemDomain" 2104, class "CashSale" 2111, class "CashSaleDetail" 2113, interface "IMakeCashSale" 2115, class "ProductDesc" 2117, and class "ProductPrice" 2119 have corresponding code stored in files "CashSale.java" 2112, "CashSaleDetail.java" 2114, "IMakeCashSale.java" 2116, "ProductDesc.java" 2118, and "ProductPrice.java" 2120, respectively. Also in package "Userlnterface" 2102, class "CashSalesApp" 2131, class "POSFrame" 2123, class "POSFrame AboutBox" 2125, and class "SaleUI" 2127 have corresponding code stored in files "CashSalesApp.java" 2132, "POSFrame.java" 2124, "POSFrame_AboutBox.java" 2126, and "SaleUI.java" 2128, respectively. According to methods and systems consistent with the present invention, when a developer prompts the software development tool to open the project "CashSales" 2101, the software development tool parses code corresponding to each object-oriented element (i.e., a class or an interface having corresponding code) in each package into a respective data structure 300 of TMM 200 as discussed previously. The software development tool then generates the graphical representation of the code corresponding to each element in TMM 200 on the graphical pane 2138. In one implementation, when viewing the root directory of the project, such as indicated by "default" tab 2140, the software development tool displays a graphical representation of each package 2102, 2104, and 2106 as a node. Each node includes an indication of the object-oriented elements contained in each respective package. The graphical representation of the code corresponding to each element, however, is hidden from view in order to provide a developer with a more abstract perspective view of the project. For example, Userlnterface package 2102 includes an indication of class CashSalesApp 2131, however the graphical representation of the code corresponding to CashSalesApp is hidden from view. Figs. 22A and 22B depict a flow diagram illustrating an exemplary process performed by the software development tool to graphically represent multiple dependencies between two nodes in a project as a single dependency link. The steps are performed after the source code has been parsed and the graphical representation of the object-oriented elements in the source code has been displayed. Initially, the software development tool receives an indication of a type of dependency search (step 2202). In one implementation shown in Fig. 23, the software development tool receives the indication of the type of dependency search from a pull down menu selection 2302. Although the software development tool is depicted with a pull-down menu 2302, other known input techniques, such as a keyboard input or an icon selection, may also be used to convey the indication of the type of dependency search to the software development tool. In the implementation shown in Fig. 23, the type of declaration search is "declarations only" 2304 or "all usages" 2306. If the type of dependency search is "declarations only" 2304, the software development tool searches the element(s) in the dependent node for a declaration, a return value of methods, or an argument parameter for a reference to an element in the defining node. If the developer chooses "all usages" 2306 as the type of dependency search, the software development tool will also analyze the element(s) in the dependent node for a use of the defining element. Thus, the software development tool allows the developer to obtain a broad perspective of dependencies between nodes by limiting the analysis to "declarations only" 2304. However, the software development tool allows the developer to view all sources of dependencies to take corrective measures in the design of the code or determine potential impact to a change in the code by expanding the analysis performed by the software development tool to "all usages" 2306. After receiving an indication of the type of dependency search, the software development tool receives a request to identify a dependency (step 2203). As shown in the exemplary user interface 2400 depicted in Fig. 24, the software development tool may receive the request 2402 to identify a dependency via the developer making a selection from a pull down menu. However, any known data input technique, such as a keyboard input or an icon selection, may be used to convey the same information to the software development tool. The next step performed by the software development tool is to select a dependent node (step 2204). The software development tool also selects a defining node (step 2206). The software development tool then selects an element from the dependent node (step 2208). After selecting the element from the dependent node, the software development tool determines whether a declaration in the selected element refers to any element in the defining node, also known as the defining element (step 2210). As previously noted, a node may be a package, class, or interface that is graphically represented by the software development tool. For example, in Fig. 21, the software development tool displays nodes 2102, 2104, 2106, and 2108 in the project "CashSales" 2101, which graphically represent packages "Userlnterface" 2136, "ProblemDomain" 2134, and "DataManagement" 2132 as well as interface "IMakeCashSale" 2130, respectively. To determine whether a declaration in the code corresponding to the selected element refers to any defining element, the software development tool searches the source code of the selected element by invoking the TMM 200 to provide a declaration associated with the defining element. In another implementation, the software development tool may scan the file associated with the selected element to find a declaration in the code corresponding to the defining element. For example, in Fig. 25, if class "POSFrame" 2512 in node 2102 (i.e., package "Userlnterface") is the selected element, the software development tool searches the source code of class "POSFrame" 2502 to find the declaration "CashSale currentSale" 2504. The declaration 2504 refers to a defining element, "CashSale" 2506, that is in a different node, "ProblemDomain" 2104, i.e., the defining node. If no declaration in the selected element refers to any element in the defining node, the software development tool determines whether the type of dependency search is "all usages" (step 2212). If the developer chose to search "all usages," the software development tool determines whether a method in the selected element in the dependent node refers to any element in the defining node (step 2214). Thus, the software development tool determines whether the developer has requested a more extensive analysis. To determine whether a method in the selected element refers to an element in the defining node, the software development tool searches the source code of the selected element by invoking the TMM 200 to provide a method associated with the selected element. In another implementation, the software development tool scans the file associated with the selected element for a method header construct that includes an access specifier, a return type, a method name, and an argument field between parenthesis. For example, if the software development tool is searching the class "POSFrame" 2502 as the selected element, the software development tool will find the method header "private void setUpProducts( )" (not shown in Fig. 25) which identifies a method in code corresponding to class "POSFrame" 2502. In this implementation, the software development tool then searches the method body, i.e., the code that is in brackets "{ }" following the method header, to identify if the second class is used in a local variable definition, method invocation, or a constructor. As discussed above, a constructor is a special type of method invocation for initializing data fields in a newly created object of a class. For example, the constructor "new ProductDesc[10]" (not shown in Fig. 25) creates and initializes an object of the defining element, "ProductDesc" (graphically depicted as 2526) in the defining node, "ProblemDomain" 2104. Thus, in this instance, the software development tool would identify a dependency as the method in the class "POSFrame" 2512 in the node "Userlnterface" 2102 using the class "ProductDesc" 2526 in the node "ProblemDomain" 2104. In the event that the type of dependency search is not "all usages," the software development would not perform step 2214, thus hmiting the search to declarations in the selected element that refer to an element in the defining node. If no method in the selected element refers to any element in the defining node, or if the type of dependency search is not "all usages," the software development tool determines whether there are more elements in the dependent node (step 2218 in Fig. 22B). If there are more elements, processing continues with the next element at step 2208. For example, as shown in Fig. 25, if the software development tool completed its analysis of the code corresponding to "POSFrame" 2512 as the selected element, the software development tool recognizes that the associated dependent node, "User Interface" 2102, has three other elements "CashSalesApp" 2514, "POSFrame AboutBox" 2516 and "SaleUI" 2518. Thus, the software development tool will proceed to check the next element associated with the dependent node, "User Interface" 2102, when it is determined that each element in the dependent node has not been checked. Moreover, since the software development tool draws one dependent link regardless of how many dependencies exist between two nodes, the software development tool need not check all elements in each node. Once a dependency is found, the software development tool may proceed to the next node. If all elements in the dependent node have been analyzed, the software development tool determines whether there are any more defining nodes (step 2220). If there are more defining nodes, processing continues with the next defining node at step 2206. If all defining nodes have been analyzed, the software development tool determines whether there are any more dependent nodes (step 2222). If there are more dependent nodes, processing continues with the next dependent node at step 2204. If all dependent nodes have been analyzed, processing ends. If at step 2210 or 2214, the software development tool determines that a dependency exists between the dependent node and the defining node, the software development tool displays a single dependency link from the dependent node to the defining node (step 2216). Processing then continues at step 2220. For example, as shown in Fig. 25, the software development tool displays the dependency link 2510 in response to identifying that the class "POSFrame" 2512 in the dependent node "Userlnterface" 2102 refers to the class "ProductDesc" 2526 in the defining node, "ProblemDomain" 2104. The dependency link 2510 is displayed as a broken arrow pointing from the dependent node 2102 to the defining node 2104 to visually signify that the package "Userlnterface" has a dependent element that uses a defining element contained in the package "ProblemDomain." If the user were to display the object-oriented elements within package 2102, the software development tool would display exemplary user interface 2600 depicted in Fig. 26. As discussed above, class "POSFrame" 2512 within package "Userlnterface" 2102 refers to class "ProdDesc" 2526. In Fig. 26, package "Userlnterface" is represented by tab 2602, class "POSFrame" is represented by node 2608, and "ProdDesc" 2526 is an element in package "ProblemDomain.ProductDesc" represented by node 2606. In response to determining that a method in class "POSFrame" 2608 refers to class "ProductDesc" 2526 in package "ProblemDomain.ProductDesc," the software development tool displays the dependency link 2604 between class "POSFrame" 2608 and package "ProblemDomainProductDesc" 2606. In the example depicted in Fig. 25, the software development tool identifies a single dependency link 2520 when the dependent node is "ProblemDomain" 2104 and the defining node is "DataManagement" 2106. The software development tool also identifies a single dependency link 2524 when the dependent node is "DataManagement" 2106 and the defining node is "ProblemDomain" 2104. Thus, in one implementation, the software development tool displays two dependency links between two nodes in opposite directions to represent dependencies in both directions. In an alternative embodiment, a single link (not shown) may be used to represent the dependency links in opposite directions. In an alternative implementation, the software development tool identifies at least two dependencies between the dependent node and the defining node before displaying a single dependency link between the two nodes. Figs. 27A and 27B depict a flow diagram illustrating this embodiment. As with the previous embodiment, the steps are performed after the source code has been parsed and the graphical representation of the object-oriented elements in the source code has been displayed. Moreover, the initial steps performed by the software development tool are the same as with the previous embodiment. Thus, the software development tool initially receives an indication of a type of dependency search (step 2702). After receiving an indication of the type of dependency search, the software development tool receives a request to identify a dependency (step 2703). The next step performed by the software development tool is to select a dependent node (step 2704). The software development tool also selects a defining node (step 2706). The software development tool then selects an element from the dependent node (step 2708). After selecting the element from the dependent node, the software development tool determines whether a declaration in the selected element refers to any element in the defining node, also known as the defining element (step 2710). If no declaration in the selected element refers to any element in the defining node, the software development tool determines whether the type of dependency search is "all usages" (step 2712). If the developer chose to search "all usages," the software development tool determines whether a method in the selected element refers to any element in the defining node (step 2714). If the software development tool determines that a dependency exists between the selected element and the defining node, i.e., if a method in the selected element refers to any element in the defining node or if a declaration in the selected element refers to an element in the defining node, the software development tool determines whether the second declaration in the selected element refers to any element in the defining node (step 2716 in Fig. 27B). If the second declaration refers to any element in the defining node, i.e., if a second dependency between the dependent node and the defining node is found, then the software development tool displays the dependency link from the dependent node to the defining node (step 2722). If the second declaration does not refer to any element in the defining node, then the software development tool determines whether the type of dependency search is "all usages" (step 2718). If the type of dependency search is "all usages," then the software development tool determines whether a second method in the selected element refers to any element in the defining node (step 2720). If the second method refers to an element in the defining node, then the software development tool displays the dependency link (step 2722). If the second dependency is not identified at steps 2716 or 2720, the software development tool determines whether there are more elements in the dependent node (step 2724). Also, if the type of dependency search in step 2712 is not "all usages," the software development tool determines whether there are more elements in the dependent node (step 2724). If there are more elements, processing continues with the next element at step 2708. If all elements in the dependent node have been analyzed, the software development tool determines whether there are any more defining nodes (step 2726). If there are more defining nodes, processing continues with the next defining node at step 2706. If ah defining nodes have been analyzed, the software development tool determines whether there are any more dependent nodes (step 2728). If there are more dependent nodes, processing continues with the next dependent node at step 2704. If all dependent nodes have been analyzed, processing ends. Identifying and Displaying Details Regarding Dependencies Methods and systems consistent with the present invention identify and display details for each dependency in a project to assist the developer in analyzing the code. Conventional tools identify the existence of dependencies between object-oriented elements, but fail to provide the developer with details regarding the types of dependencies between nodes and the elements within the nodes between which the dependencies exist. Thus, the developer must search the code to identify the particular dependencies that exist between the nodes. Methods and systems consistent with the present invention provide the developer with a list identifying the defining element, the dependent element, and the usage that results in the dependency. With this information, the developer can modify the code to reduce the number of dependencies between the nodes. With fewer dependencies, any further changes to the code are less likely to affect other parts of the code. Figs. 28A, 28B, and 28C depict a flow diagram illustrating an exemplary process performed by the software development tool to identify and display the specific elements and usage that result in each dependency between a dependent node and a defining node. The software development tool initially receives an indication of a dependency link from a dependent node to a defining node (step 2802). In one implementation, the software development tool searches the code or the TMM, as described above, to identify the dependencies. Alternatively, if dependency links are already drawn, for example as displayed on the graphical pane 2904 in Fig. 29, the software development tool receives the display coordinates for the single dependency link 2902 when a developer uses a mouse or stylus to click on the single dependency link 2902. The TMM 200 identifies the symbol associated with the received display coordinates and provides this information to the software development tool, which correlates and stores the display coordinates of the single dependency link 2902 with the associated dependent node 2102, "Userlnterface." In another implementation, the software development tool may store the display coordinates of the single dependency link 2902 with the associated defining node "ProblemDomain" 2104. The identified single dependency link 2902 limits the scope of a subsequent dependency search or analysis by the software development tool to the object-oriented elements in the dependent node "Userlnterface" 2102, i.e., it hmits the search to class "CashSalesApp" 2906, class "POSFrame" 2908, class "POSFrame AboutBox" 2910, and class "SaleUI" 2912. In addition, the identified single dependency link limits the search or analysis to identifying the use of the object-oriented elements in the defining node "ProblemDomain" 2104, i.e., it limits the search to class "CashSale" 2914, class "CashSaleDetail" 2916, class "ProductDesc" 2918, class "ProductPrice" 2220, and class "InsuffPaymentException" 2922. The software development tool also receives an indication of a type of dependency search (step 2804). A developer may indicate to the software development tool the type of dependency search by any known programming input technique, such as selection of an option on a pull down menu, or a keyboard input. In another implementation, the software development tool may receive the indication of the type of dependency search from a system variable, such as a dependency check system variable 2302 shown in Fig. 23. In this implementation, the type of dependency search may be "declarations only" 2304 or "all usages" 2306. This allows the software development tool to limit the dependencies reflected by a single dependency link to only declarations. Examples of such declarations are the attribute declaration "private CashSale theCashSale" 2924 shown in Fig. 29 as code in class "SaleUI" 2926, or the declaration "Product aProd" made as an argument parameter for the method "addItem(Product aProd)" 2008 in Fig. 20. The software development tool also receives a request to display dependencies reflected by the selected single dependency link (step 2806). In one implementation, the request to display dependencies may be received at the same time and be synonymous with the indication of a dependency link in step 2802. In another implementation shown in Fig. 29, the software development tool may receive the request via a developer selecting the option 2928 on a pull down menu. However, any known programming input technique may be used to indicate the request to the software development tool. Having received the request to display dependencies, the software development tool limits the dependency search to the identified dependent node, "Userlnterface" 2102. The software development tool then selects a dependent element from the dependent node (step 2808). The software development tool also selects a declaration from the dependent element (step 2810). The software development tool determines whether the selected declaration uses a defining element in the defining node (step 2812). In one implementation, the software development tool invokes the TMM 200 to identify each declaration in the corresponding code of the dependent element. In another implementation, the software development tool scans the code of the dependent element to find a declaration. For example, Fig. 30 depicts exemplary code corresponding to class "POSFrame" 3002. Class "POSFrame" 2123 is depicted graphically in Fig. 21 in relation to the dependent node 2102, "Userlnterface." By invoking the TMM 200 or by scanning the file 2124, the software development tool identifies the declaration "ProductDesc[] products" 3004. The software development tool then determines that the declaration 3004 has an attribute type "ProductDescf]" 3006 that refers to the defining element, class "ProductDesc" 3102, shown in Fig. 31. Class "ProductDesc" 2918 is depicted graphically in Fig. 29 in relation to the defining node "ProblemDomain" 2104. Having identified that the declaration 3004 refers to the defining element 3006 in the defining node 2104, the software development tool records the usage of the defining element in the selected declaration of the dependent element (step 2814). The software development tool then displays an indication that the dependent element uses the defining element (step 2816). The software development tool also displays the usage (step 2818). The software development tool then checks whether there are any more declarations (step 2820). The software development tool also checks for additional declarations if the selected declaration does not use a defining element in the defining node. If there are more declarations, processing continues at step 2810 with the next declaration from the dependent element. If there are no more declarations in the dependent element, the software development tool determines whether the type of dependency search is "all usages" (step 2822 in Fig. 28B). If the search is not for "all usages," the software development tool determines whether there are any more dependent elements (step 2824). If there are more dependent elements, processing continues at step 2808 with the next dependent element from the dependent node. If there are no more dependent elements, processing is complete. If the type of dependency search is "all usages," the software development tool will also identify and display dependencies from a dependent element having a method that refers to a defining element. The software development tool selects a method in the dependent element (step 2826 in Fig. 28C). The software development tool then selects a defining element from the defining node (step 2828). The software development tool determines whether the selected method refers to the defining element (step 2830). In determining whether the corresponding code of the dependent element has a method that refers to the defining element, the software development tool may invoke the TMM 200 to identify a method associated with the dependent element. In another implementation, the software development tool may scan the code of the dependent element to identify a method header and a method body that is in brackets (i.e., "{ }") following the method header. The software development tool may then search the body of the identified method for a usage of the defining element, such as in a local variable declaration, in a method invocation, or in a constructor. For example, the code for class "POSFrame" 3002 in Fig. 30 includes a method header 3010 for the method "setUpProducts" 3014. When analyzing the body 3012 of the method "setUpProducts" 3014 in the class "POSFrame" 3002, the software development tool identifies a constructor used in a local variable assignment (i.e., "products = new ProductDesc [10]" 3016). The software development tool determines that the constructor in the local variable assignment 3016 refers to "ProductDesc( )" 3104 defined in the defining element, class "ProductDesc" 3102 in Fig. 31. If the software development tool determines that the selected method refers to the defining element, the software development tool records the usage of the defining element in the selected method (step 2832). Thus, the software development tool stores the dependent element, class "POSFrame" 3002, and the defining element, class "ProductDesc" 3102, as well as the actual usage of the defining element within the dependent element so that a developer is aware of a cause of the identified dependency. Thus, the software development tool records the constructor in the local variable assignment 3016, in Fig. 30. The software development tool displays an indication that the dependent element uses the defining element (step 2834). The software development tool then displays the usage (step 2836). In one implementation, as shown in Fig. 32, the software development tool displays the indication that the dependent element in the dependent node uses the defining element in the defining node by displaying an expandable directory tree with a root name that corresponds to the name of the dependent node and the name of the dependent element. Thus, for dependent node "Userlnterface" and dependent element "POSFrame," the root name is "Userlnterface.POSFrame" 3202. The software development tool also displays a dependent branch of the tree with a dependent branch name that corresponds to the name of the defining node and the name of the defining element. Thus for defining node "ProblemDomain" and defining element "ProductDesc," the dependent branch name is "ProblemDomain.ProductDesc" 3204. In this implementation, the software development tool displays each recorded usage as a respective name of a second branch off of the dependent branch. For example, a second branch 3206 off the dependent branch 3204 has a name corresponding to "ProductDesc[] products," which is the exemplary usage in the dependent element, class "POSFrame" 3002, recorded by the software development tool when the type of dependency search is "declarations only." In the example shown in Fig. 33, when the type of dependency search is "all usages," the software development tool also displays the recorded usage of the defining element in the method of the dependent element. For example, the software development tool displays the local variable assignment with the constructor 3016 in Fig. 30, as a recorded usage 3302 in Fig. 33. After displaying the usage, the software development tool checks whether there are any more defining elements (step 2838). The software development tool also checks whether there are any more defining elements if the selected method does not refer to defining elements. If there are more defining elements, processing continues at step 2828 with the next defining element from the defining node. Otherwise, the software development tool determines whether there are any more methods in the dependent element (step 2840). If so, processing continues at step 2826 with the next method in the dependent element. If there are no more methods, processing continues at step 2824. Returning to the example shown in Fig. 32, the software development tool also identifies and records the indication that the dependent element, class "POSFrame" 3002, also uses another element, class "CashSale," in the defining node 2104, "ProblemDomain." This indication is displayed as a dependent branch "ProblemDomainCashSale" 3208 of the expandable directory tree for "Userlnterface.POSFrame" 3202. The recorded usage "CashSale currentSale" 3210 of the defining element, class "CashSale," in the defining node 2104 is also displayed by the software development tool. In response to performing the process in Figs. 28 A, 28B and 28C, the software development tool identifies, records, and displays the multiple dependencies 3212, in Fig. 32, when the single dependency link 2510 is selected and when the type of dependency search is "declarations only." Similarly, the software development tool identifies, records, and displays the multiple dependencies 3310, in Fig. 33, when the single dependency link 2510 is selected and when the type of dependency search is "all usages." Methods and systems consistent with the present invention also allow a developer to track the dependencies between object-oriented elements when the elements are removed from their corresponding packages. For example, the effect of removing class "POSFrame" 3002 from package "Userlnterface" 2102 and creating a new node for the removed class is depicted in Fig. 34. As depicted in Figs. 32 and 33, the dependencies represented by link 2510 include dependencies from class "POSFrame," as identified by branch "Userlnterface.POSFrame" 3202. If class POSFrame is removed from package Userlnterface and a new node 3404 is created for class POSFrame, the software development tool will distinguish the dependencies originating from package "Userlnterface" 2102 from those of class POSFrame 3404. Graphically, the dependencies from package Userlnterface are illustrated as hnk 3402, whereas the dependencies from class POSFrame are illustrated as link 3406. The software development tool, in accordance with methods and systems consistent with the present invention, also allow a developer to manually draw a dependency between two nodes to determine whether any dependencies exist between those specific nodes. For example, Fig. 35 depicts an exemplary user interface displayed by the software development tool, where the exemplary user interface reflects a diagrammatic request 3504 received by the software development tool to form a dependency link between a selected dependent node 2102 and a selected defining node 2108. In the implementation shown in Fig. 35, the software development tool receives an indication to form a manual dependency link via an actuation of a button 3502 on the user interface screen 3500. In this implementation, the developer may indicate the dependent node 2102 to the software development tool via a mouse click on the dependent node 2102. The developer may then indicate the defining node 2108 to the software development tool by dragging and dropping a cursor on the defining node 2108 to complete the diagrammatic request 3504. As shown in Fig. 36, the software development tool forms the manual dependency link 3602 in response to the indication to form the manual dependency link 3502 and the diagrammatic request 3504. The manual dependency link 3602 may not reflect any dependencies between the dependent node 2102 and the defining node 2108. The dependency link may, however, serve as visual reminder to the developer to create a dependency between the two nodes as the developer incorporates changes into the code corresponding to the dependent node 2102. Also, as shown in Fig. 36, in response to performing the process in Figs. 28A, 28B and 28C when the identified single dependency link is the manual dependency link 3602, the software development tool displays a no dependencies message 3604 to indicate that no element in the dependent node 2102 uses or is dependent on any element in the defining node 2108. While various embodiments of the application have been described, it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible that are within the scope of this invention. Accordingly, the invention is not to be restricted except in hght of the attached claims and their equivalents.

Claims: CLAIMS What is claimed is: 1. A method in a data processing system having a dependent node, a defining node, and a plurahty of dependencies between the dependent node and the defining node, the method comprising the steps of: displaying a graphical representation of the dependent node; displaying a graphical representation of the defining node; receiving an indication to identify a dependency between the dependent node and the defining node; and in response to receiving the indication to identify the dependency, representing the plurality of dependencies as a number of links that is less than a number of the dependencies between the dependent node and the defining node. 2. The method of claim 1, wherein the plurality of dependencies is represented as a single link. 3. The method of claim 1 , wherein each node comprises an element. 4. The method of claim 3, wherein one of the plurality of dependencies comprises a use of the defining node element by the dependent node element. 5. The method of claim 3, wherein one of the plurality of dependencies comprises a declaration of the defining node element by the dependent node element. 6. The method of claim 3, wherein one of the plurality of dependencies comprises a call to a method of the defining node element by the dependent node element. 7. The method of claim 3, wherein one of the plurality of dependencies comprises a local variable definition using the defining node element in a method of the dependent node element. 8. The method of claim 3, wherein the dependent node element comprises a class. 9. The method of claim 3, wherein the dependent node element comprises an interface. 10. The method of claim 3, wherein the defining node element comprises a class. 11. The method of claim 3, wherein the defining node element comprises an interface. 12. The method of claim 1, wherein the dependent node comprises a class. 13. The method of claim 1, wherein the dependent node comprises an interface. 14. The method of claim 1, wherein the dependent node comprises a package. 15. The method of claim 14, wherein the package comprises a plurality of elements. 16. The method of claim 15, wherein one of the plurality of elements comprises a class. 17. The method of claim 15, wherein one of the plurality of elements comprises an interface. 18. The method of claim 1, wherein the defining node comprises a class. 19. The method of claim 1, wherein the defining node comprises an interface. 20. The method of claim 1, wherein the defining node comprises a package. 21. The method of claim 20, wherein the package comprises a plurality of elements. 22. The method of claim 21, wherein one of the plurality of elements comprises a class. 23. The method of claim 21, wherein one of the plurality of elements comprises an interface. 24. A method in a data processing system having a plurahty of nodes, each of the plurahty of nodes having corresponding code, the method comprising the steps of: displaying a graphical representation of the plurality of nodes; determining whether the code corresponding to a first of the plurality of nodes contains a first use of a second of the plurahty of nodes; and when it is determined that the code corresponding to the first node contains the first use of the second node, determining whether the code corresponding to the first node contains a second use of the second node; and when it is determined that the code corresponding to the first node contains the second use of the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. 25. The method of claim 24, wherein the first use comprises a declaration. 26. The method of claim 25, wherein the step of determining whether the code corresponding to the first node contains the first use of the second node comprises the step of searching the code corresponding to the first node for an attribute declaration that uses the second node. 27. The method of claim 25, wherein the step of determining whether the code corresponding to the first node contains the first use of the second node comprises the step of searching the code corresponding to the first node for an initializer of an attribute declaration that uses the second node. 28. The method of claim 25, wherem the step of determining whether the code corresponding to the first node contams the first use of the second node comprises the step of searching the code corresponding to the first node for an argument parameter of a method that uses the second node. 29. The method of claim 24, wherein the first use comprises a method call. 30. The method of claim 24, wherein the first use of the second node comprises a local variable definition using the second node in a method of the first node. 31. The method of claim 24, wherein the first node comprises a class. 32. The method of claim 24, wherein the first node comprises an interface. 33. The method of claim 24, wherein the first node comprises a package. 34. The method of claim 24, wherein the second node comprises a class. 35. The method of claim 24, wherein the second node comprises an interface. 36. The method of claim 24, wherein the second node comprises a package. 37. A method in a data processing system having a plurahty of nodes, each of the plurahty of nodes having corresponding code, the method comprising the steps of: displaying a graphical representation of the plurality of nodes; determining whether the code corresponding to a first of the plurality of nodes contains a declaration of the second node; and when it is determined that the code corresponding to the first node contains the declaration of the second node, determining whether the code corresponding to the first node contains another declaration of the second node; and when it is determined that the code corresponding to the first node contains the other declaration of the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. 38. The method of claim 37, wherein when it is determined that the code corresponding to the first node does not contain the other declaration of the second node, determining whether the code corresponding to the first node contains a call to a method of the second node; and when it is determined that the code corresponding to the first node contains the call to the method of the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. 39. The method of claim 37, wherein when it is determined that the code corresponding to the first node does not contain the other declaration of the second node, determining whether the code corresponding to the first node comprises a method having a local variable definition using the second node; and when it is determined that the code corresponding to the first node comprises a method having the local variable definition using the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. 40. The method of claim 37, wherein the first node comprises a class. 41. The method of claim 37, wherein the first node comprises an interface. 42. The method of claim 37, wherein the first node comprises a package. 43. The method of claim 37, wherein the second node comprises a class. 44. The method of claim 37, wherein the second node comprises an interface. 45. The method of claim 37, wherein the second node comprises a package. 46. A method in a data processing system having a first node and a second node, each of the nodes having corresponding code, the second node having a method, the method comprising the steps of: displaying a graphical representation of the first node and the second node; determining whether the code corresponding to the first node contains a call to the method of the second node; and when it is determined that the code corresponding to the first node contains the call to the method of the second node, determining whether the code corresponding of the first node contains another call to the method of the second node; and when it is determined that the code corresponding to the first node contains the other call to the method of the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. 47. The method of claim 46, wherein when it is determined that the code corresponding to the first node does not contain the other call to the method of the second node, determining whether the code corresponding to the first node comprises a method having a local variable definition using the second node; and when it is determined that the code corresponding to the first node comprises a method having the local variable definition using the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. 48. The method of claim 46, wherein when it is determined that the code corresponding to the first node does not contain the other call to the method of the second node, determining whether the code corresponding to the first node contains a declaration of the second node; and when it is determined that the code corresponding to the first node contains the declaration of the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. 49. The method of claim 46, wherein the first node comprises a class. 50. The method of claim 46, wherein the first node comprises an interface. 51. The method of claim 46, wherein the first node comprises a package. 52. The method of claim 46, wherein the second node comprises a class. 53. The method of claim 46, wherein the second node comprises an interface. 54. The method of claim 46, wherein the second node comprises a package. 55. A method in a data processing system having a plurahty of nodes, each of the plurahty of nodes having corresponding code, the method comprising the steps of: receiving an indication of a first of the plurality of nodes; receiving an indication of a second of the plurality of nodes; determining whether the code corresponding to the first node contains a first use and a second use of the second node; and when it is determined that the code corresponding to the first node contains the first use and the second use of the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. 56. The method of claim 55, wherein the first use comprises a declaration. 57. The method of claim 55, wherein the first use comprises a method call. 58. The method of claim 55, wherein the first use of the second node comprises a local variable definition using the second node in a method of the first node. 59. The method of claim 55, wherein the first node comprises a class. 60. The method of claim 55, wherein the first node comprises an interface. 61. The method of claim 55, wherein the first node comprises a package. 62. The method of claim 55, wherein the second node comprises a class. 63. The method of claim 55, wherein the second node comprises an interface. 64. The method of claim 55, wherein the second node comprises a package. 65. A method in a data processing system having a plurahty of nodes, each of the plurahty of nodes having corresponding code, the method comprising the steps of: receiving an indication of a first of the plurality of nodes; receiving an indication of a second of the plurality of nodes; determining whether the code corresponding to the first node contains a declaration of the second node; and when it is determined that the code corresponding to the first node contains the declaration of the second node, determining whether the code corresponding to the first node contains another declaration of the second node; and when it is determined that the code corresponding to the first node contains the other declaration of the second node, displaying a dependency hnk between the graphical representation of the first node and the graphical representation of the second node. 66. The method of claim 65, wherein the first node comprises a class. 67. The method of claim 65, wherein the first node comprises an interface. 68. The method of claim 65, wherein the first node comprises a package. 69. The method of claim 65, wherein the second node comprises a class. 70. The method of claim 65, wherein the second node comprises an interface. 71. The method of claim 65, wherein the second node comprises a package. 72. A method in a data processing system having a plurahty of nodes, each of the plurahty of nodes having corresponding code, the method comprising the steps of: receiving an indication of a first of the plurality of nodes; receiving an indication of a second of the plurality of nodes, wherein the second node has a method; determining whether the code corresponding to the first node contains a call to the method of the second node; and when it is determined that the code corresponding to the first node contains the call to the method of the second node, determining whether the code corresponding of the first node contains another call to the method of the second node; and when it is determined that the code corresponding to the first node contains another call to the method of the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. 73. The method of claim 72, wherein the first node comprises a class. 74. The method of claim 72, wherein the first node comprises an interface. 75. The method of claim 72, wherein the first node comprises a package. 76. The method of claim 72, wherein the second node comprises a class. 77. The method of claim 72, wherein the second node comprises an interface. 78. The method of claim 72, wherein the second node comprises a package. 79. A method in a data processing system having a plurahty of nodes, each of the plurahty of nodes having corresponding code, the method comprising the steps of: receiving an indication of a first of the plurality of nodes; receiving an indication of a second of the plurality of nodes; determining whether the code corresponding to the first node contains a use of the second node; and when it is determined that the code corresponding to the first node contains the use of the second node, displaying the usage of the second node by the first node. 80. The method of claim 79, wherein each node comprises an element. 81. The method of claim 79, wherein when it is determined that the code corresponding to the first node contains the use of the second node, the method further comprises the step of displaying the first node element. 82. The method of claim 81, further comprising the step of displaying the first node with the first node element and with the usage to visually indicate that the first node contains the usage of the second node. 83. The method of claim 79, wherein when it is determined that the code corresponding to the first node contains the use of the second node, the method further comprises the step of displaying the second node element. 84. The method of claim 83, further comprising the step of displaying the second node with the second node element and with the usage to visually indicate that the first node contains the usage of the second node. 85. The method of claim 79, wherein the first node comprises a class. 86. The method of claim 79, wherein the first node comprises an interface. 87. The method of claim 79, wherein the first node comprises a package. 88. The method of claim 79, wherein the second node comprises a class. 89. The method of claim 79, wherein the second node comprises an interface. 90. The method of claim 79, wherein the second node comprises a package. 91. A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having a dependent node, a defining node, and a plurality of dependencies between the dependent node and the defining node, the method comprising the steps of: displaying a graphical representation of the dependent node; displaying a graphical representation of the defining node; receiving an indication to identify a dependency between the dependent node and the defining node; and in response to receiving the indication to identify the dependency, representing the plurality of dependencies as a number of links that is less than a number of the dependencies between the dependent node and the defining node. 92. The computer-readable medium of claim 91, wherein the plurality of dependencies is represented as a single link. 93. The computer-readable medium of claim 91, wherein each node comprises an element. 94. The computer-readable medium of claim 93, wherein one of the plurality of dependencies comprises a use of the defining node element by the dependent node element. 95. The computer-readable medium of claim 93, wherein one of the plurality of dependencies comprises a declaration of the defining node element by the dependent node element. 96. The computer-readable medium of claim 93, wherein one of the plurality of dependencies comprises a call to a method of the defining node element by the dependent node element. 97. The computer-readable medium of claim 93, wherein one of the plurality of dependencies comprises a local variable definition using the defining node element in a method of the dependent node element. 98. The computer-readable medium of claim 93, wherein the dependent node element comprises a class. 99. The computer-readable medium of claim 93, wherein the dependent node element comprises an interface. 100. The computer-readable medium of claim 93, wherein the defining node element comprises a class. 101. The computer-readable medium of claim 93, wherein the defining node element comprises an interface. 102. The computer-readable medium of claim 91, wherein the dependent node comprises a class. 103. The computer-readable medium of claim 91, wherein the dependent node comprises an interface. 104. The computer-readable medium of claim 91, wherein the dependent node comprises a package. 105. The computer-readable medium of claim 104, wherein the package comprises a plurahty of elements. 106. The computer-readable medium of claim 105, wherein one of the plurality of elements comprises a class. 107. The computer-readable medium of claim 105, wherein one of the plurality of elements comprises an interface. 108. The computer-readable medium of claim 91, wherein the defining node comprises a class. 109. The computer-readable medium of claim 91, wherein the defining node comprises an interface. 110. The computer-readable medium of claim 91, wherein the defining node comprises a package. 111. The computer-readable medium of claim 110, wherein the package comprises a plurahty of elements. 112. The computer-readable medium of claim 111, wherein one of the plurality of elements, comprises a class. 113. The computer-readable medium of claim 111, wherein one of the plurality of elements comprises an interface. 114. A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having a plurality of nodes, each of the plurality of nodes having corresponding code, the method comprising the steps of: displaying a graphical representation of the plurality of nodes; determining whether the code corresponding to a first of the plurality of nodes contains a first use of a second of the plurahty of nodes; and when it is determined that the code corresponding to the first node, contains the first use of the second node, determining whether the code corresponding to the first node contains a second use of the second node; and when it is determined that the code corresponding to the first node contains the second use of the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. 115. The computer-readable medium of claim 114, wherein the first use comprises a declaration. 116. The computer-readable medium of claim 115, wherein the step of determining whether the code corresponding to the first node contains the first use of the second node comprises the step of searching the code corresponding to the first node for an attribute declaration that uses the second node. 117. The computer-readable medium of claim 115, wherein the step of determining whether the code corresponding to the first node contains the first use of the second node comprises the step of searching the code corresponding to the first node for an initializer of an attribute declaration that uses the second node. 118. The computer-readable medium of claim 115, wherein the step of determining whether the code corresponding to the first node contains the first use of the second node comprises the step of searching the code corresponding to the first node for an argument parameter of a method that uses the second node. 119. The computer-readable medium of claim 114, wherein the first use comprises a method call. 120. The computer-readable medium of claim 114, wherein the first use of the second node comprises a local variable definition using the second node in a method of the first node. 121. The computer-readable medium of claim 114, wherein the first node comprises a class. 122. The computer-readable medium of claim 114, wherein the first node comprises an interface. 123. The computer-readable medium of claim 114, wherein the first node comprises a package. 124. The computer-readable medium of claim 114, wherein the second node comprises a class. 125. The computer-readable medium of claim 114, wherein the second node comprises an interface. 126. The computer-readable medium of claim 114, wherein the second node comprises a package. 127. A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having a plurality of nodes, each of the plurality of nodes having corresponding code, the method comprising the steps of: displaying a graphical representation of the plurality of nodes; determining whether the code corresponding to a first of the plurahty of nodes contains a declaration of the second node; and when it is determined that the code corresponding to the first node contains the declaration of the second node, determining whether the code corresponding to the first node contains another declaration of the second node; and when it is determined that the code corresponding to the first node contains the other declaration of the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. 128. The computer-readable medium of claim 127, wherein when it is determined that the code corresponding to the first node does not contain the other declaration of the second node, the method further comprises the steps of: determining whether the code corresponding to the first node contains a call to a method of the second node; and when it is determined that the code corresponding to the first node contains the call to the method of the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. 129. The computer-readable medium of claim 127, wherein when it is determined that the code corresponding to the first node does not contain the other declaration of the second node, the method further comprises the steps of: determining whether the code corresponding to the first node comprises a method having a local variable definition using the second node; and when it is determined that the code corresponding to the first node comprises a method having the local variable definition using the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. 130. The computer-readable medium of claim 127, wherein the first node comprises a class. 131. The computer-readable medium of claim 127, wherein the first node comprises an interface. 132. The computer-readable medium of claim 127, wherein the first node comprises a package. 133. The computer-readable medium of claim 127, wherein the second node comprises a class. 134. The computer-readable medium of claim 127, wherein the second node comprises an interface. 135. The computer-readable medium of claim 127, wherein the second node comprises a package. 136. A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having a first node and a second node, each of the nodes having corresponding code, the second node having a method, the method comprising the steps of: displaying a graphical representation of the first node and the second node; determining whether the code corresponding to the first node contains a call to the method of the second node; and when it is determined that the code corresponding to the first node contains the call to the method of the second node, determining whether the code corresponding of the first node contains another call to the method of the second node; and when it is determined that the code corresponding to the first node contains the other call to the method of the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. 137. The computer-readable medium of claim 136, wherein when it is determined that the code corresponding to the first node does not contain the other call to the method of the second node, the method further comprises the steps of: determining whether the code corresponding to the first node comprises a method having a local variable definition using the second node; and when it is determined that the code corresponding to the first node comprises a method having the local variable definition using the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. 138. The computer-readable medium of claim 136, wherein when it is determined that the code corresponding to the first node does not contain the other call to the method of the second node, the method further comprises the steps of: determining whether the code corresponding to the first node contains a declaration of the second node; and when it is determined that the code corresponding to the first node contains the declaration of the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. 139. The computer-readable medium of claim 136, wherein the first node comprises a class. 140. The computer-readable medium of claim 136, wherein the first node comprises an interface. 141. The computer-readable medium of claim 136, wherein the first node comprises a package. 142. The computer-readable medium of claim 136, wherein the second node comprises a class. 143. The computer-readable medium of claim 136, wherein the second node comprises an interface. 144. The computer-readable medium of claim 136, wherein the second node comprises a package. 145. A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having a plurality of nodes, each of the plurality of nodes having corresponding code, the method comprising the steps of: receiving an indication of a first of the plurality of nodes; receiving an indication of a second of the plurality of nodes; determining whether the code corresponding to the first node contains a first use and a second use of the second node; and when it is determined that the code corresponding to the first node contains the first use and the second use of the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. 146. The computer-readable medium of claim 145, wherein the first use comprises a declaration. 147. The computer-readable medium of claim 145, wherein the first use comprises a method call. 148. The computer-readable medium of claim 145, wherein the first use of the second node comprises a local variable definition using the second node in a method of the first node. 149. The computer-readable medium of claim 145, wherein the first node comprises a class. 150. The computer-readable medium of claim 145, wherein the first node comprises an interface. 151. The computer-readable medium of claim 145, wherein the first node comprises a package. 152. The computer-readable medium of claim 145, wherein the second node comprises a class. 153. The computer-readable medium of claim 145, wherein the second node comprises an interface. 154. The computer-readable medium of claim 145, wherein the second node comprises a package. 155. A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having a plurality of nodes, each of the plurality of nodes having corresponding code, the method comprising the steps of: receiving an indication of a first of the plurality of nodes; receiving an indication of a second of the plurality of nodes; determining whether the code corresponding to the first node contains a declaration of the second node; and when it is determined that the code corresponding to the first node contains the declaration of the second node, determining whether the code corresponding to the first node contains another declaration of the second node; and when it is determined that the code corresponding to the first node contains the other declaration of the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. 156. The computer-readable medium of claim 155, wherein the first node comprises a class. 157. The computer-readable medium of claim 155, wherein the first node comprises an interface. 158. The computer-readable medium of claim 155, wherein the first node comprises a package. 159. The computer-readable medium of claim 155, wherein the second node comprises a class. 160. The computer-readable medium of claim 155, wherein the second node comprises an interface. 161. The computer-readable medium of claim 155, wherein the second node comprises a package. 162. A computer-readable medium containing instructions for controUing a data processing system to perform a method, the data processing system having a plurality of nodes, each of the plurality of nodes having corresponding code, the method comprising the steps of: receiving an indication of a first of the plurality of nodes; receiving an indication of a second of the plurality of nodes, wherein the second node has a method; determining whether the code corresponding to the first node contains a call to the method of the second node; and when it is determined that the code corresponding to the first node contains the call to the method of the second node, determining whether the code corresponding of the first node contains another call to the method of the second node; and when it is determined that the code corresponding to the first node contains another call to the method of the second node, displaying a dependency link between the graphical representation of the first node and the graphical representation of the second node. 163. The computer-readable medium of claim 162, wherein the first node comprises a class. 164. The computer-readable medium of claim 162, wherein the first node comprises an interface. 165. The computer-readable medium of claim 162, wherein the first node comprises a package. 166. The computer-readable medium of claim 162, wherein the second node comprises a class. 167. The computer-readable medium of claim 162, wherein the second node comprises an interface. 168. The computer-readable medium of claim 162, wherein the second node comprises a package. 169. A computer-readable medium containing instructions for controlling a data processing system to perform a method, the data processing system having a plurality of nodes, each of the plurality of nodes having corresponding code, the method comprising the steps of: receiving an indication of a first of the plurality of nodes; receiving an indication of a second of the plurality of nodes; determining whether the code corresponding to the first node contains a use of the second node; and when it is determined that the code corresponding to the first node contains the use of the second node, displaying the usage of the second node by the first node. 170. The computer-readable medium of claim 169, wherein each node comprises an element. 171. The computer-readable medium of claim 169, wherein when it is determined that the code corresponding to the first node contains the use of the second node, the method further comprises the step of displaying the first node element. 172. The computer-readable medium of claim 171, wherein the method further comprises the step of displaying the first node with the first node element and with the usage to visually indicate that the first node contains the usage of the second node. 173. The computer-readable medium of claim 169, wherein when it is determined that the code corresponding to the first node contains the use of the second node, the method further comprises the step of displaying the second node element. 174. The computer-readable medium of claim 173, wherein the method further comprises the step of displaying the second node with the second node element and with the usage to visually indicate that the first node contains the usage of the second node. 175. The computer-readable medium of claim 169, wherein the first node comprises a class. 176. The computer-readable medium of claim 169, wherein the first node comprises an interface. 177. The computer-readable medium of claim 169, wherein the first node comprises a package. 178. The computer-readable medium of claim 169, wherein the second node comprises a class. 179. The computer-readable medium of claim 169, wherein the second node comprises an interface. 180. The computer-readable medium of claim 169, wherein the second node comprises a package. 181. A data processing system comprising: a secondary storage device further comprising a plurality of nodes, each of the plurahty of nodes having corresponding code; a memory device further comprising a program that displays a graphical representation of the plurality of nodes, that determines whether the code corresponding to a first of the plurality of nodes contains a declaration of the second node, and when it is determined that the code corresponding to the first node contains the declaration of the second node, the program determines whether the code corresponding to the first node contains another declaration of the second node, and when it is determined that the code corresponding to the first node contains the other declaration of the second node, the program displays a dependency link between the graphical representation of the first node and the graphical representation of the second node; and a processor for running the program. 182. The data processing system of claim 181, wherein when it is determined that the code corresponding to the first node does not contain the other declaration of the second node, the program determines whether the code corresponding to the first node contains a call to a method of the second node, and when it is determined that the code corresponding to the first node contains the call to the method of the second node, the program displays a dependency link between the graphical representation of the first node and the graphical representation of the second node. 183. The data processing system of claim 181, wherein when it is determined that the code corresponding to the first node does not contain the other declaration of the second node, the program determines whether the code corresponding to the first node comprises a method having a local variable definition using the second node, and when it is determined that the code corresponding to the first node comprises a method having the local variable definition using the second node, the program displays a dependency link between the graphical representation of the first node and the graphical representation of the second node. 184. The data processing system of claim 181, wherein the first node comprises a class. 185. The data processing system of claim 181, wherein the first node comprises an interface. 186. The data processing system of claim 181, wherein the first node comprises a package. 187. The data processing system of claim 181, wherein the second node comprises a class. 188. The data processing system of claim 181, wherein the second node comprises an interface. 189. The data processing system of claim 181, wherein the second node comprises a package. 190. A data processing system comprising: a secondary storage device further comprising a first node and a second node, each of the nodes having corresponding code, the second node having a method; a memory device further comprising a program that displays a graphical representation of the first node and the second node, that determines whether the code corresponding to the first node contains a call to the method of the second node, and when it is determined that the code corresponding to the first node contains the call to the method of the second node, the program determines whether the code corresponding of the first node contains another call to the method of the second node, and when it is determined that the code corresponding to the first node contains the other call to the method of the second node, the program displays a dependency link between the graphical representation of the first node and the graphical representation of the second node; and a processor for running the program. 191. The data processing system of claim 190, wherein when it is determined that the code corresponding to the first node does not contain the other call to the method of the second node, the program determines whether the code corresponding to the first node comprises a method having a local variable definition using the second node, and when it is determined that the code corresponding to the first node comprises a method having the local variable definition using the second node, the program displays a dependency link between the graphical representation of the first node and the graphical representation of the second node. 192. The data processing system of claim 190, wherein when it is determined that the code corresponding to the first node does not contain the other call to the method of the second node, the program determines whether the code corresponding to the first node contains a declaration of the second node, and when it is determined that the code corresponding to the first node contains the declaration of the second node, the program displays a dependency link between the graphical representation of the first node and the graphical representation of the second node. 193. The data processing system of claim 190, wherein the first node comprises a class. 194. The data processing system of claim 190, wherein the first node comprises an interface. 195. The data processing system of claim 190, wherein the first node comprises a package. 196. The data processing system of claim 190, wherein the second node comprises a class. 197. The data processing system of claim 190, wherein the second node comprises an interface. 198. The data processing system of claim 190, wherein the second node comprises a package. 199. A data processing system comprising: a secondary storage device further comprising a plurality of nodes, each of the plurahty of nodes having corresponding code; a memory device further comprising a program that receives an indication of a first of the plurahty of nodes, that receives an indication of a second of the plurahty of nodes, that determines whether the code corresponding to the first node contains a declaration of the second node, and when it is determined that the code corresponding to the first node contains the declaration of the second node, the program determines whether the code corresponding to the first node contains another declaration of the second node, and when it is determined that the code corresponding to the first node contains the other declaration of the second node, the program displays a dependency link between the graphical representation of the first node and the graphical representation of the second node; and a processor for running the program. 200. The data processing system of claim 199, wherein the first node comprises a class. 201. The data processing system of claim 199, wherein the first node comprises an interface. 202. The data processing system of claim 199, wherein the first node comprises a package. 203. The data processing system of claim 199, wherein the second node comprises a class. 204. The data processing system of claim 199, wherein the second node comprises an interface. 205. The data processing system of claim 199, wherein the second node comprises a package. 206. A data processing system comprising: a secondary storage device further comprising a plurality of nodes, each of the plurahty of nodes having corresponding code; a memory device further comprising a program that receives an indication of a first of the plurahty of nodes, that receives an indication of a second of the plurahty of nodes, wherein the second node has a method, that determines whether the code corresponding to the first node contains a call to the method of the second node, and when it is determined that the code corresponding to the first node contains the call to the method of the second node, the program determines whether the code corresponding of the first node contains another call to the method of the second node, and when it is determined that the code corresponding to the first node contains another call to the method of the second node, the program displays a dependency link between the graphical representation of the first node and the graphical representation of the second node; and a processor for running the program. 207. The data processing system of claim 206, wherein the first node comprises a class. 208. The data processing system of claim 206, wherein the first node comprises an interface. 209. The data processing system of claim 206, wherein the first node comprises a package. 210. The data processing system of claim 206, wherein the second node comprises a class. 211. The data processing system of claim 206, wherein the second node comprises an interface. 212. The data processing system of claim 206, wherein the second node comprises a package. 213. A data processing system comprising: a secondary storage device further comprising a plurality of nodes, each of the plurahty of nodes having corresponding code; a memory device further comprising a program that receives an indication of a first of the plurahty of nodes, that receives an indication of a second of the plurahty of nodes, that determines whether the code corresponding to the first node contains a use of the second node, and when it is determined that the code corresponding to the first node contains the use of the second node, the program displays the usage of the second node by the first node; and a processor for running the program. 214. The data processing system of claim 213, wherein each node comprises an element. 215. The data processing system of claim 213, wherein when it is determined that the code corresponding to the first node contains the use of the second node, the program further displays the first node element. 216. The data processing system of claim 215, wherein the program further displays the first node with the first node element and with the usage to visually indicate that the first node contains the usage of the second node. 217. The data processing system of claim 213, wherein when it is determined that the code corresponding to the first node contains the use of the second node, the program further displays the second node element. 218. The data processing system of claim 217, wherein the program further displays the second node with the second node element and with the usage to visually indicate that the first node contains the usage of the second node. 219. The data processing system of claim 213, wherein the first node comprises a class. 220. The data processing system of claim 213, wherein the first node comprises an interface. 221. The data processing system of claim 213, wherein the first node comprises a package. 222. The data processing system of claim 213, wherein the second node comprises a class. 223. The data processing system of claim 213, wherein the second node comprises an interface. 224. The data processing system of claim 213, wherein the second node comprises a package. 225. A system having a dependent node, a defining node, and a plurality of dependencies between the dependent node and the defining node, the system comprising: means for displaying a graphical representation of the dependent node; means for displaying a graphical representation of the defining node; means for receiving an indication to identify a dependency between the dependent node and the defining node; and means for representing the plurality of dependencies as a number of links that is less than a number of the dependencies between the dependent node and the defining node in response to receiving the indication to identify the dependency.

Inventors: CHARISIUS DIETRICH, COAD PETER, CHARISIUS, DIETRICH, COAD, PETER
Applicants: TOGETHERSOFT CORP, TOGETHERSOFT CORPORATION
Application year: 2001
Main classification: G06F9
IPC codes: G06F9