public boolean supportsVersion(Object ver) {
    if (ver instanceof String) {
      return StringUtil.compareVersionNumbers(ideaVersion, (String)ver) >= 0;
    }
    else if (ver instanceof Map) {
      String dsl = (String)((Map<?, ?>)ver).get("dsl");
      if (dsl != null && !dsl.isEmpty()) {
        return StringUtil.compareVersionNumbers("1.0", dsl) >= 0;
      }

      String intellij = (String)((Map<?, ?>)ver).get("intellij");
      if (intellij != null && !intellij.isEmpty()) {
        return StringUtil.compareVersionNumbers(ideaVersion, intellij) >= 0;
      }
    }

    return false;
  }
public boolean supportsVersion(Object ver)