Stuart McCulloch | bb01437 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 1 | package aQute.lib.data; |
| 2 | |
| 3 | import java.lang.annotation.*; |
| 4 | |
| 5 | @Retention(RetentionPolicy.RUNTIME) |
Stuart McCulloch | 2286f23 | 2012-06-15 13:27:53 +0000 | [diff] [blame^] | 6 | @Target(value = { |
| 7 | ElementType.FIELD |
| 8 | }) |
Stuart McCulloch | bb01437 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 9 | public @interface Numeric { |
| 10 | long min() default Long.MIN_VALUE; |
Stuart McCulloch | 2286f23 | 2012-06-15 13:27:53 +0000 | [diff] [blame^] | 11 | |
Stuart McCulloch | bb01437 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 12 | long max() default Long.MAX_VALUE; |
Stuart McCulloch | 2286f23 | 2012-06-15 13:27:53 +0000 | [diff] [blame^] | 13 | |
Stuart McCulloch | bb01437 | 2012-06-07 21:57:32 +0000 | [diff] [blame] | 14 | String reason() default ""; |
| 15 | } |