4 ms·
Looks fun. I assume it's still up to the application devs as to how they handle those annotations then (say on a build server or when the docs are generated)? U
by galaktor 13y ago
Looks fun. I assume it's still up to the application devs as to how they handle those annotations then (say on a build server or when the docs are generated)? Unless I'm missing something, there doesn't appear to be any direct effect of using them other than the meta-data that they add.
Edit: looks like "gag-agent" is there to react to the annotations, but it's not clear to me where/how that would work
- RyanZAG 13y agoThey have a couple examples down the page on it - a few of the annotations have runtime effects. eg: @Roulette( probability = 0.005, exception = PayYourContractorException, message = "Courtesy reminder") public Service getRockSolidService() {
- tokenizerrr 13y agoIt's mostly there to send messages to your fellow programmers, it seems. The instrumentation jar will enforce the behaviors of the annotations under the Enforceable category.