@Override
  public XsltTemplate @NotNull [] getTemplates() {
    final XmlDocument document = PsiTreeUtil.getParentOfType(getTag(), XmlDocument.class);
    return convertArray(ResolveUtil.collect(new TemplateMatcher(document)), XsltTemplate.class);
  }
@Override
  public XsltTemplate @NotNull [] getTemplates()