Reports numeric values returned from methods that don't conform to the declared method return range. You can declare method return range using a number of annotations:

Example:


  @Range(from = 0, to = Integer.MAX_VALUE) int getValue() {
    // Warning: -1 is outside of declared range
    return -1;
  }

New in 2021.2