Package org.springframework.ide.eclipse.data.jdt.core

Examples of org.springframework.ide.eclipse.data.jdt.core.RepositoryInformation


    if (!RepositoryInformation.isSpringDataRepository(type)) {
      return false;
    }

    // resolve repository information and generate problem markers
    RepositoryInformation information = new RepositoryInformation(type);

    Class<?> domainClass = information.getManagedDomainClass();
    if (domainClass == null) {
      return false;
    }
    return true;
  }
View Full Code Here


      if (!supports(typeRoot))
        return;

      // resolve repository information and generate problem markers
      RepositoryInformation information = new RepositoryInformation(type);

      Class<?> domainClass = information.getManagedDomainClass();
      if (domainClass == null) {
        return;
      }

      for (IMethod method : information.getMethodsToValidate()) {

        String methodName = method.getElementName();

        try {
          new PartTree(methodName, domainClass);
View Full Code Here

      if (!RepositoryInformation.isSpringDataRepository(type)) {
        return false;
      }

      // resolve repository information and generate problem markers
      RepositoryInformation information = new RepositoryInformation(type);

      Class<?> domainClass = information.getManagedDomainClass();
      if (domainClass == null) {
        return false;
      }
      return true;
    }
View Full Code Here

    ITypeRoot typeRoot = element.getTypeRoot();
    IType type = typeRoot.findPrimaryType();

    // resolve repository information and generate problem markers
    RepositoryInformation information = new RepositoryInformation(type);

    Class<?> domainClass = information.getManagedDomainClass();
    if (domainClass == null) {
      return;
    }

    try {
View Full Code Here

        return super.computeCompletionProposals(javaContext, monitor);
      }

      List<ICompletionProposal> proposals = new ArrayList<ICompletionProposal>();

      RepositoryInformation repositoryInfo = new RepositoryInformation(expectedType);
      Class<?> domainClass = repositoryInfo.getManagedDomainClass();
      if (domainClass != null) {
        Method[] methods = domainClass.getMethods();

        for (Method method : methods) {
          Class<?> returnType = method.getReturnType();
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.data.jdt.core.RepositoryInformation

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.