Set<File> (Configuration key) { if (key == null) { return null; } Set<File> cached = myConfigurationFilesCache.get(key); if (cached == null) { cached = key.getResolvedConfiguration().getLenientConfiguration().getFiles(Specs.SATISFIES_ALL); myConfigurationFilesCache.put(key, cached); } return cached; }