code: public boolean shouldExcludeQualifier(String qualifier){
          if (excludedQualifiers.contains("all") ||
              excludedQualifiers.contains(qualifier) ||
              excludedQualifiers.contains(qualifier + ".*")) {
              return true;
          } else {
              int index = -1;
              while ((index = qualifier.indexOf(".", index + 1)) != -1) {
                  if (excludedQualifiers.contains(qualifier.substring(0, index + 1) + "*")) {
                      return true;
                  }
              }
              return false;
          }
      }
docs: Return true if the given qualifier should be excluded and false otherwise.
  @param qualifier the qualifier to check.