Uses of Class
org.eclipse.jdt.core.dom.rewrite.ImportRewrite.ImportRewriteContext
-
Packages that use ImportRewrite.ImportRewriteContext Package Description 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.ImportRewriteContext in org.eclipse.jdt.core.dom.rewrite
Methods in org.eclipse.jdt.core.dom.rewrite that return ImportRewrite.ImportRewriteContext Modifier and Type Method Description ImportRewrite.ImportRewriteContextImportRewrite. getDefaultImportRewriteContext()Returns the default rewrite context that only knows about the imported types.Methods in org.eclipse.jdt.core.dom.rewrite with parameters of type ImportRewrite.ImportRewriteContext Modifier and Type Method Description AnnotationImportRewrite. 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.StringImportRewrite. 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.TypeImportRewrite. 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.TypeImportRewrite. 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.StringImportRewrite. 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.TypeImportRewrite. 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.StringImportRewrite. 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.StringImportRewrite. 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.
-