Overlay: Add manual Java overlay annotations & discard predicates#19813
Merged
Conversation
kaspersv
force-pushed
the
kaspersv/overlay-java-discarding
branch
from
June 19, 2025 06:34
6f5bc41 to
8672313
Compare
kaspersv
force-pushed
the
kaspersv/overlay-java-discarding
branch
from
June 19, 2025 07:13
8672313 to
db52a3c
Compare
jbj
reviewed
Jun 20, 2025
kaspersv
force-pushed
the
kaspersv/overlay-java-discarding
branch
from
June 20, 2025 11:39
db52a3c to
26896ea
Compare
Contributor
Author
|
The |
jbj
previously approved these changes
Jun 25, 2025
jbj
left a comment
Contributor
There was a problem hiding this comment.
I'm happy with this if @aschackmull is happy
aschackmull
reviewed
Jun 25, 2025
aschackmull
left a comment
Contributor
There was a problem hiding this comment.
I think we can simplify the boilerplate somewhat.
kaspersv
force-pushed
the
kaspersv/overlay-java-discarding
branch
from
June 25, 2025 15:08
54589c8 to
bcadf31
Compare
aschackmull
reviewed
Jun 26, 2025
kaspersv
force-pushed
the
kaspersv/overlay-java-discarding
branch
from
June 26, 2025 09:18
bcadf31 to
a9f1540
Compare
aschackmull
reviewed
Jun 26, 2025
aschackmull
reviewed
Jun 26, 2025
kaspersv
force-pushed
the
kaspersv/overlay-java-discarding
branch
from
June 26, 2025 09:36
a9f1540 to
64f27e2
Compare
kaspersv
dismissed stale reviews from aschackmull and jbj
June 27, 2025 06:26
The base branch was changed.
Contributor
Author
|
@ginsbach I've merged in main and added a missing QLDoc since @aschackmull's review. |
ginsbach
approved these changes
Jun 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR builds on top of #19779, adding a few additional manual overlay annotations and defining entity discard predicates for Java.
The
overlay[local?]annotations in the experimental queries are needed to ensure that virtual dispatch (which depends indirectly onActiveExperimentalModels) becomes local. In addition to the manualoverlay[local?]annotations, the PR adds anoverlay[global]annotation inDataFlowImplCommon.qllto ensure lambda flow is global.The entity discard predicates defined in this PR are not exhaustive and additional discarding may be needed. The PR adds entity discard predicates to discard the following: