Java function annotation automatic generation method based on program analysis
A technique of automatic generation and program analysis, applied in software and computer fields, to solve problems such as accuracy, understandability, and fluency defects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0020] The present invention specifically comprises the following steps:
[0021] 1) First use the GitHub API to sort the number of Java project Stars, get the top 2000 Java projects, and use the static analysis tool JDT to extract the function information in the project, traverse each statement in each function under each Java class, Extract lexical and grammatical features to form a function information table.
[0022] 2) Enter the project directory and execute [mvn package-DskipTests], compile the project and filter out all the unit tests in it, then generate the compilation process .class file for each Java file, and traverse all methods of the Java class and their Call relationship bytecode, extract the call relationship and call type between functions in it, and form a function call relationship table.
[0023] 3) According to the function modifier, function name, function class name, parameter type and other information, the function is uniquely determined, and the map...
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