@Nullable
  private <T extends PsiElement> T findFromXPath2FilterExpr(IElementType type, Class<T> clazz) {
    final XPathExpression f = getPreviousStep();
    if (f instanceof XPathFilterExpression) {
      final ASTNode node = f.getNode();
      final ASTNode child = node.findChildByType(type);
      return child != null ? child.getPsi(clazz) : null;
    }
    return null;
  }
@Nullable
  private <T extends PsiElement> T findFromXPath2FilterExpr(IElementType type, Class<T> clazz)