Uses of Enum Class
org.eclipse.jdt.core.dom.rewrite.ImportRewrite.TypeLocation
Packages that use 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
Methods in org.eclipse.jdt.core.dom.rewrite that return ImportRewrite.TypeLocationModifier and TypeMethodDescriptionstatic ImportRewrite.TypeLocationReturns 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.Methods in org.eclipse.jdt.core.dom.rewrite with parameters of type ImportRewrite.TypeLocationModifier and TypeMethodDescriptionImportRewrite.addImport(ITypeBinding binding, AST ast, ImportRewrite.ImportRewriteContext context, ImportRewrite.TypeLocation location) Adds a new import to the rewriter's record and returns aTypethat 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.