* @param prefix the prefix of names that match the pattern
* @param caseSensitive {@code true} if a case sensitive match is to be performed
* @return the pattern that was created
*/
public static SearchPattern createPrefixPattern(String prefix, boolean caseSensitive) {
return new PrefixSearchPattern(prefix, caseSensitive);
}