public void showQuestionHint(final @NotNull Editor editor,
                               final int offset1,
                               final int offset2,
                               final @NotNull LightweightHint hint,
                               final @NotNull QuestionAction action,
                               @PositionFlags short constraint) {
    final VisualPosition pos1 = editor.offsetToVisualPosition(offset1);
    final VisualPosition pos2 = editor.offsetToVisualPosition(offset2);
    final Point p = getHintPosition(hint, editor, pos1, pos2, constraint);
    showQuestionHint(editor, p, offset1, offset2, hint, action, constraint);
  }
public void showQuestionHint(final @NotNull Editor editor,
                               final int offset1,
                               final int offset2,
                               final @NotNull LightweightHint hint,
                               final @NotNull QuestionAction action,
                               @PositionFlags short constraint)