Hi Jeremy, Sounds like a neat improvement. I'm not familiar enough with antlr so I'm curious of when those annotations are processed? Is there a mvn plugin?
Best, Andrea Il 08/ago/2014 18:58 "Jeremy Daggett" <jeremy.dagg...@rackspace.com> ha scritto: > Hi devs, > > Several of us have chatted about using the antlr4 annotation processor [1] > for @Nullable [2] and @NotNull [3] as a replacement for the jclouds > @Nullable annotation [4]. The annotation we use now is essentially just a > hint that something could be null. > > This would require a additional 10k dependency on > "antlr4-annotations-4.3.jar”. How does the community feel about using these > compile time annotations for 2.0? > > /jd > > [1] https://github.com/antlr/antlr4/tree/master/runtime/JavaAnnotations > [2] > https://github.com/antlr/antlr4/blob/master/runtime/JavaAnnotations/src/org/antlr/v4/runtime/misc/Nullable.java > [3] > https://github.com/antlr/antlr4/blob/master/runtime/JavaAnnotations/src/org/antlr/v4/runtime/misc/NotNull.java > [4] > https://github.com/jclouds/jclouds/blob/master/core/src/main/java/org/jclouds/javax/annotation/Nullable.java >