Uses of Interface
org.aspectj.org.eclipse.jdt.core.IPackageFragmentRoot
Packages that use IPackageFragmentRoot
Package
Description
The Java model is the set of classes that model the
objects associated with creating, editing, and building a Java program.
Provides support for searching the workspace Java
elements that match a particular description.
-
Uses of IPackageFragmentRoot in org.aspectj.org.eclipse.jdt.core
Methods in org.aspectj.org.eclipse.jdt.core that return IPackageFragmentRootModifier and TypeMethodDescriptionstatic IPackageFragmentRootJavaCore.createJarPackageFragmentRootFrom(org.eclipse.core.resources.IFile file) Creates and returns a handle for the given JAR file.IJavaProject.findPackageFragmentRoot(org.eclipse.core.runtime.IPath path) Returns the existing package fragment root on this project's classpath whose path matches the given (absolute) path, ornullif one does not exist.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_MODULESattribute, otherwise for an unnamed module a default set of roots is used as defined in JEP 261.IJavaProject.getAllPackageFragmentRoots()Returns all of the existing package fragment roots that exist on the classpath, in the order they are defined by the classpath.IJarEntryResource.getPackageFragmentRoot()Returns the package fragment root this jar entry resource belongs to.IJavaProject.getPackageFragmentRoot(String externalLibraryPath) Returns a package fragment root for an external library (a ZIP archive - e.g.IJavaProject.getPackageFragmentRoot(org.eclipse.core.resources.IResource resource) Returns a package fragment root for the given resource, which must either be a folder representing the top of a package hierarchy, or a ZIP archive (e.g.IJavaProject.getPackageFragmentRoots()Returns all of the package fragment roots contained in this project, identified on this project's resolved classpath.IJavaProject.getPackageFragmentRoots(IClasspathEntry entry) Deprecated.Method parameters in org.aspectj.org.eclipse.jdt.core with type arguments of type IPackageFragmentRootModifier and TypeMethodDescriptionJavaCore.defaultRootModules(Iterable<IPackageFragmentRoot> allSystemRoots) Deprecated.This method cannot distinguish strategies for old (9/10) vs new (11+) JDK versions.JavaCore.defaultRootModules(Iterable<IPackageFragmentRoot> allSystemRoots, String release) Filter the given set of system roots by the rules for root modules from JEP 261. -
Uses of IPackageFragmentRoot in org.aspectj.org.eclipse.jdt.core.search
Methods in org.aspectj.org.eclipse.jdt.core.search that return IPackageFragmentRootModifier and TypeMethodDescriptionTypeNameMatch.getPackageFragmentRoot()Returns the package fragment root of the stored type. -
Uses of IPackageFragmentRoot in org.aspectj.org.eclipse.jdt.internal.core
Classes in org.aspectj.org.eclipse.jdt.internal.core that implement IPackageFragmentRootModifier and TypeClassDescriptionclassA package fragment root that corresponds to an external class folder.classA package fragment root that corresponds to a .jar or .zip.classA package fragment root that corresponds to a JMod file.classA package fragment root that corresponds to a module in a JRT file system.classFields in org.aspectj.org.eclipse.jdt.internal.core declared as IPackageFragmentRootModifier and TypeFieldDescriptionprotected IPackageFragmentRoot[]NameLookup.packageFragmentRootsTheIPackageFragmentRoot's associated with the classpath of this NameLookup facility's project.Fields in org.aspectj.org.eclipse.jdt.internal.core with type parameters of type IPackageFragmentRootModifier and TypeFieldDescriptionprotected ElementCache<IPackageFragmentRoot> JavaModelCache.rootCacheCache of open package fragment roots.protected Map<IPackageFragmentRoot, IModuleDescription> NameLookup.rootToModuleprotected Map<IPackageFragmentRoot, IClasspathEntry> NameLookup.rootToResolvedEntriesReverse map from root path to corresponding resolved CP entry (so as to be able to figure inclusion/exclusion rules)Methods in org.aspectj.org.eclipse.jdt.internal.core that return IPackageFragmentRootModifier and TypeMethodDescriptionJavaProject.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.static IPackageFragmentRootJavaModelManager.createJarPackageFragmentRootFrom(org.eclipse.core.resources.IFile file, IJavaProject project) Creates and returns a handle for the given JAR file, its project being the given project.NameLookup.findPackageFragementRoots(String[] splittedName) Returns the package fragment roots who contain a package fragment with the given qualified name.JavaProject.findPackageFragmentRoot(org.eclipse.core.runtime.IPath path) JavaProject.findPackageFragmentRoot0(org.eclipse.core.runtime.IPath path) JavaProject.findPackageFragmentRoots(IClasspathEntry entry) JavaProject.findUnfilteredPackageFragmentRoots(IClasspathEntry entry) JavaProject.getAllPackageFragmentRoots()JavaProject.getAllPackageFragmentRoots(Map rootToResolvedEntries) Deprecated.JavaProject.getAllPackageFragmentRoots(Map rootToResolvedEntries, boolean excludeTestCode) JavaProject.getFolderPackageFragmentRoot(org.eclipse.core.runtime.IPath path) The path is known to match a source/library folder entry.static IPackageFragmentRoot[]SearchableEnvironment.getOwnedPackageFragmentRoots(IJavaProject javaProject) DeltaProcessor.RootInfo.getPackageFragmentRoot()DeltaProcessor.RootInfo.getPackageFragmentRoot(org.eclipse.core.resources.IResource resource) JarEntryResource.getPackageFragmentRoot()JavaProject.getPackageFragmentRoot(String externalLibraryPath) JavaProject.getPackageFragmentRoot(org.eclipse.core.resources.IResource resource) JavaProject.getPackageFragmentRoot(org.eclipse.core.resources.IResource resource, org.eclipse.core.runtime.IPath entryPath, IClasspathAttribute[] extraAttributes) JavaProject.getPackageFragmentRoot(org.eclipse.core.runtime.IPath path, IClasspathAttribute[] extraAttributes) NonJavaResource.getPackageFragmentRoot()JavaProject.getPackageFragmentRoot0(org.eclipse.core.runtime.IPath externalLibraryPath, IClasspathAttribute[] extraAttributes) JavaProject.getPackageFragmentRoots()JavaProject.getPackageFragmentRoots(IClasspathEntry entry) Deprecated.Methods in org.aspectj.org.eclipse.jdt.internal.core with parameters of type IPackageFragmentRootModifier and TypeMethodDescriptionprotected voidCopyPackageFragmentRootOperation.copyResource(IPackageFragmentRoot root, IClasspathEntry rootEntry, org.eclipse.core.resources.IWorkspaceRoot workspaceRoot) protected voidDeletePackageFragmentRootOperation.deleteResource(IPackageFragmentRoot root, IClasspathEntry rootEntry) protected NameEnvironmentAnswerSearchableEnvironment.find(String typeName, String packageName, IPackageFragmentRoot[] moduleContext) Returns the given type in the the given package if it exists, otherwisenull.voidSearchableEnvironment.findPackages(char[] prefix, ISearchRequestor requestor, IPackageFragmentRoot[] moduleContext, boolean followRequires) Find the packages that start with the given prefix and belong to the given module.NameLookup.findType(String typeName, String packageName, boolean partialMatch, int acceptFlags, boolean considerSecondaryTypes, boolean waitForIndexes, boolean checkRestrictions, org.eclipse.core.runtime.IProgressMonitor monitor, IPackageFragmentRoot[] moduleContext) Find type.NameLookup.findType(String typeName, String packageName, boolean partialMatch, int acceptFlags, boolean checkRestrictions, IPackageFragmentRoot[] moduleContext) Find type in the given modules considering secondary types but without waiting for indexes.protected org.eclipse.core.runtime.IPath[]JavaModelOperation.getNestedFolders(IPackageFragmentRoot root) JavaProject.getPackageFragmentsInRoots(IPackageFragmentRoot[] roots) Returns all the package fragments found in the specified package fragment roots.static ObjectJavaModel.getTarget(IPackageFragmentRoot root, boolean checkResourceExistence) Return same as callingJavaModel.getTarget(IPath, boolean)forIJavaElement.getPath()booleanNameLookup.hasCompilationUnit(char[][] pkgName, IPackageFragmentRoot[] moduleContext) booleanNameLookup.isPackage(String[] pkgName, IPackageFragmentRoot[] moduleContext) protected voidMovePackageFragmentRootOperation.moveResource(IPackageFragmentRoot root, IClasspathEntry rootEntry, org.eclipse.core.resources.IWorkspaceRoot workspaceRoot) voidNameLookup.seekPackageFragments(String name, boolean partialMatch, IJavaElementRequestor requestor, IPackageFragmentRoot[] moduleContext) Notifies the given requestor of all package fragments with the given name.voidNameLookup.seekTypes(String pkgName, String name, boolean partialMatch, IJavaElementRequestor requestor, int acceptFlags, IPackageFragmentRoot[] moduleContext, String moduleName) Notifies the given requestor of all package fragments with the given name.protected voidModelUpdater.traverseDelta(IJavaElementDelta delta, IPackageFragmentRoot root, IJavaProject project) Converts anIResourceDeltaand its children into the correspondingIJavaElementDeltas.Method parameters in org.aspectj.org.eclipse.jdt.internal.core with type arguments of type IPackageFragmentRootModifier and TypeMethodDescriptionJavaProject.defaultRootModules(Iterable<IPackageFragmentRoot> allSystemRoots) Deprecated.This method cannot distinguish strategies for old (9/10) vs new (11+) JDK versions.JavaProject.defaultRootModules(Iterable<IPackageFragmentRoot> allSystemRoots, String releaseVersion) Implements selection of root modules per JEP 261.Constructors in org.aspectj.org.eclipse.jdt.internal.core with parameters of type IPackageFragmentRootModifierConstructorDescriptionCopyPackageFragmentRootOperation(IPackageFragmentRoot root, org.eclipse.core.runtime.IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling) CreatePackageFragmentOperation(IPackageFragmentRoot parentElement, String packageName, boolean force) When executed, this operation will create a package fragment with the given name under the given package fragment root.DeletePackageFragmentRootOperation(IPackageFragmentRoot root, int updateResourceFlags, int updateModelFlags) MovePackageFragmentRootOperation(IPackageFragmentRoot root, org.eclipse.core.runtime.IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling) NameLookup(JavaProject rootProject, IPackageFragmentRoot[] packageFragmentRoots, HashtableOfArrayToObject packageFragments, ICompilationUnit[] workingCopies, Map rootToResolvedEntries) -
Uses of IPackageFragmentRoot in org.aspectj.org.eclipse.jdt.internal.core.search
Methods in org.aspectj.org.eclipse.jdt.internal.core.search that return IPackageFragmentRootModifier and TypeMethodDescriptionabstract IPackageFragmentRootAbstractJavaSearchScope.packageFragmentRoot(String resourcePathString, int jarSeparatorIndex, String jarPath) Returns the package fragment root corresponding to a given resource path.JavaSearchScope.packageFragmentRoot(String resourcePathString, int jarSeparatorIndex, String jarPath) JavaWorkspaceScope.packageFragmentRoot(String resourcePathString, int jarSeparatorIndex, String jarPath) Methods in org.aspectj.org.eclipse.jdt.internal.core.search with parameters of type IPackageFragmentRootModifier and TypeMethodDescriptionvoidBasicSearchEngine.searchAllSecondaryTypeNames(IPackageFragmentRoot[] sourceFolders, IRestrictedAccessTypeRequestor nameRequestor, boolean waitForIndexes, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all secondary types in the given scope. -
Uses of IPackageFragmentRoot in org.aspectj.org.eclipse.jdt.internal.core.search.matching
Methods in org.aspectj.org.eclipse.jdt.internal.core.search.matching with parameters of type IPackageFragmentRootModifier and TypeMethodDescriptionPossibleMatchSet.getPossibleMatches(IPackageFragmentRoot[] roots)
IJavaProject.findPackageFragmentRoots(IClasspathEntry)instead