void (DfaValueFactory factory, DfaMemoryState state, DfaCallArguments arguments, boolean strict) { DfaVariableValue size = tryCast(COLLECTION_SIZE.createValue(factory, arguments.myQualifier), DfaVariableValue.class); if (size != null) { DfIntType sizeType = tryCast(state.getDfType(size), DfIntType.class); DfType resultSize = COLLECTION_SIZE.getDefaultValue(); if (sizeType != null) { resultSize = sizeType.eval(DfTypes.intRange(LongRangeSet.range(strict ? 1 : 0, 1)), LongRangeBinOp.MINUS) .meet(DfTypes.intRange(JvmPsiRangeSetUtil.indexRange())); } updateState(state, size, resultSize); } }