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

Packages that use ITypeRoot
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.dom: The Java DOM/AST is the set of classes that model the source code of a Java program as a structured document.
org.eclipse.jdt.ui: Application programming interfaces for interaction with the Eclipse Java User Interface.

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

Subinterfaces of ITypeRoot in org.eclipse.jdt.core
`interface` `IClassFile` Represents a single `.class` file, holding the binary form of either a type or a module: A class file of type `IOrdinaryClassFile` has a single child of type `IType`, a class file of type `IModularClassFile` has a single child of type `IModuleDescription`.
`interface` `ICompilationUnit` Represents an entire Java compilation unit (source file with one of the `Java-like extensions`).
`interface` `IModularClassFile` Represents the class file of a module description ("module-info.class").
`interface` `IOrdinaryClassFile` Ordinary form of a `IClassFile` which holds exactly one `IType`.

Methods in org.eclipse.jdt.core that return ITypeRoot
`ITypeRoot` ILocalVariable.`getTypeRoot()` Returns the Java type root in which this local variable is declared.
`ITypeRoot` ITypeParameter.`getTypeRoot()` Returns the Java type root in which this type parameter is declared.
`ITypeRoot` IMember.`getTypeRoot()` Returns the Java type root in which this member is declared.

### Uses of ITypeRoot in org.eclipse.jdt.core.dom

Methods in org.eclipse.jdt.core.dom that return ITypeRoot
`ITypeRoot` CompilationUnit.`getTypeRoot()` The Java type root (a `compilation unit` or a `class file`) this compilation unit was created from, or `null` if it was not created from a Java type root.

Methods in org.eclipse.jdt.core.dom with parameters of type ITypeRoot
`static ASTNode` NodeFinder.`perform(ASTNode root, int start, int length, ITypeRoot source)` Maps a selection to an ASTNode, where the selection is given by a start and a length.
`void` ASTParser.`setSource(ITypeRoot source)` Sets the source code to be parsed.

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

Methods in org.eclipse.jdt.ui that return ITypeRoot
`static ITypeRoot` JavaUI.`getEditorInputTypeRoot(IEditorInput editorInput)` Returns the `ITypeRoot` wrapped by the given editor input.

Methods in org.eclipse.jdt.ui with parameters of type ITypeRoot
`static CompilationUnit` SharedASTProvider.`getAST(ITypeRoot element, SharedASTProvider.WAIT_FLAG waitFlag, IProgressMonitor progressMonitor)` Returns a compilation unit AST for the given Java element.