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.ImportRewriteContext
ImportRewrite. 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 Annotation
ImportRewrite. addAnnotation(IAnnotationBinding annotation, AST ast, ImportRewrite.ImportRewriteContext context)
Adds the necessary imports for the given annotation binding to the rewriter's record and returns anAnnotation
that can be used in the code.String
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.Type
ImportRewrite. addImport(ITypeBinding binding, AST ast, ImportRewrite.ImportRewriteContext context)
Adds a new import to the rewriter's record and returns aType
that can be used in the code.Type
ImportRewrite. 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.String
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.Type
ImportRewrite. addImportFromSignature(String typeSig, AST ast, ImportRewrite.ImportRewriteContext context)
Adds a new import to the rewriter's record and returns aType
node that can be used in the code as a reference to the type.String
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.String
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.
-