Package com.intellij.spring.contexts.model

Examples of com.intellij.spring.contexts.model.SpringModel


    if (DomJavaUtil.findClass(StrutsConstants.SPRING_OBJECT_FACTORY_CLASS,
                              convertContext.getInvocationElement()) == null) {
      return null;
    }

    final SpringModel springModel = SpringManager.getInstance(module.getProject()).getCombinedModel(module);
    final SpringBeanPointer springBeanPointer = SpringModelSearchers.findBean(springModel, s);
    if (springBeanPointer == null) {
      return null;
    }
View Full Code Here


      final String beanName = myElement.getValue();
      if (StringUtil.isEmpty(beanName)) {
        return null;
      }

      final SpringModel springModel = getSpringModel();
      final SpringBeanPointer springBean = SpringModelSearchers.findBean(springModel, beanName);
      if (springBean == null) {
        return null;
      }
View Full Code Here

      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()) {
View Full Code Here

TOP

Related Classes of com.intellij.spring.contexts.model.SpringModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.