if (file != null && file.exists()) {
return new FilePropertySource(file);
}
}
else if (element instanceof IBeansConfigSet) {
return new ConfigSetProperties(((IBeansConfigSet) element));
}
else if (element instanceof IBean) {
IBean bean = ((IBean) element);
if (bean.isRootBean()) {