Uses of Class
org.aspectj.org.eclipse.jdt.core.dom.rewrite.ImportRewrite.ImportRewriteContext
Packages that use ImportRewrite.ImportRewriteContext
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.ImportRewriteContext in org.aspectj.org.eclipse.jdt.core.dom.rewrite
Methods in org.aspectj.org.eclipse.jdt.core.dom.rewrite that return ImportRewrite.ImportRewriteContextModifier and TypeMethodDescriptionImportRewrite.getDefaultImportRewriteContext()Returns the default rewrite context that only knows about the imported types.Methods in org.aspectj.org.eclipse.jdt.core.dom.rewrite with parameters of type ImportRewrite.ImportRewriteContextModifier and TypeMethodDescriptionImportRewrite.addAnnotation(IAnnotationBinding annotation, AST ast, ImportRewrite.ImportRewriteContext context)Adds the necessary imports for the given annotation binding to the rewriter's record and returns anAnnotationthat can be used in the code.ImportRewrite.addImport(String qualifiedTypeName, ImportRewrite.ImportRewriteContext context)Adds a new import to the rewriter's record and returns a type reference that can be used in the code.ImportRewrite.addImport(ITypeBinding binding, AST ast, ImportRewrite.ImportRewriteContext context)Adds a new import to the rewriter's record and returns aTypethat can be used in the code.ImportRewrite.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.addImport(ITypeBinding binding, ImportRewrite.ImportRewriteContext context)Adds a new import to the rewriter's record and returns a type reference that can be used in the code.ImportRewrite.addImportFromSignature(String typeSig, AST ast, ImportRewrite.ImportRewriteContext context)Adds a new import to the rewriter's record and returns aTypenode that can be used in the code as a reference to the type.ImportRewrite.addStaticImport(String declaringTypeName, String simpleName, boolean isField, ImportRewrite.ImportRewriteContext context)Adds a new static import to the rewriter's record and returns a name - single member name if import is successful, else qualified name.ImportRewrite.addStaticImport(IBinding binding, ImportRewrite.ImportRewriteContext context)Adds a new static import to the rewriter's record and returns a name - single member name if import is successful, else qualified name.