Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #38557 > unrolled thread
| Started by | Philipp Kraus <philipp.kraus.flashpixx@gmail.com> |
|---|---|
| First post | 2018-08-11 15:59 -0700 |
| Last post | 2018-08-11 15:59 -0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.java.programmer
annotation for number checking Philipp Kraus <philipp.kraus.flashpixx@gmail.com> - 2018-08-11 15:59 -0700
| From | Philipp Kraus <philipp.kraus.flashpixx@gmail.com> |
|---|---|
| Date | 2018-08-11 15:59 -0700 |
| Subject | annotation for number checking |
| Message-ID | <515f7ee5-8441-4a23-ad39-e7be6f70d59c@googlegroups.com> |
Hello,
I'm searching annotation for number checking. I just using the Maven package
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<version>3.1.6</version>
<scope>provided</scope>
</dependency>
for SpotBugs analysing. But now I have got a lot of Number members and I need an annotation for range checking. I need to define a member or parameter Number value must be within a range or has got a min or max value.
Which annotation framework did you suggest? I have take a look on the Checker Framework but I don't find a range annotation for Number values.
Thanks
Back to top | Article view | comp.lang.java.programmer
csiph-web