The invention discloses a
Java decompiling method, device and equipment and a computer readable storage medium. The method comprises the following steps: extracting a class file, a
resource file, a configuration file and a static resource by decompressing a
Java deployment
package; based on a predefined third-party
library feature
library, utilizing Hash comparison and
package name / method signature
feature matching to accurately classify the class file into a third-party
library or a self-researched code; performing
byte code analysis on the self-developed class file to generate structured data, and inputting the structured data into a customized large
language model (based on
byte code-
source code parallel corpus training) to generate an initial
source code; the optimization step comprises the steps of correcting errors by a static grammar checker and automatically supplementing annotations by a
byte code constant
pool; reconstructing a project
directory structure based on the
package name; a class
dependency graph is generated through static
call graph analysis; and finally, integrating the initial
source code, the
dependency graph and the configuration file, automatically generating an interface document, a framework document and a configuration document, and realizing complete
reverse engineering of the deployment package.