void (@NotNull Component aComponent, boolean useAlignment) { boolean isAlignmentUsed = ExperimentalUI.isNewUI() && Registry.is("ide.popup.align.by.content") && useAlignment && isComponentSupportsAlignment(aComponent); var point = isAlignmentUsed ? pointUnderneathOfAlignedHorizontally(aComponent) : defaultPointUnderneathOf(aComponent); show(point); }