Process for extracting Java software program class diagrams reversely
A software program, reverse extraction technology, used in program control design, instrumentation, electrical digital data processing, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0019] Embodiment 1: a kind of method of reverse extraction Java software program class diagram is characterized in that comprising the following steps:
[0020] A. Based on the JDT API interface, analyze the .class file, obtain the static information of the Java program, extract the inheritance, association, aggregation, and dependency between classes, and the implementation, association, aggregation, and dependency between classes and interfaces;
[0021] B. Select the class that embodies the main process as the backbone class, and use it as an abstract reference point to search for the path between any two backbone classes;
[0022] C. For each path obtained in the B step, starting from any end of the path, check whether there is a sub-path with the nature of class-relation-class-relation-class to match the 57 class diagram abstract rules enumerated in this step, If it matches, replace the subpath with the result of the abstract rule; if it does not match, skip the current ...
Embodiment 2
[0030] Embodiment 2: On the basis of embodiment 1, the method for selecting the backbone class described in embodiment 1 step B is:
[0031] With the help of the use case model: under the guidance of business domain experts, find those framework fragments corresponding to the use case diagram or activity diagram, and select them as the backbone class;
[0032] Or based on the hierarchical analysis of business entities: starting from the entity classes that can correspond to business entities, identify the levels according to the relationship between classes from bottom to top according to the component dependency relationship, and select those classes at higher levels as the backbone classes;
[0033] Or software designers or testers customize the backbone classes as needed.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com