HintWidthAdjustment (HintWidthAdjustment widthAdjustment, InlayParameterHintsProvider provider) { if (widthAdjustment != null) { String hintText = widthAdjustment.getHintTextToMatch(); if (hintText != null) { String adjusterHintPresentation = provider.getInlayPresentation(hintText); if (!hintText.equals(adjusterHintPresentation)) { widthAdjustment = new HintWidthAdjustment(widthAdjustment.getEditorTextToMatch(), adjusterHintPresentation, widthAdjustment.getAdjustmentPosition()); } } } return widthAdjustment; }