Uses of Interface
org.eclipse.jdt.core.IClasspathEntry

Packages that use IClasspathEntry
org.eclipse.jdt.core The Java model is the set of classes that model the objects associated with creating, editing, and building a Java program. 
org.eclipse.jdt.core.tests.builder   
org.eclipse.jdt.core.tests.model   
org.eclipse.jdt.internal.core   
org.eclipse.jdt.internal.core.search   
 

Uses of IClasspathEntry in org.eclipse.jdt.core
 

Methods in org.eclipse.jdt.core that return IClasspathEntry
 IClasspathEntry IJavaProject.decodeClasspathEntry(java.lang.String encodedEntry)
          Decodes the classpath entry that has been encoded in the given string in the context of this project.
 IClasspathEntry[] IClasspathContainer.getClasspathEntries()
          Answers the set of classpath entries this container is mapping to.
 IClasspathEntry[] IJavaProject.getRawClasspath()
          Returns the raw classpath for the project, as a list of classpath entries.
 IClasspathEntry IPackageFragmentRoot.getRawClasspathEntry()
          Returns the first raw classpath entry that corresponds to this package fragment root.
 IClasspathEntry[] IJavaProject.getResolvedClasspath(boolean ignoreUnresolvedEntry)
          This is a helper method returning the resolved classpath for the project as a list of simple (non-variable, non-container) classpath entries.
static IClasspathEntry JavaCore.getResolvedClasspathEntry(IClasspathEntry entry)
          This is a helper method, which returns the resolved classpath entry denoted by a given entry (if it is a variable entry).
 IClasspathEntry IClasspathEntry.getResolvedEntry()
          Deprecated. Use JavaCore.getResolvedClasspathEntry(IClasspathEntry) instead
static IClasspathEntry JavaCore.newContainerEntry(org.eclipse.core.runtime.IPath containerPath)
          Creates and returns a new classpath entry of kind CPE_CONTAINER for the given path.
static IClasspathEntry JavaCore.newContainerEntry(org.eclipse.core.runtime.IPath containerPath, boolean isExported)
          Creates and returns a new classpath entry of kind CPE_CONTAINER for the given path.
static IClasspathEntry JavaCore.newContainerEntry(org.eclipse.core.runtime.IPath containerPath, IAccessRule[] accessRules, IClasspathAttribute[] extraAttributes, boolean isExported)
          Creates and returns a new classpath entry of kind CPE_CONTAINER for the given path.
static IClasspathEntry JavaCore.newLibraryEntry(org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IPath sourceAttachmentPath, org.eclipse.core.runtime.IPath sourceAttachmentRootPath)
          Creates and returns a new non-exported classpath entry of kind CPE_LIBRARY for the JAR or folder identified by the given absolute path.
static IClasspathEntry JavaCore.newLibraryEntry(org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IPath sourceAttachmentPath, org.eclipse.core.runtime.IPath sourceAttachmentRootPath, boolean isExported)
          Creates and returns a new classpath entry of kind CPE_LIBRARY for the JAR or folder identified by the given absolute path.
static IClasspathEntry JavaCore.newLibraryEntry(org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IPath sourceAttachmentPath, org.eclipse.core.runtime.IPath sourceAttachmentRootPath, IAccessRule[] accessRules, IClasspathAttribute[] extraAttributes, boolean isExported)
          Creates and returns a new classpath entry of kind CPE_LIBRARY for the JAR or folder identified by the given absolute path.
static IClasspathEntry JavaCore.newProjectEntry(org.eclipse.core.runtime.IPath path)
          Creates and returns a new non-exported classpath entry of kind CPE_PROJECT for the project identified by the given absolute path.
static IClasspathEntry JavaCore.newProjectEntry(org.eclipse.core.runtime.IPath path, boolean isExported)
          Creates and returns a new classpath entry of kind CPE_PROJECT for the project identified by the given absolute path.
