boolean () { if (myRes != null) return true; long started = startTiming(); try { Loader loader; if (myLoaders != null) { while (myIndex < myLoaders.size()) { loader = myLoaders.get(myIndex++); if (!loader.containsName(myName, myShortName)) { myRes = null; continue; } myRes = loader.getResource(myName); if (myRes != null) return true; } } else { while ((loader = getLoader(myIndex++)) != null) { if (myCanUseCache && !loader.containsName(myName, myShortName)) continue; myRes = loader.getResource(myName); if (myRes != null) return true; } } } finally { logInfo(ClassPath.this, started, myName, null); } return false; }