__CLOVER_396_0.S[8829]++;String basePath = contextPath.substring(0, dotx);
__CLOVER_396_0.S[8830]++;String suffix = contextPath.substring(dotx);
__CLOVER_396_0.S[8831]++;LocalizedNameGenerator generator = new LocalizedNameGenerator(basePath, locale, suffix);
__CLOVER_396_0.S[8832]++;while ((((generator.more()) && (++__CLOVER_396_0.CT[1488] != 0)) || (++__CLOVER_396_0.CF[1488] == 0))){
{
__CLOVER_396_0.S[8833]++;String candidatePath = generator.next();
__CLOVER_396_0.S[8834]++;if ((((isExistingResource(candidatePath)) && (++__CLOVER_396_0.CT[1489] != 0)) || (++__CLOVER_396_0.CF[1489] == 0))){
__CLOVER_396_0.S[8835]++;return new LocalizedResource(candidatePath, generator.getCurrentLocale());}