Github user dawidwys commented on the issue:
https://github.com/apache/flink/pull/3468
So as I mentioned in JIRA I don't see a way to do it in checkstyle rule.
I managed to implement a test that performs the check using `Reflections`
but I don't know where shall I place it. The problem is that only files from
packages that are dependencies to the module with this test will be checked.
First idea I had was to put it in the `filnk-tests` module, but it does not
depend on e.g. any of `flink-connectors`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---