code: protected MatchingPart toPart(List<MatchingPart> leadingParts, String part) {
          if (ANY_INDICATOR.equals(part)) {
              return getAnyPart();
          }
          // This part is a constant string
          return createConstantPart(part);
      }
docs: Converts a String part into the corresponding {@link MatchingPart}.