Uses of Class
org.eclipse.jdt.core.dom.AST
-
Packages that use AST Package Description org.eclipse.jdt.core.dom The Java DOM/AST is the set of classes that model the source code of a Java program as a structured document.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 AST in org.eclipse.jdt.core.dom
Methods in org.eclipse.jdt.core.dom that return AST Modifier and Type Method Description ASTASTNode. getAST()Returns this node's AST.static ASTAST. newAST(int level)Creates a new Java abstract syntax tree (AST) following the specified set of API rules.Methods in org.eclipse.jdt.core.dom with parameters of type AST Modifier and Type Method Description protected ASTNodeModulePackageAccess. cloneHelper(AST target, ModulePackageAccess result)static ASTNodeASTNode. copySubtree(AST target, ASTNode node)Returns a deep copy of the subtree of AST nodes rooted at the given node.static ListASTNode. copySubtrees(AST target, List nodes)Returns a deep copy of the subtrees of AST nodes rooted at the given list of nodes. -
Uses of AST in org.eclipse.jdt.core.dom.rewrite
Methods in org.eclipse.jdt.core.dom.rewrite that return AST Modifier and Type Method Description ASTASTRewrite. getAST()Returns the AST the rewrite was set up on.Methods in org.eclipse.jdt.core.dom.rewrite with parameters of type AST 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.TypeImportRewrite. addImport(ITypeBinding binding, AST ast)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)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.TypeImportRewrite. addImportFromSignature(String typeSig, AST ast)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.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.static ASTRewriteASTRewrite. create(AST ast)Creates a new instance for describing manipulations of the given AST.Constructors in org.eclipse.jdt.core.dom.rewrite with parameters of type AST Constructor Description ASTRewrite(AST ast)Internal constructor.
-