Package com.intellij.psi.impl.beanProperties

Examples of com.intellij.psi.impl.beanProperties.BeanProperty


    final List<BeanProperty> beanProperties = param.getName().getValue();
    if (beanProperties == null || beanProperties.isEmpty()) {
      return null;
    }

    final BeanProperty property = beanProperties.get(beanProperties.size() - 1);
    final PsiType type = property.getPropertyType();
    return ParamValueConvertersRegistry.getInstance().getConverter(domElement, type);
  }
View Full Code Here


    final ArrayList<BeanProperty> list = new ArrayList<BeanProperty>(references.length);
    for (final PsiReference reference : references) {
      final PsiElement resolve = reference.resolve();
      if (resolve instanceof PsiMethod) { // can be non-PsiMethod via ParamNameCustomConverter
        final PsiMethod method = (PsiMethod)resolve;
        final BeanProperty beanProperty = BeanProperty.createBeanProperty(method);
        ContainerUtil.addIfNotNull(beanProperty, list);
      }
    }
    return list;
  }
View Full Code Here

TOP

Related Classes of com.intellij.psi.impl.beanProperties.BeanProperty

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.