Uses of Class
org.aspectj.org.eclipse.jdt.core.dom.CompilationUnit
Packages that use CompilationUnit
Package
Description
The Java model is the set of classes that model the
objects associated with creating, editing, and building a Java program.
This package contains compiler associated infrastructure APIs.
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
The Java DOM/AST rewrite is the set of classes that are used to make changes to an existing DOM/AST tree.
Provides a set of tools and utilities for manipulating .class files and Java model elements.
-
Uses of CompilationUnit in org.aspectj.org.eclipse.jdt.core
Methods in org.aspectj.org.eclipse.jdt.core that return CompilationUnitModifier and TypeMethodDescriptionIJavaElementDelta.getCompilationUnitAST()Returns the compilation unit AST created by the last reconcile operation on this delta's element.ICompilationUnit.reconcile(int astLevel, boolean forceProblemDetection, boolean enableStatementsRecovery, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Reconciles the contents of this working copy, sends out a Java delta notification indicating the nature of the change of the working copy since the last time it was either reconciled or made consistent (IOpenable.makeConsistent(IProgressMonitor)), and returns a compilation unit AST if requested.ICompilationUnit.reconcile(int astLevel, boolean forceProblemDetection, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Reconciles the contents of this working copy, sends out a Java delta notification indicating the nature of the change of the working copy since the last time it was either reconciled or made consistent (IOpenable.makeConsistent(IProgressMonitor)), and returns a compilation unit AST if requested.ICompilationUnit.reconcile(int astLevel, int reconcileFlags, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Reconciles the contents of this working copy, sends out a Java delta notification indicating the nature of the change of the working copy since the last time it was either reconciled or made consistent (IOpenable.makeConsistent(IProgressMonitor)), and returns a compilation unit AST if requested. -
Uses of CompilationUnit in org.aspectj.org.eclipse.jdt.core.compiler
Methods in org.aspectj.org.eclipse.jdt.core.compiler that return CompilationUnitModifier and TypeMethodDescriptionReconcileContext.getAST(int level) Returns a resolved AST with the given AST level.ReconcileContext.getAST3()Deprecated.JLS3 has been deprecated.ReconcileContext.getAST4()Deprecated.JLS4 has been deprecated.ReconcileContext.getAST8()Deprecated.JLS8 has been deprecated. -
Uses of CompilationUnit in org.aspectj.org.eclipse.jdt.core.dom
Methods in org.aspectj.org.eclipse.jdt.core.dom that return CompilationUnitModifier and TypeMethodDescriptionAjASTConverter.convert(CompilationUnitDeclaration unit, char[] source) ASTConverter.convert(CompilationUnitDeclaration unit, char[] source) static CompilationUnitAjAST.convertCompilationUnit(int level, CompilationUnitDeclaration compilationUnitDeclaration, char[] source, Map options, boolean isResolved, CompilationUnit workingCopy, org.eclipse.core.runtime.IProgressMonitor monitor) Internal method.static CompilationUnitAST.convertCompilationUnit(int level, CompilationUnitDeclaration compilationUnitDeclaration, char[] source, Map options, boolean isResolved, CompilationUnit workingCopy, int reconcileFlags, org.eclipse.core.runtime.IProgressMonitor monitor) Deprecated.Use org.eclipse.jdt.core.dom.AST.convertCompilationUnit(int, CompilationUnitDeclaration, Map, boolean, CompilationUnit, int, IProgressMonitor) insteadstatic CompilationUnitAST.convertCompilationUnit(int level, CompilationUnitDeclaration compilationUnitDeclaration, Map options, boolean isResolved, CompilationUnit workingCopy, int reconcileFlags, org.eclipse.core.runtime.IProgressMonitor monitor) Internal method.AST.newCompilationUnit()Creates an unparented compilation unit node owned by this AST.static CompilationUnitAST.parseCompilationUnit(char[] source) Deprecated.UseASTParserinstead.static CompilationUnitAST.parseCompilationUnit(char[] source, String unitName, IJavaProject project) Deprecated.UseASTParserinstead.static CompilationUnitAST.parseCompilationUnit(IClassFile classFile, boolean resolveBindings) Deprecated.UseASTParserinstead.static CompilationUnitAST.parseCompilationUnit(ICompilationUnit unit, boolean resolveBindings) Deprecated.UseASTParserinstead.Methods in org.aspectj.org.eclipse.jdt.core.dom with parameters of type CompilationUnitModifier and TypeMethodDescriptionvoidASTRequestor.acceptAST(ICompilationUnit source, CompilationUnit ast) Accepts an AST corresponding to the compilation unit.voidFileASTRequestor.acceptAST(String sourceFilePath, CompilationUnit ast) Accepts an AST corresponding to the compilation unit.voidASTVisitor.endVisit(CompilationUnit node) End of visit the given type-specific AST node.booleanASTMatcher.match(CompilationUnit node, Object other) Returns whether the given node and the other object match.booleanAjNaiveASTFlattener.visit(CompilationUnit node) booleanASTVisitor.visit(CompilationUnit node) Visits the given type-specific AST node. -
Uses of CompilationUnit in org.aspectj.org.eclipse.jdt.core.dom.rewrite
Methods in org.aspectj.org.eclipse.jdt.core.dom.rewrite with parameters of type CompilationUnitModifier and TypeMethodDescriptionstatic ImportRewriteImportRewrite.create(CompilationUnit astRoot, boolean restoreExistingImports) Creates anImportRewritefrom an AST (CompilationUnit). -
Uses of CompilationUnit in org.aspectj.org.eclipse.jdt.core.util
Methods in org.aspectj.org.eclipse.jdt.core.util with parameters of type CompilationUnitModifier and TypeMethodDescriptionstatic org.eclipse.text.edits.TextEditCompilationUnitSorter.sort(CompilationUnit unit, Comparator comparator, int options, org.eclipse.text.edits.TextEditGroup group, org.eclipse.core.runtime.IProgressMonitor monitor) Reorders the declarations in the given compilation unit according to the specified comparator. -
Uses of CompilationUnit in org.aspectj.org.eclipse.jdt.internal.core
Fields in org.aspectj.org.eclipse.jdt.internal.core declared as CompilationUnitModifier and TypeFieldDescriptionReconcileWorkingCopyOperation.astprotected CompilationUnitCreateElementInCUOperation.cuASTThe compilation unit AST used for this operationMethods in org.aspectj.org.eclipse.jdt.internal.core that return CompilationUnitModifier and TypeMethodDescriptionJavaElementDelta.getCompilationUnitAST()CompilationUnit.makeConsistent(int astLevel, boolean resolveBindings, int reconcileFlags, Map<String, CategorizedProblem[]> problems, org.eclipse.core.runtime.IProgressMonitor monitor) ReconcileWorkingCopyOperation.makeConsistent(CompilationUnit workingCopy) protected CompilationUnitCreateElementInCUOperation.parse(ICompilationUnit cu) CompilationUnit.reconcile(int astLevel, boolean forceProblemDetection, boolean enableStatementsRecovery, WorkingCopyOwner workingCopyOwner, org.eclipse.core.runtime.IProgressMonitor monitor) CompilationUnit.reconcile(int astLevel, boolean forceProblemDetection, WorkingCopyOwner workingCopyOwner, org.eclipse.core.runtime.IProgressMonitor monitor) CompilationUnit.reconcile(int astLevel, int reconcileFlags, WorkingCopyOwner workingCopyOwner, org.eclipse.core.runtime.IProgressMonitor monitor) Methods in org.aspectj.org.eclipse.jdt.internal.core with parameters of type CompilationUnitModifier and TypeMethodDescriptionorg.eclipse.text.edits.TextEditSortElementsOperation.calculateEdit(CompilationUnit unit, org.eclipse.text.edits.TextEditGroup group) Calculates the required text edits to sort theunitvoidJavaElementDelta.changedAST(CompilationUnit changedAST) JavaElement.findNode(CompilationUnit ast) Returns theASTNodethat corresponds to thisJavaElementornullif there is no corresponding node.SourceField.findNode(CompilationUnit ast) SourceRefElement.findNode(CompilationUnit ast) Returns theASTNodethat corresponds to thisJavaElementornullif there is no corresponding node. -
Uses of CompilationUnit in org.aspectj.org.eclipse.jdt.internal.core.dom
Methods in org.aspectj.org.eclipse.jdt.internal.core.dom with parameters of type CompilationUnit -
Uses of CompilationUnit in org.aspectj.org.eclipse.jdt.internal.core.dom.rewrite
Methods in org.aspectj.org.eclipse.jdt.internal.core.dom.rewrite with parameters of type CompilationUnitModifier and TypeMethodDescriptionstatic LineInformationLineInformation.create(CompilationUnit astRoot) booleanASTRewriteAnalyzer.visit(CompilationUnit node) booleanASTRewriteFlattener.visit(CompilationUnit node) -
Uses of CompilationUnit in org.aspectj.org.eclipse.jdt.internal.core.dom.rewrite.imports
Constructors in org.aspectj.org.eclipse.jdt.internal.core.dom.rewrite.imports with parameters of type CompilationUnitModifierConstructorDescriptionImportRewriteAnalyzer(ICompilationUnit cu, CompilationUnit astRoot, ImportRewriteConfiguration configuration) -
Uses of CompilationUnit in org.aspectj.org.eclipse.jdt.internal.core.util
Constructors in org.aspectj.org.eclipse.jdt.internal.core.util with parameters of type CompilationUnitModifierConstructorDescriptionDOMFinder(CompilationUnit ast, SourceRefElement element, boolean resolveBinding) -
Uses of CompilationUnit in org.aspectj.org.eclipse.jdt.internal.formatter
Methods in org.aspectj.org.eclipse.jdt.internal.formatter with parameters of type CompilationUnit