code: public Occurrence calcOccurrence(Attribute start) {
          Occurrence occ;
  
          occ = calcOccurrence(new ArrayList<Attribute>(), start);
          if (occ == null) {
              throw new IllegalStateException();
          }
          return occ;
      }
docs: TODO: use calcOccurrences instead