Skip to content

Conversation

@aurimasniekis
Copy link
Contributor

Introduce setScanResult methods in ModuleInfo and PackageInfo to assign ScanResult context to their associated annotations. This enables annotations to access scanning metadata when class info is enabled. Called from ScanResult during post-processing.

Introduce setScanResult methods in ModuleInfo and PackageInfo to assign ScanResult
context to their associated annotations. This enables annotations to access
scanning metadata when class info is enabled. Called from ScanResult during post-processing.
@lukehutch
Copy link
Member

Thanks, good catch! This looks right to me.

@lukehutch lukehutch merged commit b42e9b8 into classgraph:latest Oct 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants