Verwendungen von Schnittstelle
org.aspectj.org.eclipse.jdt.core.IClasspathEntry
Packages, die IClasspathEntry verwenden
Package
Beschreibung
The Java model is the set of classes that model the
objects associated with creating, editing, and building a Java program.
-
Verwendungen von IClasspathEntry in org.aspectj.org.eclipse.jdt.core
Methoden in org.aspectj.org.eclipse.jdt.core, die IClasspathEntry zurückgebenModifizierer und TypMethodeBeschreibungIJavaProject.decodeClasspathEntry
(String encodedEntry) Decodes the classpath entry that has been encoded in the given string in the context of this project.IJavaProject.findContainingClasspathEntry
(org.eclipse.core.resources.IResource resource) Returns the class path entry which contains the given resource and not explicitly excluded using an exclusion pattern, or null otherwise.IClasspathContainer.getClasspathEntries()
Answers the set of classpath entries this container is mapping to.IJavaProject.getClasspathEntryFor
(org.eclipse.core.runtime.IPath path) Returns the classpath entry that refers to the given path ornull
if there is no reference to the path.IJavaProject.getRawClasspath()
Returns the raw classpath for the project, as a list of classpath entries.IPackageFragmentRoot.getRawClasspathEntry()
Returns the first raw classpath entry that corresponds to this package fragment root.IJavaProject.getReferencedClasspathEntries()
Returns the list of referenced classpath entries stored in the .classpath file ofthis
java project.static IClasspathEntry[]
JavaCore.getReferencedClasspathEntries
(IClasspathEntry libraryEntry, IJavaProject project) Returns an array of classpath entries that are referenced directly or indirectly by a given classpath entry.IClasspathEntry.getReferencingEntry()
Returns the classpath entry that is making a reference to this classpath entry.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.IPackageFragmentRoot.getResolvedClasspathEntry()
Returns the first resolved classpath entry that corresponds to this package fragment root.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.getResolvedEntry()
Veraltet.static IClasspathEntry
JavaCore.newContainerEntry
(org.eclipse.core.runtime.IPath containerPath) Creates and returns a new classpath entry of kindCPE_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 kindCPE_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 kindCPE_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 kindCPE_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 kindCPE_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 kindCPE_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 kindCPE_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 kindCPE_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 kindCPE_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 kindCPE_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 kindCPE_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 kindCPE_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 kindCPE_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 kindCPE_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 kindCPE_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 kindCPE_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 kindCPE_VARIABLE
for the given path.IJavaProject.readRawClasspath()
Returns the raw classpath for the project as defined by its.classpath
file from disk, ornull
if unable to read the file.Methoden in org.aspectj.org.eclipse.jdt.core mit Parametern vom Typ IClasspathEntryModifizierer und TypMethodeBeschreibungvoid
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 byIResource.copy(IPath, int, IProgressMonitor)
but excluding nested source folders.IJavaProject.encodeClasspathEntry
(IClasspathEntry classpathEntry) Encodes the given classpath entry into a string in the context of this project.IJavaProject.findPackageFragmentRoots
(IClasspathEntry entry) Returns the existing package fragment roots identified by the given entry.IJavaProject.findUnfilteredPackageFragmentRoots
(IClasspathEntry entry) In a Java 9 project, a classpath entry can be filtered using aIClasspathAttribute.LIMIT_MODULES
attribute, otherwise for an unnamed module a default set of roots is used as defined in JEP 261.IJavaProject.getPackageFragmentRoots
(IClasspathEntry entry) Veraltet.static IClasspathEntry[]
JavaCore.getReferencedClasspathEntries
(IClasspathEntry libraryEntry, IJavaProject project) Returns an array of classpath entries that are referenced directly or indirectly by a given classpath entry.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 byIResource.move(IPath,int,IProgressMonitor)
but excluding nested source folders.final ICompilationUnit
WorkingCopyOwner.newWorkingCopy
(String name, IClasspathEntry[] classpath, IProblemRequestor problemRequestor, org.eclipse.core.runtime.IProgressMonitor monitor) Veraltet.final ICompilationUnit
WorkingCopyOwner.newWorkingCopy
(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, IClasspathEntry[] referencedEntries, org.eclipse.core.runtime.IPath outputLocation, org.eclipse.core.runtime.IProgressMonitor monitor) Works similar toIJavaProject.setRawClasspath(IClasspathEntry[], IPath, IProgressMonitor)
and additionally allows persisting the given array of referenced entries for this project.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 codeIStatus.OK
if the entry is fine (that is, if the given classpath entry denotes a valid element to be referenced onto a classpath). -
Verwendungen von IClasspathEntry in org.aspectj.org.eclipse.jdt.internal.core
Klassen in org.aspectj.org.eclipse.jdt.internal.core, die IClasspathEntry implementierenFelder in org.aspectj.org.eclipse.jdt.internal.core, die deklariert sind als IClasspathEntryModifizierer und TypFeldBeschreibungstatic final IClasspathEntry[]
JavaProject.INVALID_CLASSPATH
Value of the project's raw classpath if the .classpath file contains invalid entries.JavaModelManager.PerProjectInfo.rawClasspath
JavaModelManager.PerProjectInfo.referencedEntries
ClasspathEntry.referencingEntry
JavaModelManager.PerProjectInfo.resolvedClasspath
Felder in org.aspectj.org.eclipse.jdt.internal.core mit Typparametern vom Typ IClasspathEntryModifizierer und TypFeldBeschreibungMap<org.eclipse.core.runtime.IPath,
IClasspathEntry> JavaModelManager.PerProjectInfo.rootPathToRawEntries
Map<org.eclipse.core.runtime.IPath,
IClasspathEntry> JavaModelManager.PerProjectInfo.rootPathToResolvedEntries
protected Map<IPackageFragmentRoot,
IClasspathEntry> NameLookup.rootToResolvedEntries
Reverse map from root path to corresponding resolved CP entry (so as to be able to figure inclusion/exclusion rules)Methoden in org.aspectj.org.eclipse.jdt.internal.core, die IClasspathEntry zurückgebenModifizierer und TypMethodeBeschreibungprotected IClasspathEntry
CopyPackageFragmentRootOperation.copy
(IClasspathEntry entry) IClasspathEntry[][]
JavaProject.decodeClasspath
(String xmlClasspath, Map unknownElements) Reads and decode an XML classpath string.JavaProject.decodeClasspathEntry
(String encodedEntry) protected IClasspathEntry[]
JavaProject.defaultClasspath()
Returns a default class path.static IClasspathEntry
ClasspathEntry.elementDecode
(Element element, IJavaProject project, Map unknownElements) JavaProject.findContainingClasspathEntry
(org.eclipse.core.resources.IResource resource) ModulePathContainer.getClasspathEntries()
UserLibraryClasspathContainer.getClasspathEntries()
JavaProject.getClasspathEntryFor
(org.eclipse.core.runtime.IPath path) UserLibrary.getEntries()
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.JavaProject.getExpandedClasspath
(boolean excludeTestCode) JavaProject.getRawClasspath()
PackageFragmentRoot.getRawClasspathEntry()
JavaModelManager.getReferencedClasspathEntries
(IClasspathEntry libraryEntry, IJavaProject project) JavaProject.getReferencedClasspathEntries()
ClasspathEntry.getReferencingEntry()
JavaModelManager.PerProjectInfo.getResolvedClasspath()
JavaProject.getResolvedClasspath()
JavaProject.getResolvedClasspath
(boolean ignoreUnresolvedEntry) PackageFragmentRoot.getResolvedClasspathEntry()
ClasspathEntry.getResolvedEntry()
Veraltet.IClasspathEntry[][]
JavaModelManager.PerProjectInfo.readAndCacheClasspath
(JavaProject javaProject) Reads the classpath and caches the entries.IClasspathEntry[][]
JavaProject.readFileEntriesWithException
(Map unknownElements) Reads the classpath file entries of this project's .classpath file.JavaProject.readRawClasspath()
JavaProject.resolveClasspath
(IClasspathEntry[] rawClasspath) JavaModelManager.resolveVariableEntry
(IClasspathEntry entry, boolean usePreviousSession) Methoden in org.aspectj.org.eclipse.jdt.internal.core mit Parametern vom Typ IClasspathEntryModifizierer und TypMethodeBeschreibungDeltaProcessingState.addClasspathChange
(org.eclipse.core.resources.IProject project, IClasspathEntry[] oldRawClasspath, org.eclipse.core.runtime.IPath oldOutputLocation, IClasspathEntry[] oldResolvedClasspath) protected void
CopyPackageFragmentRootOperation.addEntryToClasspath
(IClasspathEntry rootEntry, org.eclipse.core.resources.IWorkspaceRoot workspaceRoot) void
DeltaProcessingState.addExternalFolderChange
(JavaProject project, IClasspathEntry[] oldResolvedClasspath) void
ModuleUpdater.addReadUnnamedForNonEmptyClasspath
(JavaProject project, IClasspathEntry[] expandedClasspath) static boolean
JavaProject.areClasspathsEqual
(IClasspathEntry[] firstClasspath, IClasspathEntry[] secondClasspath, org.eclipse.core.runtime.IPath firstOutputLocation, org.eclipse.core.runtime.IPath secondOutputLocation) void
ModuleUpdater.computeModuleUpdates
(IClasspathEntry entry) Detects any ADD_EXPORTS or ADD_READS classpath attributes, parses the value, and collects the resulting module updates.JavaProject.computePackageFragmentRoots
(IClasspathEntry resolvedEntry) Computes the package fragment roots identified by the given entry.JavaProject.computePackageFragmentRoots
(IClasspathEntry[] resolvedClasspath, boolean retrieveExportedRoots, boolean filterModuleRoots, Map rootToResolvedEntries) JavaProject.computePackageFragmentRoots
(IClasspathEntry[] resolvedClasspath, boolean retrieveExportedRoots, boolean filterModuleRoots, Map rootToResolvedEntries, boolean excludeTestCode) Returns (local/all) the package fragment roots identified by the given project's classpath.void
JavaProject.computePackageFragmentRoots
(IClasspathEntry[] resolvedClasspath, ObjectVector accumulatedRoots, HashSet rootIDs, IClasspathEntry referringEntry, boolean retrieveExportedRoots, boolean filterModuleRoots, Map rootToResolvedEntries) Veraltet.void
JavaProject.computePackageFragmentRoots
(IClasspathEntry[] resolvedClasspath, ObjectVector accumulatedRoots, HashSet rootIDs, IClasspathEntry referringEntry, boolean retrieveExportedRoots, boolean filterModuleRoots, Map rootToResolvedEntries, boolean excludeTestCode) Returns (local/all) the package fragment roots identified by the given project's classpath.void
JavaProject.computePackageFragmentRoots
(IClasspathEntry resolvedEntry, ObjectVector accumulatedRoots, HashSet rootIDs, IClasspathEntry referringEntry, boolean retrieveExportedRoots, boolean filterModuleRoots, Map rootToResolvedEntries) void
JavaProject.computePackageFragmentRoots
(IClasspathEntry resolvedEntry, ObjectVector accumulatedRoots, HashSet rootIDs, IClasspathEntry referringEntry, boolean retrieveExportedRoots, boolean filterModuleRoots, Map rootToResolvedEntries, boolean excludeTestCode) Returns the package fragment roots identified by the given entry.void
JavaProject.computePackageFragmentRoots
(IClasspathEntry resolvedEntry, ObjectVector accumulatedRoots, HashSet rootIDs, IClasspathEntry referringEntry, boolean retrieveExportedRoots, Map rootToResolvedEntries) Returns the package fragment roots identified by the given entry.protected IClasspathEntry
CopyPackageFragmentRootOperation.copy
(IClasspathEntry entry) void
PackageFragmentRoot.copy
(org.eclipse.core.runtime.IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling, org.eclipse.core.runtime.IProgressMonitor monitor) protected void
CopyPackageFragmentRootOperation.copyResource
(IPackageFragmentRoot root, IClasspathEntry rootEntry, org.eclipse.core.resources.IWorkspaceRoot workspaceRoot) protected void
DeletePackageFragmentRootOperation.deleteResource
(IPackageFragmentRoot root, IClasspathEntry rootEntry) ModuleUpdater.determineModulesOfProjectsWithNonEmptyClasspath
(JavaProject project, IClasspathEntry[] expandedClasspath) protected String
JavaProject.encodeClasspath
(IClasspathEntry[] classpath, IClasspathEntry[] referencedEntries, org.eclipse.core.runtime.IPath outputLocation, boolean indent, Map unknownElements) Returns the XML String encoding of the class path.JavaProject.encodeClasspathEntry
(IClasspathEntry classpathEntry) JavaProject.findPackageFragmentRoots
(IClasspathEntry entry) JavaProject.findUnfilteredPackageFragmentRoots
(IClasspathEntry entry) static Set<org.eclipse.core.runtime.IPath>
ExternalFoldersManager.getExternalFolders
(IClasspathEntry[] classpath) Returns a set of external paths to external folders referred to on the given classpath.static String
ClasspathEntry.getExtraAttribute
(IClasspathEntry entry, String attributeName) protected static URL
JavaElement.getLibraryJavadocLocation
(IClasspathEntry entry) JavaProject.getPackageFragmentRoots
(IClasspathEntry entry) Veraltet.JavaProject.getPatchedModules
(IClasspathEntry cpEntry) JavaModelManager.getReferencedClasspathEntries
(IClasspathEntry libraryEntry, IJavaProject project) boolean
JavaProject.hasClasspathCycle
(IClasspathEntry[] preferredClasspath) static boolean
ClasspathEntry.isModular
(IClasspathEntry classpathEntry) Checks if the specified classpath entry is on the module path for compilation.void
PackageFragmentRoot.move
(org.eclipse.core.runtime.IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling, org.eclipse.core.runtime.IProgressMonitor monitor) protected void
MovePackageFragmentRootOperation.moveResource
(IPackageFragmentRoot root, IClasspathEntry rootEntry, org.eclipse.core.resources.IWorkspaceRoot workspaceRoot) String[]
JavaProject.projectPrerequisites
(IClasspathEntry[] resolvedClasspath) JavaProject.resolveClasspath
(IClasspathEntry[] rawClasspath) org.aspectj.org.eclipse.jdt.internal.core.JavaProject.ResolvedClasspath
JavaProject.resolveClasspath
(IClasspathEntry[] rawClasspath, boolean usePreviousSession, boolean resolveChainedLibraries) org.aspectj.org.eclipse.jdt.internal.core.JavaProject.ResolvedClasspath
JavaProject.resolveClasspath
(IClasspathEntry[] rawClasspath, IClasspathEntry[] referencedEntries, boolean usePreviousSession, boolean resolveChainedLibraries) JavaModelManager.resolveVariableEntry
(IClasspathEntry entry, boolean usePreviousSession) static String
UserLibrary.serialize
(IClasspathEntry[] entries, boolean isSystemLibrary) JavaModelManager.PerProjectInfo.setRawClasspath
(IClasspathEntry[] newRawClasspath, IClasspathEntry[] referencedEntries, org.eclipse.core.runtime.IPath newOutputLocation, IJavaModelStatus newRawClasspathStatus) JavaModelManager.PerProjectInfo.setRawClasspath
(IClasspathEntry[] newRawClasspath, org.eclipse.core.runtime.IPath newOutputLocation, IJavaModelStatus newRawClasspathStatus) void
JavaProject.setRawClasspath
(IClasspathEntry[] entries, boolean canModifyResources, org.eclipse.core.runtime.IProgressMonitor monitor) protected void
JavaProject.setRawClasspath
(IClasspathEntry[] newRawClasspath, IClasspathEntry[] referencedEntries, org.eclipse.core.runtime.IPath newOutputLocation, boolean canModifyResources, org.eclipse.core.runtime.IProgressMonitor monitor) void
JavaProject.setRawClasspath
(IClasspathEntry[] entries, IClasspathEntry[] referencedEntries, org.eclipse.core.runtime.IPath outputLocation, 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) JavaModelManager.PerProjectInfo.setResolvedClasspath
(IClasspathEntry[] newResolvedClasspath, Map<org.eclipse.core.runtime.IPath, IClasspathEntry> newRootPathToRawEntries, Map<org.eclipse.core.runtime.IPath, IClasspathEntry> newRootPathToResolvedEntries, IJavaModelStatus newUnresolvedEntryStatus, int timeStamp, boolean addClasspathChange) JavaModelManager.PerProjectInfo.setResolvedClasspath
(IClasspathEntry[] newResolvedClasspath, IClasspathEntry[] referencedEntries, Map<org.eclipse.core.runtime.IPath, IClasspathEntry> newRootPathToRawEntries, Map<org.eclipse.core.runtime.IPath, IClasspathEntry> newRootPathToResolvedEntries, IJavaModelStatus newUnresolvedEntryStatus, int timeStamp, boolean addClasspathChange) void
UserLibraryManager.setUserLibrary
(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 referredByContainer) Returns a Java model status describing the problem related to this classpath entry if any, a status object with codeIStatus.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, IClasspathEntry[] newReferencedEntries, org.eclipse.core.runtime.IPath newOutputLocation) boolean
JavaModelManager.PerProjectInfo.writeAndCacheClasspath
(JavaProject javaProject, IClasspathEntry[] newRawClasspath, org.eclipse.core.runtime.IPath newOutputLocation) boolean
JavaProject.writeFileEntries
(IClasspathEntry[] newClasspath, IClasspathEntry[] referencedEntries, 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.boolean
JavaProject.writeFileEntries
(IClasspathEntry[] newClasspath, org.eclipse.core.runtime.IPath newOutputLocation) Methodenparameter in org.aspectj.org.eclipse.jdt.internal.core mit Typargumenten vom Typ IClasspathEntryModifizierer und TypMethodeBeschreibungJavaModelManager.PerProjectInfo.setResolvedClasspath
(IClasspathEntry[] newResolvedClasspath, Map<org.eclipse.core.runtime.IPath, IClasspathEntry> newRootPathToRawEntries, Map<org.eclipse.core.runtime.IPath, IClasspathEntry> newRootPathToResolvedEntries, IJavaModelStatus newUnresolvedEntryStatus, int timeStamp, boolean addClasspathChange) JavaModelManager.PerProjectInfo.setResolvedClasspath
(IClasspathEntry[] newResolvedClasspath, IClasspathEntry[] referencedEntries, Map<org.eclipse.core.runtime.IPath, IClasspathEntry> newRootPathToRawEntries, Map<org.eclipse.core.runtime.IPath, IClasspathEntry> newRootPathToResolvedEntries, IJavaModelStatus newUnresolvedEntryStatus, int timeStamp, boolean addClasspathChange) Konstruktoren in org.aspectj.org.eclipse.jdt.internal.core mit Parametern vom Typ IClasspathEntryModifiziererKonstruktorBeschreibungClasspathChange
(JavaProject project, IClasspathEntry[] oldRawClasspath, org.eclipse.core.runtime.IPath oldOutputLocation, IClasspathEntry[] oldResolvedClasspath) ClasspathEntry
(int contentKind, int entryKind, org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IPath[] inclusionPatterns, org.eclipse.core.runtime.IPath[] exclusionPatterns, org.eclipse.core.runtime.IPath sourceAttachmentPath, org.eclipse.core.runtime.IPath sourceAttachmentRootPath, org.eclipse.core.runtime.IPath specificOutputLocation, IClasspathEntry referencingEntry, boolean isExported, IAccessRule[] accessRules, boolean combineAccessRules, IClasspathAttribute[] extraAttributes) Creates a class path entry of the specified kind with the given path.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) SetClasspathOperation
(JavaProject project, IClasspathEntry[] newRawClasspath, IClasspathEntry[] referencedEntries, org.eclipse.core.runtime.IPath newOutputLocation, boolean canChangeResource) When executed, this operation sets the raw classpath and output location of the given project.SetClasspathOperation
(JavaProject project, IClasspathEntry[] newRawClasspath, org.eclipse.core.runtime.IPath newOutputLocation, boolean canChangeResource) UserLibrary
(IClasspathEntry[] entries, boolean isSystemLibrary)
JavaCore.getResolvedClasspathEntry(IClasspathEntry)
instead