static IClasspathEntry JavaCore.newProjectEntry(org.eclipse.core.runtime.IPath path, IAccessRule[] accessRules, boolean combineAccessRules, IClasspathAttribute[] extraAttributes, boolean isExported)
          Creates and returns a new classpath entry of kind CPE_PROJECT for the project identified by the given absolute path.
static IClasspathEntry JavaCore.newSourceEntry(org.eclipse.core.runtime.IPath path)
          Creates and returns a new classpath entry of kind CPE_SOURCE for all files in the project's source folder identified by the given absolute workspace-relative path.
static IClasspathEntry JavaCore.newSourceEntry(org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IPath[] exclusionPatterns)
          Creates and returns a new classpath entry of kind CPE_SOURCE for the project's source folder identified by the given absolute workspace-relative path but excluding all source files with paths matching any of the given patterns.
static IClasspathEntry JavaCore.newSourceEntry(org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IPath[] exclusionPatterns, org.eclipse.core.runtime.IPath specificOutputLocation)
          Creates and returns a new classpath entry of kind CPE_SOURCE for the project's source folder identified by the given absolute workspace-relative path but excluding all source files with paths matching any of the given patterns, and associated with a specific output location (that is, ".class" files are not going to the project default output location).
static IClasspathEntry JavaCore.newSourceEntry(org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IPath[] inclusionPatterns, org.eclipse.core.runtime.IPath[] exclusionPatterns, org.eclipse.core.runtime.IPath specificOutputLocation)
          Creates and returns a new classpath entry of kind CPE_SOURCE for the project's source folder identified by the given absolute workspace-relative path but excluding all source files with paths matching any of the given patterns, and associated with a specific output location (that is, ".class" files are not going to the project default output location).
static IClasspathEntry JavaCore.newSourceEntry(org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IPath[] inclusionPatterns, org.eclipse.core.runtime.IPath[] exclusionPatterns, org.eclipse.core.runtime.IPath specificOutputLocation, IClasspathAttribute[] extraAttributes)
          Creates and returns a new classpath entry of kind CPE_SOURCE for the project's source folder identified by the given absolute workspace-relative path using the given inclusion and exclusion patterns to determine which source files are included, and the given output path to control the output location of generated files.
static IClasspathEntry JavaCore.newVariableEntry(org.eclipse.core.runtime.IPath variablePath, org.eclipse.core.runtime.IPath variableSourceAttachmentPath, org.eclipse.core.runtime.IPath sourceAttachmentRootPath)
          Creates and returns a new non-exported classpath entry of kind CPE_VARIABLE for the given path.
static IClasspathEntry JavaCore.newVariableEntry(org.eclipse.core.runtime.IPath variablePath, org.eclipse.core.runtime.IPath variableSourceAttachmentPath, org.eclipse.core.runtime.IPath variableSourceAttachmentRootPath, boolean isExported)
          Creates and returns a new classpath entry of kind CPE_VARIABLE for the given path.
static IClasspathEntry JavaCore.newVariableEntry(org.eclipse.core.runtime.IPath variablePath, org.eclipse.core.runtime.IPath variableSourceAttachmentPath, org.eclipse.core.runtime.IPath variableSourceAttachmentRootPath, IAccessRule[] accessRules, IClasspathAttribute[] extraAttributes, boolean isExported)
          Creates and returns a new classpath entry of kind CPE_VARIABLE for the given path.
 IClasspathEntry[] IJavaProject.readRawClasspath()
          Returns the raw classpath for the project as defined by its .classpath file from disk, or null if unable to read the file.
 

Methods in org.eclipse.jdt.core with parameters of type IClasspathEntry
 void IPackageFragmentRoot.copy(org.eclipse.core.runtime.IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling, org.eclipse.core.runtime.IProgressMonitor monitor)
          Copies the resource of this package fragment root to the destination path as specified by IResource.copy(IPath, int, IProgressMonitor) but excluding nested source folders.
 java.lang.String IJavaProject.encodeClasspathEntry(IClasspathEntry classpathEntry)
          Encodes the given classpath entry into a string in the context of this project.
 IPackageFragmentRoot[] IJavaProject.findPackageFragmentRoots(IClasspathEntry entry)
          Returns the existing package fragment roots identified by the given entry.
 IPackageFragmentRoot[] IJavaProject.getPackageFragmentRoots(IClasspathEntry entry)
          Deprecated. Use IJavaProject.findPackageFragmentRoots(IClasspathEntry) instead
