Uses of Enum Class
org.eclipse.jdt.core.dom.rewrite.ImportRewrite.TypeLocation
Package
Description
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
Modifier and TypeMethodDescriptionstatic ImportRewrite.TypeLocation
Returns the enum constant of this class with the specified name.static ImportRewrite.TypeLocation[]
ImportRewrite.TypeLocation.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionImportRewrite.addImport
(ITypeBinding binding, AST ast, ImportRewrite.ImportRewriteContext context, ImportRewrite.TypeLocation location) Adds a new import to the rewriter's record and returns aType
that can be used in the code.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.