Commit Graph

2 Commits

Author SHA1 Message Date
c851893f0c Enhance JavaFileAnalyzer and mapping generation logic
- Updated analyze_file method to accept an optional filename parameter for better handling of already renamed files.
- Added checks to skip analysis for files with multi-character or CamelCase names in both analyze_file and analyze_package methods.
- Modified generate_smart_mapping to track and report skipped files due to renaming or empty content.
- Improved fallback naming strategy for files without analysis results.
- Enhanced documentation for clarity on the purpose of functions and parameters.
2026-01-11 19:27:24 +00:00
5996bca313 Add Java file analyzer and smart mapping generator
- Implemented `analyze_java_files.py` to provide heuristic analysis of Java files, suggesting descriptive names for obfuscated classes based on code patterns, imports, methods, and class structure.
- Created `generate_smart_mapping.py` to generate a mapping of old to new filenames using the Java file analyzer, producing `PACKAGE_MAPPING_SMART.json` with suggested filenames.
- Added detailed analysis output to `JAVA_ANALYSIS_DETAILED.json` for further insights into the analysis process.
- Introduced a cache file for compiled Python files in `__pycache__`.
2026-01-11 19:20:36 +00:00