void (@NotNull final PsiAnnotationParameterList parameterOwner, @NotNull final UpdateParameterInfoContext context) { CharSequence chars = context.getEditor().getDocument().getCharsSequence(); int offset1 = CharArrayUtil.shiftForward(chars, context.getEditor().getCaretModel().getOffset(), " \t"); final char c = chars.charAt(offset1); if (c == ',' || c == ')') { offset1 = CharArrayUtil.shiftBackward(chars, offset1 - 1, " \t"); } context.setHighlightedParameter(findAnnotationMethod(context.getFile(), offset1)); }