public boolean isBetween(boolean startInclusive, boolean endInclusive, int value) {
		if (startInclusive ? value >= start : value > start)
			return endInclusive ? value <= end : value < end;
		return false;
	}
@param startInclusive
		Flag to indicate inclusive range check against {@link #start()}.
@param endInclusive
		Flag to indicate inclusive range check against {@link #end()}.
@param value
		Position to check.

@return {@code true} when the position is within this range.
recaf-ui/src/main/java/software/coley/recaf/util/IntRange.java