Package org.aspectj.org.eclipse.jdt.internal.core.util

Examples of org.aspectj.org.eclipse.jdt.internal.core.util.HashSetOfArray


      for (int i = 0; i < length; i++) {
        IPackageFragmentRoot root = roots[i];
        DeltaProcessor.RootInfo rootInfo = (DeltaProcessor.RootInfo) rootInfos.get(root.getPath());
        if (rootInfo == null || rootInfo.project.equals(project)) {
          // compute fragment cache
          HashSetOfArray fragmentsCache = new HashSetOfArray();
          initializePackageNames(root, fragmentsCache);
          pkgFragmentsCaches.put(root, fragmentsCache);
        }
      }
     
View Full Code Here


      allPkgFragmentsCache = new HashtableOfArrayToObject();
      for (int i = 0; i < length; i++) {
        IPackageFragmentRoot root = allRoots[i];
        DeltaProcessor.RootInfo rootInfo = (DeltaProcessor.RootInfo) rootInfos.get(root.getPath());
        JavaProject rootProject = rootInfo == null ? project : rootInfo.project;
        HashSetOfArray fragmentsCache;
        if (rootProject.equals(project)) {
          // retrieve package fragments cache from this project
          fragmentsCache = (HashSetOfArray) cache.pkgFragmentsCaches.get(root);
        } else {
          // retrieve package fragments  cache from the root's project
          ProjectCache rootProjectCache;
          try {
            rootProjectCache = rootProject.getProjectCache();
          } catch (JavaModelException e) {
            // project doesn't exit
            continue;
          }
          fragmentsCache = (HashSetOfArray) rootProjectCache.pkgFragmentsCaches.get(root);
        }
        if (fragmentsCache == null) { // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=183833
          fragmentsCache = new HashSetOfArray();
          initializePackageNames(root, fragmentsCache);
        }
        Object[][] set = fragmentsCache.set;
        for (int j = 0, length2 = set.length; j < length2; j++) {
          String[] pkgName = (String[]) set[j];
View Full Code Here

TOP

Related Classes of org.aspectj.org.eclipse.jdt.internal.core.util.HashSetOfArray

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.