@Override
  public @Nullable XmlFile getResolvedConfigFile() {
    final GenericAttributeValue<PathReference> configFileAttribute = getConfigFile();
    if (!DomUtil.hasXml(configFileAttribute)) return null;

    final PathReference configFile = configFileAttribute.getValue();
    if (configFile == null) return null;

    final PsiElement resolve = configFile.resolve();
    if (!(resolve instanceof XmlFile)) return null;
    return (XmlFile)resolve;
  }
@Override
  public @Nullable XmlFile getResolvedConfigFile()