## Uses of Interface
org.eclipse.jdt.core.IPackageFragmentRoot

Packages that use IPackageFragmentRoot
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.refactoring.descriptors: Application programming interface to access Java refactorings provided by JDT.
org.eclipse.jdt.core.search: Provides support for searching the workspace Java elements that match a particular description.
org.eclipse.jdt.launching.sourcelookup: Application programming interfaces and classes for source lookup.
org.eclipse.jdt.launching.sourcelookup.containers: Provides source lookup support for the Java debugger.
org.eclipse.jdt.ui: Application programming interfaces for interaction with the Eclipse Java User Interface.
org.eclipse.jdt.ui.refactoring: Application programming interfaces for rename refactorings.
org.eclipse.jdt.ui.wizards: Application programming interfaces for interaction with the Eclipse Java User Interface wizards.

### Uses of IPackageFragmentRoot in org.eclipse.jdt.core

Methods in org.eclipse.jdt.core that return IPackageFragmentRoot
`static IPackageFragmentRoot` JavaCore.`createJarPackageFragmentRootFrom(IFile file)` Creates and returns a handle for the given JAR file.
`IPackageFragmentRoot` IJavaProject.`findPackageFragmentRoot(IPath path)` Returns the existing package fragment root on this project's classpath whose path matches the given (absolute) path, or `null` if one does not exist.
`IPackageFragmentRoot[]` IJavaProject.`findPackageFragmentRoots(IClasspathEntry entry)` Returns the existing package fragment roots identified by the given entry.
`IPackageFragmentRoot[]` IJavaProject.`getAllPackageFragmentRoots()` Returns all of the existing package fragment roots that exist on the classpath, in the order they are defined by the classpath.
`IPackageFragmentRoot` IJarEntryResource.`getPackageFragmentRoot()` Returns the package fragment root this jar entry resource belongs to.
`IPackageFragmentRoot` IJavaProject.`getPackageFragmentRoot(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. a `.jar`, a `.zip` file, etc.)
`IPackageFragmentRoot` IJavaProject.`getPackageFragmentRoot(String externalLibraryPath)` Returns a package fragment root for an external library (a ZIP archive - e.g. a `.jar`, a `.zip` file, etc. - or - since 3.4 - a class folder) at the specified file system path.
`IPackageFragmentRoot[]` IJavaProject.`getPackageFragmentRoots()` Returns all of the package fragment roots contained in this project, identified on this project's resolved classpath.
`IPackageFragmentRoot[]` IJavaProject.`getPackageFragmentRoots(IClasspathEntry entry)` Deprecated. Use `IJavaProject.findPackageFragmentRoots(IClasspathEntry)` instead

### Uses of IPackageFragmentRoot in org.eclipse.jdt.core.refactoring.descriptors

Methods in org.eclipse.jdt.core.refactoring.descriptors with parameters of type IPackageFragmentRoot
`void` MoveDescriptor.`setMovePackageFragmentRoots(IPackageFragmentRoot[] roots)` Sets the package fragment roots to move.

### Uses of IPackageFragmentRoot in org.eclipse.jdt.core.search

Methods in org.eclipse.jdt.core.search that return IPackageFragmentRoot
`IPackageFragmentRoot` TypeNameMatch.`getPackageFragmentRoot()` Returns the package fragment root of the stored type.

### Uses of IPackageFragmentRoot in org.eclipse.jdt.launching.sourcelookup

Methods in org.eclipse.jdt.launching.sourcelookup that return IPackageFragmentRoot
`IPackageFragmentRoot` PackageFragmentRootSourceLocation.`getPackageFragmentRoot()` Deprecated. Returns the package fragment root associated with this source location, or `null` if none

Constructors in org.eclipse.jdt.launching.sourcelookup with parameters of type IPackageFragmentRoot
Constructor and Description
`PackageFragmentRootSourceLocation(IPackageFragmentRoot root)` Deprecated. Creates a source location on the given package fragment root.

### Uses of IPackageFragmentRoot in org.eclipse.jdt.launching.sourcelookup.containers

Methods in org.eclipse.jdt.launching.sourcelookup.containers that return IPackageFragmentRoot
`IPackageFragmentRoot` PackageFragmentRootSourceContainer.`getPackageFragmentRoot()` Returns the package fragment root this container searches for source.

Constructors in org.eclipse.jdt.launching.sourcelookup.containers with parameters of type IPackageFragmentRoot
Constructor and Description
`PackageFragmentRootSourceContainer(IPackageFragmentRoot root)` Constructs a new package fragment root source container on the given root.

### Uses of IPackageFragmentRoot in org.eclipse.jdt.ui

Methods in org.eclipse.jdt.ui with parameters of type IPackageFragmentRoot
`static SelectionDialog` JavaUI.`createPackageDialog(Shell parent, IPackageFragmentRoot root)` Creates a selection dialog that lists all packages under the given package fragment root.
`static SelectionDialog` JavaUI.`createPackageDialog(Shell parent, IPackageFragmentRoot root, String filter)` Creates a selection dialog that lists all packages under the given package fragment root.
`protected Object[]` StandardJavaElementContentProvider.`getPackageFragmentRootContent(IPackageFragmentRoot root)` Evaluates all children of a given `IPackageFragmentRoot`.
`static void` JavaElementLabels.`getPackageFragmentRootLabel(IPackageFragmentRoot root, long flags, StringBuffer buf)` Appends the label for a package fragment root to a `StringBuffer`.
`static void` JavaElementLabels.`getPackageFragmentRootLabel(IPackageFragmentRoot root, long flags, StyledString result)` Appends the label for a package fragment root to a `StyledString`.
`protected boolean` StandardJavaElementContentProvider.`isProjectPackageFragmentRoot(IPackageFragmentRoot root)` Tests if the package fragment root is located on the project.
`protected Object` StandardJavaElementContentProvider.`skipProjectPackageFragmentRoot(IPackageFragmentRoot root)` Note: This method is for internal use only.

### Uses of IPackageFragmentRoot in org.eclipse.jdt.ui.refactoring

Methods in org.eclipse.jdt.ui.refactoring with parameters of type IPackageFragmentRoot
`static RenameSupport` RenameSupport.`create(IPackageFragmentRoot root, String newName)` Creates a new rename support for the given `IPackageFragmentRoot`.

### Uses of IPackageFragmentRoot in org.eclipse.jdt.ui.wizards

Methods in org.eclipse.jdt.ui.wizards that return IPackageFragmentRoot
`protected IPackageFragmentRoot` NewContainerWizardPage.`chooseContainer()` Opens a selection dialog that allows to select a source container.
`IPackageFragmentRoot` NewContainerWizardPage.`getPackageFragmentRoot()` Returns the `IPackageFragmentRoot` that corresponds to the current value of the source folder field.

Methods in org.eclipse.jdt.ui.wizards with parameters of type IPackageFragmentRoot
`void` NewContainerWizardPage.`setPackageFragmentRoot(IPackageFragmentRoot root, boolean canBeModified)` Sets the current source folder (model and text field) to the given package fragment root.