@Override
    public boolean isApplicable(PsiElement @NotNull [] elements) {
        return elements.length == 1 || PsiTreeUtil.findCommonParent(elements) == elements[0].getParent();
    }
@Override
    public boolean isApplicable(PsiElement @NotNull [] elements)