boolean (@NotNull String relativePath) { if (relativePath.equals(SETTINGS_JAR_MARKER)) { return false; } relativePath = relativePath.replace('\\', '/'); for (String allowedRelPath : myRelativeNamesToExtract) { if (relativePath.startsWith(allowedRelPath)) { return true; } } return false; }