boolean (@NotNull Project project, Editor editor, @NotNull PsiElement element) { final LanguageChangeSignatureDetector<ChangeInfo> detector = LanguageChangeSignatureDetectors.INSTANCE.forLanguage(element.getLanguage()); if (detector != null) { InplaceChangeSignature changeSignature = InplaceChangeSignature.getCurrentRefactoring(editor); ChangeInfo currentInfo = changeSignature != null ? changeSignature.getCurrentInfo() : null; if (currentInfo != null && detector.isChangeSignatureAvailableOnElement(element, currentInfo)) { return true; } } return false; }