static IClasspathEntry JavaCore.getResolvedClasspathEntry(IClasspathEntry entry)
          This is a helper method, which returns the resolved classpath entry denoted by a given entry (if it is a variable entry).
 boolean IJavaProject.hasClasspathCycle(IClasspathEntry[] entries)
          Returns whether setting this project's classpath to the given classpath entries would result in a cycle.
 void IPackageFragmentRoot.move(org.eclipse.core.runtime.IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling, org.eclipse.core.runtime.IProgressMonitor monitor)
          Moves the resource of this package fragment root to the destination path as specified by IResource.move(IPath,int,IProgressMonitor) but excluding nested source folders.
 ICompilationUnit WorkingCopyOwner.newWorkingCopy(java.lang.String name, IClasspathEntry[] classpath, IProblemRequestor problemRequestor, org.eclipse.core.runtime.IProgressMonitor monitor)
          Deprecated. Use WorkingCopyOwner.newWorkingCopy(String, IClasspathEntry[], IProgressMonitor) instead. Note that if this deprecated method is used, problems may be reported twice if the given requestor is not the same as the current working copy owner one.
 ICompilationUnit WorkingCopyOwner.newWorkingCopy(java.lang.String name, IClasspathEntry[] classpath, org.eclipse.core.runtime.IProgressMonitor monitor)
          Returns a new working copy with the given name using this working copy owner to create its buffer.
 void IJavaProject.setRawClasspath(IClasspathEntry[] entries, boolean canModifyResources, org.eclipse.core.runtime.IProgressMonitor monitor)
          Sets the classpath of this project using a list of classpath entries.
 void IJavaProject.setRawClasspath(IClasspathEntry[] entries, org.eclipse.core.runtime.IPath outputLocation, boolean canModifyResources, org.eclipse.core.runtime.IProgressMonitor monitor)
          Sets both the classpath of this project and its default output location at once.
 void IJavaProject.setRawClasspath(IClasspathEntry[] entries, org.eclipse.core.runtime.IPath outputLocation, org.eclipse.core.runtime.IProgressMonitor monitor)
          Sets the both the classpath of this project and its default output location at once.
 void IJavaProject.setRawClasspath(IClasspathEntry[] entries, org.eclipse.core.runtime.IProgressMonitor monitor)
          Sets the classpath of this project using a list of classpath entries.
static IJavaModelStatus JavaConventions.validateClasspath(IJavaProject javaProject, IClasspathEntry[] rawClasspath, org.eclipse.core.runtime.IPath projectOutputLocation)
          Validate a given classpath and output location for a project, using the following rules: Classpath entries cannot collide with each other; that is, all entry paths must be unique.
static IJavaModelStatus JavaConventions.validateClasspathEntry(IJavaProject project, IClasspathEntry entry, boolean checkSourceAttachment)
          Returns a Java model status describing the problem related to this classpath entry if any, a status object with code IStatus.OK if the entry is fine (that is, if the given classpath entry denotes a valid element to be referenced onto a classpath).
 

Uses of IClasspathEntry in org.eclipse.jdt.core.tests.builder
 

Methods in org.eclipse.jdt.core.tests.builder that return IClasspathEntry
 IClasspathEntry[] TestingEnvironment.getClasspath(org.eclipse.core.runtime.IPath projectPath)
          Returns the class path.
 

Methods in org.eclipse.jdt.core.tests.builder with parameters of type IClasspathEntry
 void TestingEnvironment.addEntry(org.eclipse.core.runtime.IPath projectPath, IClasspathEntry entryPath)
           
 void TestingEnvironment.setClasspath(org.eclipse.core.runtime.IPath projectPath, IClasspathEntry[] entries)
           
 

