@Override
  public PackageSet parsePackageSet(final Lexer lexer, final String scope, final String modulePattern) throws ParsingException {
    /*if (scope == PatternPackageSet.SCOPE_ANY && modulePattern == null) {
      error(AnalysisScopeBundle.message("error.packageset.common.expectations"), lexer);
    }*/
    PatternPackageSet.Scope scopeByText = ContainerUtil.find(PatternPackageSet.Scope.values(), 
                                                             value -> Strings.areSameInstance(value.getId(), scope));
    if (scopeByText == null) {
      return null;
    }
    return new PatternPackageSet(parseAspectJPattern(lexer), scopeByText, modulePattern);
  }
@Override
  public PackageSet parsePackageSet(final Lexer lexer, final String scope, final String modulePattern)