Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rahlk opened this issue Feb 21, 2025 · 0 comments · Fixed by #115
Closed
Assignees
Labels
enhancement New feature or request

Comments

@rahlk
Copy link
Collaborator

rahlk commented Feb 21, 2025

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.

@rahlk rahlk added the enhancement New feature or request label Feb 21, 2025
@rahlk rahlk self-assigned this Feb 21, 2025
@rahlk rahlk linked a pull request Feb 21, 2025 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant