Replies: 1 comment 2 replies
-
there is a check directly in code which issues a warning, if the number of @provides and The big challenge with custom Checkstyle rules is that they practically cannot reside in the same repo. Or more specifically, they need to be on the classpath of checkstyle and accessed with their classname (AFAIK), which means they must be built before the EDC gets built. That feels sort of clunky. On way of going about this would be to create another repo in the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not expert in checkstyle, someone knows if it will be possible to write a check that verifies:
context.getService
invocation there should be a@Requires
entry or a@Inject field
context.registerService
there should be a@Provides
entryBecause it's really easy to forgot those annotations, this could be a way to avoid problems before merging code in the main branch
Beta Was this translation helpful? Give feedback.
All reactions