A method and system for positioning the architecture strategy of a java project
A java method and architecture technology, applied in the direction of software maintenance/management, software indicators, etc., can solve the problems of structural strategy code positioning accuracy and low efficiency, and achieve the effect of high accuracy and recall rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] A specific embodiment of the present invention discloses a method for locating an architecture strategy of a Java project. The flow chart is as follows: figure 1 As shown, the method includes the following steps:
[0058] Step S1: extract the feature text of all Java methods in the Java project;
[0059] Specifically, based on the Java Bytecode Operation Library (BCEL), the present embodiment extracts the feature text of each Java method from the source code in the Java project.
[0060] During the implementation process, the user needs to provide a runnable Java project, and call the relevant methods of the BCEL operation library to automatically extract the feature text of all Java implementation methods of the Java project;
[0061] Preferably, the pointcut method is implemented by analyzing the source code of the Java project and the system architecture strategy, and the feature text extracted in this embodiment includes the following content:
[0062] (1) Method ...
Embodiment 2
[0127] Embodiment 2 of the present invention discloses an architecture strategy positioning system for a Java project. The schematic diagram is as follows: Figure 8 As shown, the system includes:
[0128] The feature text acquisition module is used to extract the feature text of all Java methods in the Java project;
[0129] a feature vector generation module for processing the feature text to obtain a corresponding feature vector;
[0130]The classification module is used to determine the architecture policy type to be located, and input the feature vector corresponding to each Java method into the architecture policy model corresponding to the architecture policy type, and obtain the Java corresponding to the architecture policy type. The pointcut method type to which the method belongs;
[0131] An architecture policy locating module, configured to locate the Java method corresponding to the architecture policy type in the Java project based on the belonging pointcut met...
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