-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Java/C#: Field based model generator (Experimental). #17330
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
Java/C#: Field based model generator (Experimental). #17330
Conversation
6b21f84
to
ddf3066
Compare
2a94828
to
9cd176a
Compare
9cd176a
to
7bf7df2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
||
private module PropagateContentFlow = ContentDataFlow::Global<PropagateContentFlowConfig>; | ||
|
||
private string printStoreAccessPath(PropagateContentFlow::AccessPath ap) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Using concat
is better (for the same reason that using string builders is better than doing string concatenations). One would then need to define a predicate string getContent(PropagateContentFlow::AccessPath ap, int i)
.
) | ||
} | ||
|
||
private string printReadAccessPath(PropagateContentFlow::AccessPath ap) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same.
In this PR we introduce a new model generator query for Java and C#. The work is based on #8667.
This should not in any way be considered the final version of these queries.