v1.3.2
[1.3.2] - 2025-06-02
π Critical Bug Fix - Inner Class Source Resolution
- Fixed SOURCE_FILE_NOT_FOUND for Inner Classes: Major fix for source file detection of inner classes
- Problem: Classes like
org.apache.commons.cli.HelpFormatter.Builderwere causing SOURCE_FILE_NOT_FOUND errors - Root Cause: Method was searching for
org/apache/commons/cli/HelpFormatter/Builder.javainstead oforg/apache/commons/cli/HelpFormatter.java - Solution: Enhanced
getSourceFilePathForClass()to detect inner classes and map them to their outer class source files - Impact: Dramatically reduces SOURCE_FILE_NOT_FOUND errors in projects with inner classes
- Problem: Classes like
π§ Technical Improvements
- Smart Inner Class Detection: Added logic to identify inner classes by uppercase naming patterns
- Outer Class Mapping: Automatically strips inner class portions to find the correct source file
- Enhanced Debug Logging: Added detailed logging for source file resolution process
π§ͺ Verification
- commons-cli Project: Tested on Apache Commons CLI project - eliminated most SOURCE_FILE_NOT_FOUND errors
- Before: Multiple SOURCE_FILE_NOT_FOUND errors for
HelpFormatter.Buildermethods - After: All inner class methods now correctly resolve to their source files
This fix significantly improves analysis accuracy for projects using inner classes, which are common in Java projects.