Supercharge Your Innovation With Domain-Expert AI Agents!

A Realization Method of Generating Java Code Class Inheritance Structure

A code and structure diagram technology, applied in the field of generating Java code class inheritance structure, can solve problems such as incomplete documentation and lack of functions, and achieve the effect of improving development efficiency

Active Publication Date: 2022-05-31
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the documentation of some open source projects is not very complete, and the documentation is more inclined to help developers use the project rather than understand the code structure of the project
Although some IDEs provide plug-ins for generating project structure diagrams, the development tools used by some developers do not have such functions

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A Realization Method of Generating Java Code Class Inheritance Structure
  • A Realization Method of Generating Java Code Class Inheritance Structure
  • A Realization Method of Generating Java Code Class Inheritance Structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The present invention is implemented by utilizing the properties provided natively by Java.

[0045] 2) Obtain the target Class object through the reflection mechanism.

[0046] The present invention uses a directed acyclic graph as a data structure to store the structural graph.

[0047] 1) Implemented using an adjacency linked list.

[0048] 2) A variety of graphical output support is provided.

[0052] c) A directed acyclic graph.

[0056] The fully qualified name of the directory Class or Interface where the java-jar diagram.jar class bytecode is located

[0058] The directory where the java-jar diagram.jar class bytecode is located

[0061] Operation parameter: the directory Class or Interface full qualified name where the diagram.jar class bytecode is located

[0066] Wherein, the inheritance and implementation structure diagram is stored using a directed acyclic graph, which is implemented by an adjacency linked list. Although Java

[0067] The diagram of the adjacen...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an implementation method for generating Java code class inheritance structure, which belongs to the technical field of Java software development. The invention utilizes the Class dynamic loading mechanism provided by Java to read bytecode files in a specified directory, and obtains them by using a reflection mechanism. Class and interface information, and construct the inheritance implementation structure diagram, and then present the structure to the user intuitively in a graphical way.

Description

An Implementation Method of Generating Java Code Class Inheritance Structure technical field The present invention relates to the technical field of Java software development, in particular to a kind of implementation of generating Java code class inheritance structure present method. Background technique [0002] In the open source world, excellent open source projects emerge in an endless stream, and these projects are jointly constructed by developers from all over the world. built. In the development of enterprise projects, many teams will use open source frameworks more or less to improve their development efficiency. rate, some of which are directly modified on the basis of open source projects to suit the needs of the project. in this process It requires developers to understand the design architecture and specific internal logic of the open source framework. Many open source projects are It is necessary to design a very complex code structure, which takes ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/30G06F8/34
CPCG06F8/315G06F8/34
Inventor 张兆林张宏原杨继伟
Owner SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More