Uses of IClasspathEntry in org.eclipse.jdt.core.tests.model
 

Methods in org.eclipse.jdt.core.tests.model that return IClasspathEntry
 IClasspathEntry ModifyingResourceTests.createSourceEntry(java.lang.String referingProjectName, java.lang.String src, java.lang.String patterns)
           
 IClasspathEntry[] DefaultContainerInitializer.DefaultContainer.getClasspathEntries()
           
 IClasspathEntry[] CompletionTests2.CompletionContainerInitializer.DefaultContainer.getClasspathEntries()
           
 IClasspathEntry[] ClasspathTests.TestContainer.getClasspathEntries()
           
 

Methods in org.eclipse.jdt.core.tests.model with parameters of type IClasspathEntry
 void AbstractJavaModelTests.setClasspath(IJavaProject javaProject, IClasspathEntry[] classpath)
          Sets the class path of the Java project.
 

Uses of IClasspathEntry in org.eclipse.jdt.internal.core
 

Classes in org.eclipse.jdt.internal.core that implement IClasspathEntry
 class ClasspathEntry
           
 

Fields in org.eclipse.jdt.internal.core declared as IClasspathEntry
static IClasspathEntry[] JavaProject.INVALID_CLASSPATH
          Value of the project's raw classpath if the .classpath file contains invalid entries.
 IClasspathEntry[] JavaModelManager.PerProjectInfo.rawClasspath
           
 IClasspathEntry[] JavaModelManager.PerProjectInfo.resolvedClasspath
           
 

Methods in org.eclipse.jdt.internal.core that return IClasspathEntry
 IClasspathEntry[] JavaProject.decodeClasspath(java.lang.String xmlClasspath, java.util.Map unknownElements)
           
 IClasspathEntry JavaProject.decodeClasspathEntry(java.lang.String encodedEntry)
           
static IClasspathEntry ClasspathEntry.elementDecode(org.w3c.dom.Element element, IJavaProject project, java.util.Map unknownElements)
           
 IClasspathEntry[] UserLibraryClasspathContainer.getClasspathEntries()
           
 IClasspathEntry JavaProject.getClasspathEntryFor(org.eclipse.core.runtime.IPath path)
          Returns the classpath entry that refers to the given path or null if there is no reference to the path.
 IClasspathEntry[] UserLibrary.getEntries()
           
 IClasspathEntry[] JavaProject.getExpandedClasspath()
          This is a helper method returning the expanded classpath for the project, as a list of classpath entries, where all classpath variable entries have been resolved and substituted with their final target entries.
 IClasspathEntry[] JavaProject.getRawClasspath()
           
 IClasspathEntry PackageFragmentRoot.getRawClasspathEntry()
           
 IClasspathEntry[] JavaProject.getResolvedClasspath()
           
 IClasspathEntry[] JavaProject.getResolvedClasspath(boolean ignoreUnresolvedEntry)
           
 IClasspathEntry ClasspathEntry.getResolvedEntry()
          Deprecated.  
 IClasspathEntry[] JavaModelManager.PerProjectInfo.readAndCacheClasspath(JavaProject javaProject)
           
 IClasspathEntry[] JavaProject.readFileEntriesWithException(java.util.Map unknownElements)
           
 IClasspathEntry[] JavaProject.readRawClasspath()
           
 IClasspathEntry[] JavaProject.resolveClasspath(IClasspathEntry[] rawClasspath)
           
 

