Recording source locations in semantic artifacts

12 views
Skip to first unread message

Ryan Wisnesky

unread,
Jul 22, 2020, 6:06:11 PM7/22/20
to jooq...@googlegroups.com
Hi Lukas,

Is there any way to recover a source text location from a ForeignKey or UniqueKey java object? This would help us generate more specific error messages in our static analysis application. I have the same question for Fields and Tables.

Thanks again,
Ryan

Lukas Eder

unread,
Jul 23, 2020, 3:46:12 AM7/23/20
to jOOQ User Group
Hi Ryan,

You mean, as in where a generated instance of type X/Y is located in generated source code? You could instrument jOOQ code and attach such information somewhere, or you could patch the code generator to generate some annotations containing this information.

It doesn't sound like anything I've ever heard or done, or which would pull its weight... Why would you need it, specifically?

Thanks,
Lukas

--
You received this message because you are subscribed to the Google Groups "jOOQ User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/1358F0AA-2CE5-440D-8FF0-61B6DDAD0BF7%40conexus.com.
Reply all
Reply to author
Forward
0 new messages