Package org.springframework.ide.eclipse.quickfix.jdt.proposals

Examples of org.springframework.ide.eclipse.quickfix.jdt.proposals.PackageNameCompletionProposal


    IPackageFragment[] packages = javaContext.getProject().getPackageFragments();
    Set<String> foundPackages = new HashSet<String>();
    for (IPackageFragment currPackage : packages) {
      String packageName = currPackage.getElementName();
      if (packageName.startsWith(value) && !foundPackages.contains(packageName)) {
        proposals.add(new PackageNameCompletionProposal(packageName, annotation, javaContext));
        foundPackages.add(packageName);
      }
    }

    return proposals;
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.quickfix.jdt.proposals.PackageNameCompletionProposal

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.