News for hackers. Stuff that matters.
Re:Google Java Annotations Gallery by galaktor on Monday May 27, 2013 @08:49AM (#5774457)
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

Re:Google Java Annotations Gallery by RyanZAG on Monday May 27, 2013 @09:00AM (#5774488)
They 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() {
Re:Google Java Annotations Gallery by tokenizerrr on Monday May 27, 2013 @09:18AM (#5774537)
It'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.