Skip to content

Lightweight APIs to analyze Java projects just with it's Symbol Table #2

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

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

rahlk
Copy link
Contributor

@rahlk rahlk commented Apr 27, 2025

Motivation and Context

This PR adds implementations for all APIs that can be invoked solely using the Java symbol_table, without requiring a full Java AST or deeper code analysis. This supports faster, lightweight operations when full parsing is unnecessary, improves performance for metadata-only use cases, and allows greater flexibility in constrained environments.

How Has This Been Tested?

Tested with a comprehensive set of unit tests that accompany every new API that is added.

Coverage reports are generated with a GitHub Action and are tracked with Coveralls to ensure that the new functionality is properly exercised.

Breaking Changes

There have been a few breaking changes. However, since this is a pre-alpha release, these are not critical and are expected as the APIs stabilize. Migration notes are minimal and primarily affect internal interfaces not exposed publicly.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

Additional context

N/A

rahlk added 7 commits April 26, 2025 19:23
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
…release with badge.

Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
…he method signature.

Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
…ss name and the method signature.

Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
@rahlk rahlk added the enhancement New feature or request label Apr 27, 2025
@rahlk rahlk self-assigned this Apr 27, 2025
rahlk added 6 commits April 28, 2025 08:50
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
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 this pull request may close these issues.

1 participant