## Uses of Class
org.eclipse.jdt.core.dom.rewrite.ImportRewrite.TypeLocation

Packages that use ImportRewrite.TypeLocation
org.eclipse.jdt.core.dom.rewrite: The Java DOM/AST rewrite is the set of classes that are used to make changes to an existing DOM/AST tree.

### Uses of ImportRewrite.TypeLocation in org.eclipse.jdt.core.dom.rewrite

Methods in org.eclipse.jdt.core.dom.rewrite that return ImportRewrite.TypeLocation
`static ImportRewrite.TypeLocation` ImportRewrite.TypeLocation.`valueOf​(String name)` Returns the enum constant of this type with the specified name.
`static ImportRewrite.TypeLocation[]` ImportRewrite.TypeLocation.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

Methods in org.eclipse.jdt.core.dom.rewrite with parameters of type ImportRewrite.TypeLocation
`Type` ImportRewrite.`addImport​(ITypeBinding binding, AST ast, ImportRewrite.ImportRewriteContext context, ImportRewrite.TypeLocation location)` Adds a new import to the rewriter's record and returns a `Type` that can be used in the code.
`IAnnotationBinding[]` ImportRewrite.ImportRewriteContext.`removeRedundantTypeAnnotations​(IAnnotationBinding[] annotations, ImportRewrite.TypeLocation location, ITypeBinding type)` This method can be overridden in subclasses to remove annotations that are redundant, e.g. because of NonNullByDefault.