Verwendungen von Schnittstelle
org.aspectj.org.eclipse.jdt.core.ICompilationUnit
Packages, die ICompilationUnit verwenden
Package
Beschreibung
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 support for searching the workspace Java
elements that match a particular description.
Provides a set of tools and utilities for manipulating .class files and Java model elements.
-
Verwendungen von ICompilationUnit in org.aspectj.org.eclipse.jdt.core
Felder in org.aspectj.org.eclipse.jdt.core, die deklariert sind als ICompilationUnitModifizierer und TypFeldBeschreibungprotected ICompilationUnitCorrectionEngine.compilationUnitThis field is not intended to be used by client.Methoden in org.aspectj.org.eclipse.jdt.core, die ICompilationUnit zurückgebenModifizierer und TypMethodeBeschreibungIClassFile.becomeWorkingCopy(IProblemRequestor problemRequestor, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Veraltet.IPackageFragment.createCompilationUnit(String name, String contents, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a compilation unit in this package fragment with the specified name and contents.static ICompilationUnitJavaCore.createCompilationUnitFrom(org.eclipse.core.resources.IFile file) Creates and returns a compilation unit element for the given source file (i.e. a file with one of theJava-like extensions).ICompilationUnit.findWorkingCopy(WorkingCopyOwner owner) Finds the working copy for this compilation unit, given aWorkingCopyOwner.IMember.getCompilationUnit()Returns the compilation unit in which this member is declared, ornullif this member is not declared in a compilation unit (for example, a binary type).IPackageFragment.getCompilationUnit(String name) Returns the compilation unit with the specified name in this package (for example,"Object.java").IPackageFragment.getCompilationUnits()Returns all of the compilation units in this package fragment.IPackageFragment.getCompilationUnits(WorkingCopyOwner owner) Returns all of the compilation units in this package fragment that are in working copy mode and that have the given owner.ICompilationUnit.getPrimary()Returns the primary compilation unit (whose owner is the primary owner) this working copy was created from, or this compilation unit if this a primary compilation unit.static ICompilationUnit[]JavaCore.getWorkingCopies(WorkingCopyOwner owner) Returns the working copies that have the given owner.ICompilationUnit.getWorkingCopy(WorkingCopyOwner owner, IProblemRequestor problemRequestor, org.eclipse.core.runtime.IProgressMonitor monitor) Veraltet.ICompilationUnit.getWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor) Returns a new working copy of this compilation unit if it is a primary compilation unit, or this compilation unit if it is already a non-primary working copy.ITypeRoot.getWorkingCopy(WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Returns a shared working copy on this compilation unit or class file using the given working copy owner to create the buffer.final ICompilationUnitWorkingCopyOwner.newWorkingCopy(String name, IClasspathEntry[] classpath, IProblemRequestor problemRequestor, org.eclipse.core.runtime.IProgressMonitor monitor) Veraltet.final ICompilationUnitWorkingCopyOwner.newWorkingCopy(String name, IClasspathEntry[] classpath, org.eclipse.core.runtime.IProgressMonitor monitor) Returns a new working copy with the given name using this working copy owner to create its buffer.Methoden in org.aspectj.org.eclipse.jdt.core mit Parametern vom Typ ICompilationUnitModifizierer und TypMethodeBeschreibungvoidCorrectionEngine.computeCorrections(IProblem problem, ICompilationUnit targetUnit, ICorrectionRequestor requestor) Performs code correction for the given IProblem, reporting results to the given correction requestor.voidCorrectionEngine.computeCorrections(org.eclipse.core.resources.IMarker marker, ICompilationUnit targetUnit, int positionOffset, ICorrectionRequestor requestor) Performs code correction for the given marker, reporting results to the given correction requestor.WorkingCopyOwner.createBuffer(ICompilationUnit workingCopy) Creates a buffer for the given working copy.WorkingCopyOwner.getProblemRequestor(ICompilationUnit workingCopy) Returns the problem requestor used by a working copy of this working copy owner.IType.newSupertypeHierarchy(ICompilationUnit[] workingCopies, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a type hierarchy for this type containing this type and all of its supertypes, considering types in the given working copies.IType.newTypeHierarchy(ICompilationUnit[] workingCopies, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a type hierarchy for this type containing this type, all of its supertypes, and all its subtypes in the workspace, considering types in the given working copies. -
Verwendungen von ICompilationUnit in org.aspectj.org.eclipse.jdt.core.compiler
Methoden in org.aspectj.org.eclipse.jdt.core.compiler, die ICompilationUnit zurückgebenModifizierer und TypMethodeBeschreibungReconcileContext.getWorkingCopy()Returns the working copy this context refers to. -
Verwendungen von ICompilationUnit in org.aspectj.org.eclipse.jdt.core.dom
Methoden in org.aspectj.org.eclipse.jdt.core.dom mit Parametern vom Typ ICompilationUnitModifizierer und TypMethodeBeschreibungvoidASTRequestor.acceptAST(ICompilationUnit source, CompilationUnit ast) Accepts an AST corresponding to the compilation unit.voidASTParser.createASTs(ICompilationUnit[] compilationUnits, String[] bindingKeys, ASTRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) Creates ASTs for a batch of compilation units.static CompilationUnitAST.parseCompilationUnit(ICompilationUnit unit, boolean resolveBindings) Veraltet.UseASTParserinstead.voidASTParser.setSource(ICompilationUnit source) Sets the source code to be parsed. -
Verwendungen von ICompilationUnit in org.aspectj.org.eclipse.jdt.core.dom.rewrite
Methoden in org.aspectj.org.eclipse.jdt.core.dom.rewrite, die ICompilationUnit zurückgebenModifizierer und TypMethodeBeschreibungImportRewrite.getCompilationUnit()The compilation unit for which this import rewrite was created for.Methoden in org.aspectj.org.eclipse.jdt.core.dom.rewrite mit Parametern vom Typ ICompilationUnitModifizierer und TypMethodeBeschreibungstatic ImportRewriteImportRewrite.create(ICompilationUnit cu, boolean restoreExistingImports) Creates anImportRewritefrom anICompilationUnit. -
Verwendungen von ICompilationUnit in org.aspectj.org.eclipse.jdt.core.search
Konstruktoren in org.aspectj.org.eclipse.jdt.core.search mit Parametern vom Typ ICompilationUnitModifiziererKonstruktorBeschreibungSearchEngine(ICompilationUnit[] workingCopies) Creates a new search engine with a list of working copies that will take precedence over their original compilation units in the subsequent search operations. -
Verwendungen von ICompilationUnit in org.aspectj.org.eclipse.jdt.core.util
Methoden in org.aspectj.org.eclipse.jdt.core.util mit Parametern vom Typ ICompilationUnitModifizierer und TypMethodeBeschreibungstatic voidCompilationUnitSorter.sort(int level, ICompilationUnit compilationUnit, int[] positions, Comparator comparator, int options, org.eclipse.core.runtime.IProgressMonitor monitor) Reorders the declarations in the given compilation unit according to the specified AST level.static voidCompilationUnitSorter.sort(ICompilationUnit compilationUnit, int[] positions, Comparator comparator, int options, org.eclipse.core.runtime.IProgressMonitor monitor) Veraltet.Clients should port their code to use the new JLS3 AST API and callCompilationUnitSorter.sort(AST.JLS3, compilationUnit, positions, comparator, options, monitor)instead of using this method. -
Verwendungen von ICompilationUnit in org.aspectj.org.eclipse.jdt.internal.codeassist
Methoden in org.aspectj.org.eclipse.jdt.internal.codeassist mit Parametern vom Typ ICompilationUnitModifizierer und TypMethodeBeschreibungprotected ImportContainerCompletionUnitStructureRequestor.createImportContainer(ICompilationUnit parent) Konstruktoren in org.aspectj.org.eclipse.jdt.internal.codeassist mit Parametern vom Typ ICompilationUnitModifiziererKonstruktorBeschreibungCompletionUnitStructureRequestor(ICompilationUnit unit, CompilationUnitElementInfo unitInfo, Parser parser, ASTNode assistNode, Map<JavaElement, Binding> bindingCache, Map<Binding, JavaElement> elementCache, Map<ASTNode, JavaElement> elementWithProblemCache, Map newElements) -
Verwendungen von ICompilationUnit in org.aspectj.org.eclipse.jdt.internal.codeassist.impl
Klassen in org.aspectj.org.eclipse.jdt.internal.codeassist.impl, die ICompilationUnit implementierenKonstruktoren in org.aspectj.org.eclipse.jdt.internal.codeassist.impl mit Parametern vom Typ ICompilationUnitModifiziererKonstruktorBeschreibungAssistCompilationUnit(ICompilationUnit compilationUnit, WorkingCopyOwner owner, Map bindingCache, Map infoCache) -
Verwendungen von ICompilationUnit in org.aspectj.org.eclipse.jdt.internal.core
Klassen in org.aspectj.org.eclipse.jdt.internal.core, die ICompilationUnit implementierenModifizierer und TypKlasseBeschreibungclassA working copy on anIClassFile.classFelder in org.aspectj.org.eclipse.jdt.internal.core, die deklariert sind als ICompilationUnitModifizierer und TypFeldBeschreibungprotected static final ICompilationUnit[]PackageFragment.NO_COMPILATION_UNITSConstant empty list of compilation unitsstatic final ICompilationUnit[]JavaModelManager.NO_WORKING_COPYprotected ICompilationUnitCompilationUnitStructureRequestor.unitThe handle to the compilation unit being parsedprotected ICompilationUnit[]SearchableEnvironment.workingCopiesFelder in org.aspectj.org.eclipse.jdt.internal.core mit Typparametern vom Typ ICompilationUnitMethoden in org.aspectj.org.eclipse.jdt.internal.core, die ICompilationUnit zurückgebenModifizierer und TypMethodeBeschreibungAbstractClassFile.becomeWorkingCopy(IProblemRequestor problemRequestor, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) PackageFragment.createCompilationUnit(String cuName, String contents, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) static ICompilationUnitJavaModelManager.createCompilationUnitFrom(org.eclipse.core.resources.IFile file, IJavaProject project) Creates and returns a compilation unit element for the given.javafile, its project being the given project.NameLookup.findCompilationUnit(String qualifiedTypeName) Returns theICompilationUnitwhich defines the type namedqualifiedTypeName, ornullif none exists.CompilationUnit.findWorkingCopy(WorkingCopyOwner workingCopyOwner) protected ICompilationUnitCreateCompilationUnitOperation.getCompilationUnit()protected ICompilationUnitCreateElementInCUOperation.getCompilationUnit()Returns the compilation unit in which the new element is being created.JavaElement.getCompilationUnit()PackageFragment.getCompilationUnit(String cuName) SourceRefElement.getCompilationUnit()protected ICompilationUnitJavaModelOperation.getCompilationUnitFor(IJavaElement element) Returns the compilation unit the given element is contained in, or the element itself (if it is a compilation unit), otherwisenull.PackageFragment.getCompilationUnits()PackageFragment.getCompilationUnits(WorkingCopyOwner owner) CompilationUnit.getPrimary()JavaModelManager.getWorkingCopies(WorkingCopyOwner owner, boolean addPrimary) ClassFile.getWorkingCopy(WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) CompilationUnit.getWorkingCopy(WorkingCopyOwner workingCopyOwner, IProblemRequestor problemRequestor, org.eclipse.core.runtime.IProgressMonitor monitor) Veraltet.CompilationUnit.getWorkingCopy(WorkingCopyOwner workingCopyOwner, org.eclipse.core.runtime.IProgressMonitor monitor) CompilationUnit.getWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor) JavaModelManager.PerWorkingCopyInfo.getWorkingCopy()ModularClassFile.getWorkingCopy(WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Methoden in org.aspectj.org.eclipse.jdt.internal.core mit Parametern vom Typ ICompilationUnitModifizierer und TypMethodeBeschreibungprotected voidJavaModelOperation.addReconcileDelta(ICompilationUnit workingCopy, IJavaElementDelta delta) protected voidJavaModelOperation.applyTextEdit(ICompilationUnit cu, org.eclipse.text.edits.TextEdit edits) BufferFactoryWrapper.createBuffer(ICompilationUnit workingCopy) Veraltet.DefaultWorkingCopyOwner.createBuffer(ICompilationUnit workingCopy) protected ImportContainerCompilationUnitStructureRequestor.createImportContainer(ICompilationUnit parent) protected abstract ASTNodeCreateElementInCUOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu) protected ASTNodeCreateFieldOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu) protected ASTNodeCreateImportOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu) protected ASTNodeCreateInitializerOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu) protected ASTNodeCreateMethodOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu) protected ASTNodeCreatePackageDeclarationOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu) protected ASTNodeCreateTypeMemberOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu) protected ASTNodeCreateTypeOperation.generateElementAST(ASTRewrite rewriter, ICompilationUnit cu) protected voidCreateElementInCUOperation.generateNewCompilationUnitAST(ICompilationUnit cu) protected org.eclipse.jface.text.IDocumentJavaModelOperation.getDocument(ICompilationUnit cu) protected booleanNameLookup.nameMatches(String searchName, ICompilationUnit cu, boolean partialMatch) Returns true if the given cu's name matches the specifiedsearchName, otherwise false.JavaProject.newNameLookup(ICompilationUnit[] workingCopies) JavaProject.newNameLookup(ICompilationUnit[] workingCopies, boolean excludeTestCode) JavaProject.newSearchableNameEnvironment(ICompilationUnit[] workingCopies) JavaProject.newSearchableNameEnvironment(ICompilationUnit[] workingCopies, boolean excludeTestCode) BinaryType.newSupertypeHierarchy(ICompilationUnit[] workingCopies, org.eclipse.core.runtime.IProgressMonitor monitor) SourceType.newSupertypeHierarchy(ICompilationUnit[] workingCopies, org.eclipse.core.runtime.IProgressMonitor monitor) BinaryType.newTypeHierarchy(ICompilationUnit[] workingCopies, org.eclipse.core.runtime.IProgressMonitor monitor) SourceType.newTypeHierarchy(ICompilationUnit[] workingCopies, org.eclipse.core.runtime.IProgressMonitor monitor) protected CompilationUnitCreateElementInCUOperation.parse(ICompilationUnit cu) protected voidJavaModelOperation.removeReconcileDelta(ICompilationUnit workingCopy) Konstruktoren in org.aspectj.org.eclipse.jdt.internal.core mit Parametern vom Typ ICompilationUnitModifiziererKonstruktorBeschreibungCommitWorkingCopyOperation(ICompilationUnit element, boolean force) Constructs an operation to commit the contents of a working copy to its original compilation unit.protectedCompilationUnitStructureRequestor(ICompilationUnit unit, CompilationUnitElementInfo unitInfo, Map newElements) CreateImportOperation(String importName, ICompilationUnit parentElement, int flags) When executed, this operation will add an import to the given compilation unit.CreatePackageDeclarationOperation(String name, ICompilationUnit parentElement) When executed, this operation will add a package declaration to the given compilation unit.CreateTypeHierarchyOperation(IRegion region, ICompilationUnit[] workingCopies, IType element, boolean computeSubtypes) Constructs an operation to create a type hierarchy for the given type within the specified region, in the context of the given project.CreateTypeHierarchyOperation(IType element, ICompilationUnit[] workingCopies, IJavaProject project, boolean computeSubtypes) Constructs an operation to create a type hierarchy for the given type and working copies.CreateTypeHierarchyOperation(IType element, ICompilationUnit[] workingCopies, IJavaSearchScope scope, boolean computeSubtypes) Constructs an operation to create a type hierarchy for the given type and working copies.NameLookup(JavaProject rootProject, IPackageFragmentRoot[] packageFragmentRoots, HashtableOfArrayToObject packageFragments, ICompilationUnit[] workingCopies, Map rootToResolvedEntries) SearchableEnvironment(JavaProject project, ICompilationUnit[] workingCopies) Veraltet.SearchableEnvironment(JavaProject project, ICompilationUnit[] workingCopies, boolean excludeTestCode) Creates a SearchableEnvironment on the given project -
Verwendungen von ICompilationUnit in org.aspectj.org.eclipse.jdt.internal.core.dom.rewrite.imports
Konstruktoren in org.aspectj.org.eclipse.jdt.internal.core.dom.rewrite.imports mit Parametern vom Typ ICompilationUnitModifiziererKonstruktorBeschreibungImportRewriteAnalyzer(ICompilationUnit cu, CompilationUnit astRoot, ImportRewriteConfiguration configuration) -
Verwendungen von ICompilationUnit in org.aspectj.org.eclipse.jdt.internal.core.hierarchy
Felder in org.aspectj.org.eclipse.jdt.internal.core.hierarchy, die deklariert sind als ICompilationUnitMethoden in org.aspectj.org.eclipse.jdt.internal.core.hierarchy mit Parametern vom Typ ICompilationUnitModifizierer und TypMethodeBeschreibungvoidChangeCollector.addChange(ICompilationUnit cu, IJavaElementDelta newDelta) Konstruktoren in org.aspectj.org.eclipse.jdt.internal.core.hierarchy mit Parametern vom Typ ICompilationUnitModifiziererKonstruktorBeschreibungRegionBasedTypeHierarchy(IRegion region, ICompilationUnit[] workingCopies, IType type, boolean computeSubtypes) Creates a TypeHierarchy on the types in the specified region, considering first the given working copies, using the projects in the given region for a name lookup context.TypeHierarchy(IType type, ICompilationUnit[] workingCopies, IJavaProject project, boolean computeSubtypes) Creates a TypeHierarchy on the given type.TypeHierarchy(IType type, ICompilationUnit[] workingCopies, IJavaSearchScope scope, boolean computeSubtypes) Creates a TypeHierarchy on the given type. -
Verwendungen von ICompilationUnit in org.aspectj.org.eclipse.jdt.internal.core.search
Konstruktoren in org.aspectj.org.eclipse.jdt.internal.core.search mit Parametern vom Typ ICompilationUnit -
Verwendungen von ICompilationUnit in org.aspectj.org.eclipse.jdt.internal.core.search.matching
Felder in org.aspectj.org.eclipse.jdt.internal.core.search.matching, die deklariert sind als ICompilationUnitModifizierer und TypFeldBeschreibungMatchLocator.workingCopiesMatchLocator.WorkingCopyDocument.workingCopyMethoden in org.aspectj.org.eclipse.jdt.internal.core.search.matching, die Typen mit Argumenten vom Typ ICompilationUnit zurückgebenModifizierer und TypMethodeBeschreibungstatic Map<String,ICompilationUnit> JavaSearchNameEnvironment.getWorkingCopyMap(ICompilationUnit[] copies) Methoden in org.aspectj.org.eclipse.jdt.internal.core.search.matching mit Parametern vom Typ ICompilationUnitModifizierer und TypMethodeBeschreibungstatic SearchDocument[]MatchLocator.addWorkingCopies(SearchPattern pattern, SearchDocument[] indexMatches, ICompilationUnit[] copies, SearchParticipant participant) protected CompilationUnitDeclarationSuperTypeNamesCollector.buildBindings(ICompilationUnit compilationUnit, boolean isTopLevelOrMember) static INameEnvironmentIndexBasedJavaSearchEnvironment.create(List<IJavaProject> javaProjects, ICompilationUnit[] copies) static Map<String,ICompilationUnit> JavaSearchNameEnvironment.getWorkingCopyMap(ICompilationUnit[] copies) Konstruktoren in org.aspectj.org.eclipse.jdt.internal.core.search.matching mit Parametern vom Typ ICompilationUnitModifiziererKonstruktorBeschreibungJavaSearchNameEnvironment(IJavaProject javaProject, ICompilationUnit[] copies) -
Verwendungen von ICompilationUnit in org.aspectj.org.eclipse.jdt.internal.core.util
Methoden in org.aspectj.org.eclipse.jdt.internal.core.util mit Parametern vom Typ ICompilationUnitModifizierer und TypMethodeBeschreibungHandleFactory.createElement(ClassScope scope, ICompilationUnit unit, HashSet existingElements, HashMap knownScopes) Returns a handle denoting the class member identified by its scope.HandleFactory.createElement(Scope scope, int elementPosition, ICompilationUnit unit, HashSet existingElements, HashMap knownScopes) Create handle by adding child to parent obtained by recursing into parent scopes.HandleFactory.createLambdaTypeElement(LambdaExpression expression, ICompilationUnit unit, HashSet existingElements, HashMap knownScopes) Returns a handle denoting the lambda type identified by its scope.
ITypeRoot.getWorkingCopy(WorkingCopyOwner, IProgressMonitor)instead.