@SubtypeOf(value=UnknownVal.class)
@Retention(value=RUNTIME)
@Target(value={TYPE_PARAMETER,TYPE_USE})
public @interface IntRange
An expression with this type evaluates to an integral value (byte, short, char, int, or long) in
the given range. The bounds are inclusive; for example, @IntRange(from=6, to=9)
represents the four values 6, 7, 8, and 9.
- See the Checker Framework Manual:
- Constant Value Checker