decompile_class
Decompile Java class files to source code for analyzing class structures, methods, and dependencies in Maven projects.
Instructions
反编译指定的Java类文件,返回Java源码
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cfrPath | No | CFR反编译工具的jar包路径,可选 | |
className | Yes | 要反编译的Java类全名,如:com.example.QueryBizOrderDO | |
projectPath | Yes | Maven项目根目录路径 | |
useCache | No | 是否使用缓存,默认true |
Input Schema (JSON Schema)
{
"properties": {
"cfrPath": {
"description": "CFR反编译工具的jar包路径,可选",
"type": "string"
},
"className": {
"description": "要反编译的Java类全名,如:com.example.QueryBizOrderDO",
"type": "string"
},
"projectPath": {
"description": "Maven项目根目录路径",
"type": "string"
},
"useCache": {
"default": true,
"description": "是否使用缓存,默认true",
"type": "boolean"
}
},
"required": [
"className",
"projectPath"
],
"type": "object"
}