Methods in org.eclipse.jdt.internal.core with parameters of type IClasspathEntry
 ClasspathChange DeltaProcessor.addClasspathChange(IProject project, IClasspathEntry[] oldRawClasspath, org.eclipse.core.runtime.IPath oldOutputLocation, IClasspathEntry[] oldResolvedClasspath)
           
 ClasspathChange DeltaProcessor.addClasspathChange(IProject project, IClasspathEntry[] oldRawClasspath, org.eclipse.core.runtime.IPath oldOutputLocation, IClasspathEntry[] oldResolvedClasspath)
           
 void DeltaProcessingState.addExternalFolderChange(JavaProject project, IClasspathEntry[] oldResolvedClasspath)
           
 void DeltaProcessingState.addProjectReferenceChange(JavaProject project, IClasspathEntry[] oldResolvedClasspath)
           
static boolean JavaProject.areClasspathsEqual(IClasspathEntry[] firstClasspath, IClasspathEntry[] secondClasspath, org.eclipse.core.runtime.IPath firstOutputLocation, org.eclipse.core.runtime.IPath secondOutputLocation)
           
static boolean JavaProject.areClasspathsEqual(IClasspathEntry[] firstClasspath, IClasspathEntry[] secondClasspath, org.eclipse.core.runtime.IPath firstOutputLocation, org.eclipse.core.runtime.IPath secondOutputLocation)
           
 IPackageFragmentRoot[] JavaProject.computePackageFragmentRoots(IClasspathEntry resolvedEntry)
          Computes the package fragment roots identified by the given entry.
 IPackageFragmentRoot[] JavaProject.computePackageFragmentRoots(IClasspathEntry[] resolvedClasspath, boolean retrieveExportedRoots, java.util.Map rootToResolvedEntries)
          Returns (local/all) the package fragment roots identified by the given project's classpath.
 void JavaProject.computePackageFragmentRoots(IClasspathEntry[] resolvedClasspath, ObjectVector accumulatedRoots, java.util.HashSet rootIDs, IClasspathEntry referringEntry, boolean retrieveExportedRoots, java.util.Map rootToResolvedEntries)
          Returns (local/all) the package fragment roots identified by the given project's classpath.
 void JavaProject.computePackageFragmentRoots(IClasspathEntry[] resolvedClasspath, ObjectVector accumulatedRoots, java.util.HashSet rootIDs, IClasspathEntry referringEntry, boolean retrieveExportedRoots, java.util.Map rootToResolvedEntries)
          Returns (local/all) the package fragment roots identified by the given project's classpath.
 void JavaProject.computePackageFragmentRoots(IClasspathEntry resolvedEntry, ObjectVector accumulatedRoots, java.util.HashSet rootIDs, IClasspathEntry referringEntry, boolean retrieveExportedRoots, java.util.Map rootToResolvedEntries)
          Returns the package fragment roots identified by the given entry.
 void PackageFragmentRoot.copy(org.eclipse.core.runtime.IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 java.lang.String JavaProject.encodeClasspathEntry(IClasspathEntry classpathEntry)
           
 IPackageFragmentRoot[] JavaProject.findPackageFragmentRoots(IClasspathEntry entry)
           
static java.util.HashSet ExternalFoldersManager.getExternalFolders(IClasspathEntry[] classpath)
           
 IPackageFragmentRoot[] JavaProject.getPackageFragmentRoots(IClasspathEntry entry)
          Deprecated.  
 boolean JavaProject.hasClasspathCycle(IClasspathEntry[] preferredClasspath)
           
 void PackageFragmentRoot.move(org.eclipse.core.runtime.IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 java.lang.String[] JavaProject.projectPrerequisites(IClasspathEntry[] entries)
           
 IClasspathEntry[] JavaProject.resolveClasspath(IClasspathEntry[] rawClasspath)
           
static java.lang.String UserLibrary.serialize(IClasspathEntry[] entries, boolean isSystemLibrary)
           
 ClasspathChange JavaModelManager.PerProjectInfo.setClasspath(IClasspathEntry[] newRawClasspath, org.eclipse.core.runtime.IPath newOutputLocation, IJavaModelStatus newRawClasspathStatus, IClasspathEntry[] newResolvedClasspath, java.util.Map newRootPathToRawEntries, java.util.Map newRootPathToResolvedEntries, IJavaModelStatus newUnresolvedEntryStatus)
           
 ClasspathChange JavaModelManager.PerProjectInfo.setClasspath(IClasspathEntry[] newRawClasspath, org.eclipse.core.runtime.IPath newOutputLocation, IJavaModelStatus newRawClasspathStatus, IClasspathEntry[] newResolvedClasspath, java.util.Map newRootPathToRawEntries, java.util.Map newRootPathToResolvedEntries, IJavaModelStatus newUnresolvedEntryStatus)
           
 void JavaProject.setRawClasspath(IClasspathEntry[] entries, boolean canModifyResources, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void JavaProject.setRawClasspath(IClasspathEntry[] newRawClasspath, org.eclipse.core.runtime.IPath newOutputLocation, boolean canModifyResources, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void JavaProject.setRawClasspath(IClasspathEntry[] entries, org.eclipse.core.runtime.IPath outputLocation, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void JavaProject.setRawClasspath(IClasspathEntry[] entries, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void UserLibraryManager.setUserLibrary(java.lang.String libName, IClasspathEntry[] entries, boolean isSystemLibrary)
           
static IJavaModelStatus ClasspathEntry.validateClasspath(IJavaProject javaProject, IClasspathEntry[] rawClasspath, org.eclipse.core.runtime.IPath projectOutputLocation)
          Validate a given classpath and output location for a project, using the following rules: Classpath entries cannot collide with each other; that is, all entry paths must be unique.
static IJavaModelStatus ClasspathEntry.validateClasspathEntry(IJavaProject project, IClasspathEntry entry, boolean checkSourceAttachment, boolean recurseInContainers)
          Returns a Java model status describing the problem related to this classpath entry if any, a status object with code IStatus.OK if the entry is fine (that is, if the given classpath entry denotes a valid element to be referenced onto a classpath).
 boolean JavaModelManager.PerProjectInfo.writeAndCacheClasspath(JavaProject javaProject, IClasspathEntry[] newRawClasspath, org.eclipse.core.runtime.IPath newOutputLocation)
           
 boolean JavaProject.writeFileEntries(IClasspathEntry[] newClasspath, org.eclipse.core.runtime.IPath newOutputLocation)
          Writes the classpath in a sharable format (VCM-wise) only when necessary, that is, if it is semantically different from the existing one in file.
 

Constructors in org.eclipse.jdt.internal.core with parameters of type IClasspathEntry
ClasspathChange(JavaProject project, IClasspathEntry[] oldRawClasspath, org.eclipse.core.runtime.IPath oldOutputLocation, IClasspathEntry[] oldResolvedClasspath)
           
ClasspathChange(JavaProject project, IClasspathEntry[] oldRawClasspath, org.eclipse.core.runtime.IPath oldOutputLocation, IClasspathEntry[] oldResolvedClasspath)
           
CopyPackageFragmentRootOperation(IPackageFragmentRoot root, org.eclipse.core.runtime.IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling)
           
ExternalFolderChange(JavaProject project, IClasspathEntry[] oldResolvedClasspath)
           
ExternalJavaProject(IClasspathEntry[] rawClasspath)
           
MovePackageFragmentRootOperation(IPackageFragmentRoot root, org.eclipse.core.runtime.IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling)
           
ProjectReferenceChange(JavaProject project, IClasspathEntry[] oldResolvedClasspath)
           
SetClasspathOperation(JavaProject project, IClasspathEntry[] newRawClasspath, org.eclipse.core.runtime.IPath newOutputLocation, boolean canChangeResource)
          When executed, this operation sets the raw classpath and output location of the given project.
UserLibrary(IClasspathEntry[] entries, boolean isSystemLibrary)
           
 

Uses of IClasspathEntry in org.eclipse.jdt.internal.core.search
 

Methods in org.eclipse.jdt.internal.core.search with parameters of type IClasspathEntry
static boolean IndexSelector.canSeeFocus(IJavaElement focus, JavaProject javaProject, IClasspathEntry[] focusEntriesForPolymorphicSearch)