boolean (@NotNull File file) { String relativePath = FileUtil.getRelativePath(myRoot, file); if (myRelativeDirectoryPath != null) { relativePath = myRelativeDirectoryPath + (relativePath != null ? File.separator + relativePath : ""); } if (relativePath == null) { return false; } String webInfWebXml = "WEB-INF" + File.separator + "web.xml"; if (myAcceptWebXml && FileUtil.pathsEqual(webInfWebXml, relativePath)) { return true; } return myMavenPatternFileFilter.accept(relativePath); }