Skip to content

Support Better Java Comment Parsers, Report Declarations, and Parameter Location Parsing #114

@rahlk

Description

@rahlk

Is your feature request related to a problem? Please describe.
The latest version of codeanalyzer-java (2.3.0) introduces several new features, including support for Java Record Declarations, improved comment parsing, enhanced parameter location tracking, and better declaration reporting. However, these updates are not yet mirrored in the python-sdk project. This means users relying on the SDK do not have access to these enhancements, limiting their ability to analyze Java code effectively.

Describe the solution you'd like
The python-sdk should integrate the following updates from codeanalyzer-java to maintain feature parity:

  1. Support for Java Record Declarations (PR #121)
    • Ensure that record declarations are properly captured and represented within the SDK.
  2. Enhanced Parameter Location Parsing (PR #122)
    • Extend ParameterInCallable support to capture line and column offsets, ensuring precise tracking of parameter locations.
  3. Improved Java Comment Parsing (PR #124)
    • Enrich comment analysis capabilities to improve insights into Javadoc, inline comments, and block comments.

Describe alternatives you've considered
An alternative approach would be to maintain a separate abstraction layer in python-sdk that does not directly mirror codeanalyzer-java. However, this would introduce inconsistency and make it harder for users to leverage the latest improvements.

Additional context
The changes in codeanalyzer-java include breaking updates, specifically for record declarations and parameter location parsing. Ensuring these updates are properly reflected in python-sdk will help maintain compatibility with Java code analysis workflows.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions