void (@NotNull final PyCallableParameter parameter, @NotNull final Map<PyCallableParameter, Integer> parameterToHintIndex, @NotNull final Map<Integer, EnumSet<ParameterFlag>> hintFlags, boolean mustHighlight) { final Integer hintIndex = parameterToHintIndex.get(parameter); if (mustHighlight && hintIndex != null && hintFlags.containsKey(hintIndex)) { hintFlags.get(hintIndex).add(ParameterFlag.HIGHLIGHT); } }