/** * Test whether or not a name matches the start of the given * include pattern. * * @param tokenizedName The name to match. Must not be <code>null</code>. * @return <code>true</code> when the name matches against the start of the * include pattern, or <code>false</code> otherwise. */ private boolean couldHoldIncluded(final TokenizedPath tokenizedName, final TokenizedPattern tokenizedInclude) { return tokenizedInclude.matchStartOf(tokenizedName, isCaseSensitive()) && isMorePowerfulThanExcludes(tokenizedName.toString()) && isDeeper(tokenizedInclude, tokenizedName); }