Examples of fullExclusionPatternChars()


Examples of org.aspectj.org.eclipse.jdt.internal.core.PackageFragmentRoot.fullExclusionPatternChars()

        if (target == null) {
          // target doesn't exist any longer
          // just resize cpLocations
          System.arraycopy(cpLocations, 0, cpLocations = new ClasspathLocation[cpLocations.length-1], 0, index);
        } else if (root.getKind() == IPackageFragmentRoot.K_SOURCE) {
          cpLocations[index++] = new ClasspathSourceDirectory((IContainer)target, root.fullExclusionPatternChars(), root.fullInclusionPatternChars());
        } else {
          cpLocations[index++] = ClasspathLocation.forBinaryFolder((IContainer) target, false, ((ClasspathEntry) root.getRawClasspathEntry()).getAccessRuleSet());
        }
      }
    } catch (CoreException e1) {
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.core.PackageFragmentRoot.fullExclusionPatternChars()

          || !project.hasNature(JavaCore.NATURE_ID)) continue;
        IJavaProject javaProject= this.javaModel.getJavaProject(project);
        IPackageFragmentRoot[] roots= javaProject.getPackageFragmentRoots();
        for (int j= 0, rootCount= roots.length; j < rootCount; j++) {
          PackageFragmentRoot root= (PackageFragmentRoot)roots[j];
          if (root.getPath().isPrefixOf(path) && !Util.isExcluded(path, root.fullInclusionPatternChars(), root.fullExclusionPatternChars(), false)) {
            return root;
          }
        }
      } catch (CoreException e) {
        // CoreException from hasNature - should not happen since we check that the project is accessible
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.core.PackageFragmentRoot.fullExclusionPatternChars()

        return false;

      case IJavaElement.PACKAGE_FRAGMENT:
        PackageFragmentRoot root = (PackageFragmentRoot)element.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT);
        IResource resource = element.getResource();
        return resource != null && isExcluded(resource, root.fullInclusionPatternChars(), root.fullExclusionPatternChars());
       
      case IJavaElement.COMPILATION_UNIT:
        root = (PackageFragmentRoot)element.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT);
        resource = element.getResource();
        if (resource == null)
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.core.PackageFragmentRoot.fullExclusionPatternChars()

      case IJavaElement.COMPILATION_UNIT:
        root = (PackageFragmentRoot)element.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT);
        resource = element.getResource();
        if (resource == null)
          return false;
        if (isExcluded(resource, root.fullInclusionPatternChars(), root.fullExclusionPatternChars()))
          return true;
        return isExcluded(element.getParent());
       
      default:
        IJavaElement cu = element.getAncestor(IJavaElement.COMPILATION_UNIT);
View Full Code Here

Examples of org.eclipse.dltk.internal.core.ProjectFragment.fullExclusionPatternChars()

      if (!isFullPath) {
        rootPath = EnvironmentPathUtils.getLocalPath(rootPath);
      }
      if (rootPath.isPrefixOf(path)
          && !Util.isExcluded(path, root.fullInclusionPatternChars(),
              root.fullExclusionPatternChars(), false)) {
        IPath localPath = path.setDevice(null).removeFirstSegments(
            rootPath.segmentCount());
        if (localPath.segmentCount() >= 1) {
          final IScriptFolder folder;
          if (localPath.segmentCount() > 1) {
View Full Code Here

Examples of org.eclipse.jdt.internal.core.PackageFragmentRoot.fullExclusionPatternChars()

        return false;

      case IJavaElement.PACKAGE_FRAGMENT:
        PackageFragmentRoot root = (PackageFragmentRoot) element.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT);
        IResource resource = ((PackageFragment) element).resource();
        return resource != null && isExcluded(resource, root.fullInclusionPatternChars(), root.fullExclusionPatternChars());

      case IJavaElement.COMPILATION_UNIT:
        root = (PackageFragmentRoot) element.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT);
        resource = element.getResource();
        if (resource == null)
View Full Code Here

Examples of org.eclipse.jdt.internal.core.PackageFragmentRoot.fullExclusionPatternChars()

      case IJavaElement.COMPILATION_UNIT:
        root = (PackageFragmentRoot) element.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT);
        resource = element.getResource();
        if (resource == null)
          return false;
        if (isExcluded(resource, root.fullInclusionPatternChars(), root.fullExclusionPatternChars()))
          return true;
        return isExcluded(element.getParent());

      default:
        IJavaElement cu = element.getAncestor(IJavaElement.COMPILATION_UNIT);
View Full Code Here

Examples of org.eclipse.jdt.internal.core.PackageFragmentRoot.fullExclusionPatternChars()

        return false;

      case IJavaElement.PACKAGE_FRAGMENT:
        PackageFragmentRoot root = (PackageFragmentRoot) element.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT);
        IResource resource = ((PackageFragment) element).resource();
        return resource != null && isExcluded(resource, root.fullInclusionPatternChars(), root.fullExclusionPatternChars());

      case IJavaElement.COMPILATION_UNIT:
        root = (PackageFragmentRoot) element.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT);
        resource = element.getResource();
        if (resource == null)
View Full Code Here

Examples of org.eclipse.jdt.internal.core.PackageFragmentRoot.fullExclusionPatternChars()

      case IJavaElement.COMPILATION_UNIT:
        root = (PackageFragmentRoot) element.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT);
        resource = element.getResource();
        if (resource == null)
          return false;
        if (isExcluded(resource, root.fullInclusionPatternChars(), root.fullExclusionPatternChars()))
          return true;
        return isExcluded(element.getParent());

      default:
        IJavaElement cu = element.getAncestor(IJavaElement.COMPILATION_UNIT);
View Full Code Here

Examples of org.eclipse.jdt.internal.core.PackageFragmentRoot.fullExclusionPatternChars()

        if (target == null) {
          // target doesn't exist any longer
          // just resize cpLocations
          System.arraycopy(cpLocations, 0, cpLocations = new ClasspathLocation[cpLocations.length-1], 0, index);
        } else if (root.getKind() == IPackageFragmentRoot.K_SOURCE) {
          cpLocations[index++] = new ClasspathSourceDirectory((IContainer)target, root.fullExclusionPatternChars(), root.fullInclusionPatternChars());
        } else {
          cpLocations[index++] = ClasspathLocation.forBinaryFolder((IContainer) target, false, ((ClasspathEntry) root.getRawClasspathEntry()).getAccessRuleSet());
        }
      }
    } catch (CoreException e1) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.