return getBeanDefaultSuperInfo (info);
}
private String getBeanSuperInfo (BeanMap beanMap, Bean bean, String info) {
if (!bean.getExtendType().equals(DEFAULT_STRING_RETURN)) {
Bean superBean = getBean(bean.getBeanMap(), bean.getExtendType());
if (superBean!=null) {
if (info.equals(NAME_INFO))
return superBean.getName();
if (info.equals(PACKAGE_INFO))
return superBean.getPackageName();
}
}
return DEFAULT_STRING_RETURN;
}