return springBean.getBeanClass();
}
@NotNull
public Object[] getVariants() {
final SpringModel springModel = getSpringModel();
final PsiClass subClass = getPossibleSubClass();
final Collection<? extends SpringBeanPointer> list;
if (subClass != null) {
list = SpringModelSearchers.findBeans(springModel, SpringModelSearchParameters.byClass(subClass).withInheritors());
}
else {
list = springModel.getAllCommonBeans();
}
final List<LookupElement> variants = new ArrayList<LookupElement>(list.size());
for (final SpringBeanPointer bean : list) {
if (bean.isAbstract()) {