Uses of Interface
org.aspectj.org.eclipse.jdt.core.IJavaElement
Packages that use IJavaElement
Package
Description
The Java model is the set of classes that model the
objects associated with creating, editing, and building a Java program.
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
Provides support for the evaluation of code snippets
in a scrapbook or inside the debugger.
Provides a support for Java document manipulation through the JDOM model.
Provides support for searching the workspace Java
elements that match a particular description.
-
Uses of IJavaElement in org.aspectj.org.eclipse.jdt.core
Subinterfaces of IJavaElement in org.aspectj.org.eclipse.jdt.coreModifier and TypeInterfaceDescriptioninterfaceRepresents an annotation on a package declaration, a type, a method, a field or a local variable in a compilation unit or a class file.interfaceRepresents a single.classfile, holding the binary form of either a type or a module: A class file of typeIOrdinaryClassFilehas a single child of typeIType, a class file of typeIModularClassFilehas a single child of typeIModuleDescription. Class file elements need to be opened before they can be navigated.interfaceRepresents an entire Java compilation unit (source file with one of theJava-like extensions).interfaceRepresents a field declared in a type.interfaceRepresents an import container is a child of a Java compilation unit that contains all (and only) the import declarations.interfaceRepresents an import declaration in Java compilation unit.interfaceRepresents a stand-alone instance or class (static) initializer in a type.interfaceRepresent the root Java element corresponding to the workspace.interfaceA Java project represents a view of a project resource in terms of Java elements such as package fragments, types, methods and fields.interfaceRepresents a local variable declared in a method or an initializer.interfaceCommon protocol for Java elements that can be members of types.interfaceRepresents a method (or constructor) declared in a type.interfaceRepresents the class file of a module description ("module-info.class").interfaceRepresents a Java module descriptor.interfaceOrdinary form of aIClassFilewhich holds exactly oneIType.interfaceRepresents a package declaration in Java compilation unit.interfaceA package fragment is a portion of the workspace corresponding to an entire package, or to a portion thereof.interfaceA package fragment root contains a set of package fragments.interfaceRepresents either a source type in a compilation unit (either a top-level type, a member type, a local type, an anonymous type or a lambda expression) or a binary type in a class file.interfaceRepresents a type parameter defined by a type or a method in a compilation unit or a class file.interfaceRepresents an entire Java type root (either anICompilationUnitor anIClassFile).Methods in org.aspectj.org.eclipse.jdt.core that return IJavaElementModifier and TypeMethodDescriptionICodeAssist.codeSelect(int offset, int length) Returns the Java elements corresponding to the given selected text in this compilation unit.ICodeAssist.codeSelect(int offset, int length, WorkingCopyOwner owner) Returns the Java elements corresponding to the given selected text in this compilation unit.static IJavaElementReturns the Java model element corresponding to the given handle identifier generated byIJavaElement.getHandleIdentifier(), ornullif unable to create the associated element.static IJavaElementJavaCore.create(String handleIdentifier, WorkingCopyOwner owner) Returns the Java model element corresponding to the given handle identifier generated byIJavaElement.getHandleIdentifier(), ornullif unable to create the associated element.static IJavaElementJavaCore.create(org.eclipse.core.resources.IFile file) Returns the Java element corresponding to the given file, ornullif unable to associate the given file with a Java element.static IJavaElementJavaCore.create(org.eclipse.core.resources.IFolder folder) Returns the package fragment or package fragment root corresponding to the given folder, ornullif unable to associate the given folder with a Java element.static IJavaElementJavaCore.create(org.eclipse.core.resources.IResource resource) Returns the Java element corresponding to the given resource, ornullif unable to associate the given resource with a Java element.static IJavaElementJavaCore.create(org.eclipse.core.resources.IResource resource, IJavaProject project) Returns the Java element corresponding to the given file, its project being the given project.IJavaProject.findElement(String bindingKey, WorkingCopyOwner owner) Finds the Java element corresponding to the given binding key if any, else returnsnull.IJavaProject.findElement(org.eclipse.core.runtime.IPath path) Returns theIJavaElementcorresponding to the given classpath-relative path, ornullif no suchIJavaElementis found.IJavaProject.findElement(org.eclipse.core.runtime.IPath path, WorkingCopyOwner owner) Returns theIJavaElementcorresponding to the given classpath-relative path, ornullif no suchIJavaElementis found.ICompilationUnit.findElements(IJavaElement element) Finds the elements in this compilation unit that correspond to the given element.IWorkingCopy.findElements(IJavaElement element) Deprecated.IWorkingCopy.findSharedWorkingCopy(IBufferFactory bufferFactory) Deprecated.UseICompilationUnit.findWorkingCopy(WorkingCopyOwner)instead.IJavaElement.getAncestor(int ancestorType) Returns this Java element or the first ancestor of this element that has the given type.IParent.getChildren()Returns the immediate children of this element.IType.getChildrenForCategory(String category) Returns the children of this type that have the given category as a@categorytag.IJavaElementDelta.getElement()Returns the element that this delta describes a change to.ITypeRoot.getElementAt(int position) Returns the smallest element within this Java type root that includes the given source position (that is, a method, field, etc.), ornullif there is no element other than the Java type root itself at the given position, or if the given position is not within the source range of the source of this Java type root.IJavaModelStatus.getElements()Returns any Java elements associated with the failure (see specification of the status code), or an empty array if no elements are related to this particular status code.IRegion.getElements()Returns the top level elements in this region.CompletionContext.getEnclosingElement()Returns the innermost enclosing Java element which contains the completion location ornullif this element cannot be computed.IJavaElementDelta.getMovedFromElement()Returns an element describing this element before it was moved to its current location, ornullif theIJavaElementDelta.F_MOVED_FROMchange flag is not set.IJavaElementDelta.getMovedToElement()Returns an element describing this element in its new location, ornullif theIJavaElementDelta.F_MOVED_TOchange flag is not set.IWorkingCopy.getOriginal(IJavaElement workingCopyElement) Deprecated.UsegetPrimaryElement()instead.IWorkingCopy.getOriginalElement()Deprecated.UsegetPrimaryElement()instead.IJavaElement.getParent()Returns the element directly containing this element, ornullif this element has no parent.IJavaElement.getPrimaryElement()Returns the primary element (whose compilation unit is the primary compilation unit) this working copy element was created from, or this element if it is a descendant of a primary compilation unit or if it is not a descendant of a working copy (e.g.IWorkingCopy.getSharedWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor, IBufferFactory factory, IProblemRequestor problemRequestor) Deprecated.CompletionContext.getVisibleElements(String typeSignature) Return the elements which are visible from the completion location and which can be assigned to the given type.IClassFile.getWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor, IBufferFactory factory) Deprecated.IWorkingCopy.getWorkingCopy()Deprecated.UseICompilationUnit.getWorkingCopy(IProgressMonitor)instead.IWorkingCopy.getWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor, IBufferFactory factory, IProblemRequestor problemRequestor) Deprecated.Methods in org.aspectj.org.eclipse.jdt.core with parameters of type IJavaElementModifier and TypeMethodDescriptionvoidIRegion.add(IJavaElement element) Adds the given element and all of its descendents to this region.static voidJavaCore.addJavaElementMarkerAttributes(Map attributes, IJavaElement element) Configures the given marker attribute map for the given Java element.voidJavaCore.configureJavaElementMarker(org.eclipse.core.resources.IMarker marker, IJavaElement element) Configures the given marker for the given Java element.booleanIRegion.contains(IJavaElement element) Returns whether the given element is contained in this region.voidIJavaModel.copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String[] renamings, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor) Copies the given elements to the specified container(s).voidISourceManipulation.copy(IJavaElement container, IJavaElement sibling, String rename, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor) Copies this element to the given container.IType.createField(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a field in this type with the given contents.ICompilationUnit.createImport(String name, IJavaElement sibling, int flags, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns an import declaration in this compilation unit with the given name.ICompilationUnit.createImport(String name, IJavaElement sibling, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns an non-static import declaration in this compilation unit with the given name.IType.createInitializer(String contents, IJavaElement sibling, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a static initializer in this type with the given contents.IType.createMethod(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a method or constructor in this type with the given contents.ICompilationUnit.createType(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a type in this compilation unit with the given contents.IType.createType(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a type in this type with the given contents.voidIJavaModel.delete(IJavaElement[] elements, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) Deletes the given elements, forcing the operation if necessary and specified.ICompilationUnit.findElements(IJavaElement element) Finds the elements in this compilation unit that correspond to the given element.IWorkingCopy.findElements(IJavaElement element) Deprecated.UseICompilationUnit.findElements(IJavaElement)instead.static IModuleDescriptionJavaCore.getAutomaticModuleDescription(IJavaElement element) Returns theIModuleDescriptionthat the given java element contains when regarded as an automatic module.IWorkingCopy.getOriginal(IJavaElement workingCopyElement) Deprecated.UsegetPrimaryElement()instead.booleanIJavaProject.isOnClasspath(IJavaElement element) Returns whether the given element is on the classpath of this project, that is, referenced from a classpath entry and not explicitly excluded using an exclusion pattern.static booleanJavaCore.isReferencedBy(IJavaElement element, org.eclipse.core.resources.IMarker marker) Returns whether the given marker references the given Java element.static booleanJavaCore.isReferencedBy(IJavaElement element, org.eclipse.core.resources.IMarkerDelta markerDelta) Returns whether the given marker delta references the given Java element.voidIJavaModel.move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String[] renamings, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor) Moves the given elements to the specified container(s).voidISourceManipulation.move(IJavaElement container, IJavaElement sibling, String rename, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor) Moves this element to the given container.voidIJavaModel.refreshExternalArchives(IJavaElement[] elementsScope, org.eclipse.core.runtime.IProgressMonitor monitor) Triggers an update of the JavaModel with respect to the referenced external archives.booleanIRegion.remove(IJavaElement element) Removes the specified element from the region and returnstrueif successful,falseif the remove fails.voidIJavaModel.rename(IJavaElement[] elements, IJavaElement[] destinations, String[] names, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor) Renames the given elements as specified. -
Uses of IJavaElement in org.aspectj.org.eclipse.jdt.core.dom
Methods in org.aspectj.org.eclipse.jdt.core.dom that return IJavaElementModifier and TypeMethodDescriptionCompilationUnit.getJavaElement()The Java element (anorg.aspectj.org.eclipse.jdt.core.ICompilationUnitor anorg.aspectj.org.eclipse.jdt.core.IClassFile) this compilation unit was created from, ornullif it was not created from a Java element.IBinding.getJavaElement()Returns the Java element that corresponds to this binding.Methods in org.aspectj.org.eclipse.jdt.core.dom with parameters of type IJavaElementModifier and TypeMethodDescriptionIBinding[]ASTParser.createBindings(IJavaElement[] elements, org.eclipse.core.runtime.IProgressMonitor monitor) Creates bindings for a batch of Java elements. -
Uses of IJavaElement in org.aspectj.org.eclipse.jdt.core.eval
Methods in org.aspectj.org.eclipse.jdt.core.eval that return IJavaElementModifier and TypeMethodDescriptionIEvaluationContext.codeSelect(String codeSnippet, int offset, int length) Resolves and returns a collection of Java elements corresponding to the source code at the given positions in the given code snippet.IEvaluationContext.codeSelect(String codeSnippet, int offset, int length, WorkingCopyOwner owner) Resolves and returns a collection of Java elements corresponding to the source code at the given positions in the given code snippet. -
Uses of IJavaElement in org.aspectj.org.eclipse.jdt.core.jdom
Methods in org.aspectj.org.eclipse.jdt.core.jdom that return IJavaElementModifier and TypeMethodDescriptionIDOMNode.getJavaElement(IJavaElement parent) Deprecated.Returns a handle for the Java element associated with this document fragment, based on the parent Java element.Methods in org.aspectj.org.eclipse.jdt.core.jdom with parameters of type IJavaElementModifier and TypeMethodDescriptionIDOMNode.getJavaElement(IJavaElement parent) Deprecated.Returns a handle for the Java element associated with this document fragment, based on the parent Java element. -
Uses of IJavaElement in org.aspectj.org.eclipse.jdt.core.provisional
Methods in org.aspectj.org.eclipse.jdt.core.provisional with parameters of type IJavaElementModifier and TypeMethodDescriptionstatic IModuleDescriptionJavaModelAccess.getAutomaticModuleDescription(IJavaElement element) Returns theIModuleDescriptionthat the given java element contains when regarded as an automatic module. -
Uses of IJavaElement in org.aspectj.org.eclipse.jdt.core.search
Fields in org.aspectj.org.eclipse.jdt.core.search declared as IJavaElementModifier and TypeFieldDescriptionSearchPattern.focusThe focus element (used for reference patterns)Methods in org.aspectj.org.eclipse.jdt.core.search that return IJavaElementModifier and TypeMethodDescriptionfinal IJavaElementReferenceMatch.getLocalElement()Returns the local element of this search match, ornullif none.final IJavaElement[]TypeReferenceMatch.getOtherElements()Returns other elements also enclosing the type reference.Methods in org.aspectj.org.eclipse.jdt.core.search with parameters of type IJavaElementModifier and TypeMethodDescriptionvoidIJavaSearchResultCollector.accept(org.eclipse.core.resources.IResource resource, int start, int end, IJavaElement enclosingElement, int accuracy) Deprecated.Replaced bySearchRequestor.acceptSearchMatch(SearchMatch).static IJavaSearchScopeSearchEngine.createJavaSearchScope(boolean excludeTestCode, IJavaElement[] elements, boolean includeReferencedProjects) Returns a Java search scope limited to the given Java elements.static IJavaSearchScopeSearchEngine.createJavaSearchScope(boolean excludeTestCode, IJavaElement[] elements, int includeMask) Returns a Java search scope limited to the given Java elements.static IJavaSearchScopeSearchEngine.createJavaSearchScope(IJavaElement[] elements) Returns a Java search scope limited to the given Java elements.static IJavaSearchScopeSearchEngine.createJavaSearchScope(IJavaElement[] elements, boolean includeReferencedProjects) Returns a Java search scope limited to the given Java elements.static IJavaSearchScopeSearchEngine.createJavaSearchScope(IJavaElement[] elements, int includeMask) Returns a Java search scope limited to the given Java elements.static SearchPatternSearchPattern.createPattern(IJavaElement element, int limitTo) Returns a search pattern based on a given Java element.static SearchPatternSearchPattern.createPattern(IJavaElement element, int limitTo, int matchRule) Returns a search pattern based on a given Java element.static ISearchPatternSearchEngine.createSearchPattern(IJavaElement element, int limitTo) Deprecated.UseSearchPattern.createPattern(IJavaElement, int)instead.booleanIJavaSearchScope.encloses(IJavaElement element) Checks whether this scope encloses the given element.voidSearchEngine.search(org.eclipse.core.resources.IWorkspace workspace, IJavaElement element, int limitTo, IJavaSearchScope scope, IJavaSearchResultCollector resultCollector) voidSearchEngine.searchDeclarationsOfAccessedFields(IJavaElement enclosingElement, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) Searches for all declarations of the fields accessed in the given element.voidSearchEngine.searchDeclarationsOfAccessedFields(org.eclipse.core.resources.IWorkspace workspace, IJavaElement enclosingElement, IJavaSearchResultCollector resultCollector) Deprecated.voidSearchEngine.searchDeclarationsOfReferencedTypes(IJavaElement enclosingElement, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) Searches for all declarations of the types referenced in the given element.voidSearchEngine.searchDeclarationsOfReferencedTypes(org.eclipse.core.resources.IWorkspace workspace, IJavaElement enclosingElement, IJavaSearchResultCollector resultCollector) Deprecated.voidSearchEngine.searchDeclarationsOfSentMessages(IJavaElement enclosingElement, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) Searches for all declarations of the methods invoked in the given element.voidSearchEngine.searchDeclarationsOfSentMessages(org.eclipse.core.resources.IWorkspace workspace, IJavaElement enclosingElement, IJavaSearchResultCollector resultCollector) Deprecated.final voidReferenceMatch.setLocalElement(IJavaElement element) Store the local element in the match.final voidTypeReferenceMatch.setOtherElements(IJavaElement[] otherElements) Sets the other elements of this search match.Constructors in org.aspectj.org.eclipse.jdt.core.search with parameters of type IJavaElementModifierConstructorDescriptionFieldDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, org.eclipse.core.resources.IResource resource) Creates a new field declaration match.FieldReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean isReadAccess, boolean isWriteAccess, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource) Creates a new field reference match.LocalVariableDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, org.eclipse.core.resources.IResource resource) Creates a new local variable declaration match.LocalVariableReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean isReadAccess, boolean isWriteAccess, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource) Creates a new local variable reference match.MethodDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, org.eclipse.core.resources.IResource resource) Creates a new method declaration match.MethodReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean constructor, boolean synthetic, boolean superInvocation, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource) Creates a new method reference match.MethodReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean constructor, boolean synthetic, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource) Creates a new method reference match.MethodReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource) Creates a new method reference match.ModuleDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, org.eclipse.core.resources.IResource resource) Creates a new type declaration match.ModuleReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource) Creates a new module reference match.PackageDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, org.eclipse.core.resources.IResource resource) Creates a new package declaration match.PackageReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource) Creates a new package reference match.ReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource) Creates a new reference match.SearchMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, org.eclipse.core.resources.IResource resource) Creates a new search match.TypeDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, org.eclipse.core.resources.IResource resource) Creates a new type declaration match.TypeParameterDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, org.eclipse.core.resources.IResource resource) Creates a new type parameter match.TypeParameterReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource) Creates a new field reference match.TypeReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource) Creates a new type reference match. -
Uses of IJavaElement in org.aspectj.org.eclipse.jdt.internal.codeassist
Methods in org.aspectj.org.eclipse.jdt.internal.codeassist that return IJavaElementModifier and TypeMethodDescriptionDOMCodeSelector.codeSelect(int offset, int length) InternalCompletionContext.getEnclosingElement()InternalExtendedCompletionContext.getEnclosingElement()InternalCompletionContext.getVisibleElements(String typeSignature) InternalExtendedCompletionContext.getVisibleElements(String typeSignature) -
Uses of IJavaElement in org.aspectj.org.eclipse.jdt.internal.codeassist.impl
Classes in org.aspectj.org.eclipse.jdt.internal.codeassist.impl that implement IJavaElementModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassConstructor parameters in org.aspectj.org.eclipse.jdt.internal.codeassist.impl with type arguments of type IJavaElementModifierConstructorDescriptionAssistAnnotation(JavaElement parent, String name, Map<IJavaElement, IElementInfo> infoCache) AssistImportContainer(CompilationUnit parent, Map<IJavaElement, IElementInfo> infoCache) AssistImportDeclaration(ImportContainer parent, String name, boolean isOnDemand, Map<IJavaElement, IElementInfo> infoCache) AssistPackageDeclaration(CompilationUnit parent, String name, Map<IJavaElement, IElementInfo> infoCache) AssistTypeParameter(JavaElement parent, String name, Map<IJavaElement, IElementInfo> infoCache) -
Uses of IJavaElement in org.aspectj.org.eclipse.jdt.internal.compiler
Fields in org.aspectj.org.eclipse.jdt.internal.compiler with type parameters of type IJavaElementModifier and TypeFieldDescriptionMap<IJavaElement, char[][]> ISourceElementRequestor.TypeInfo.childrenCategories -
Uses of IJavaElement in org.aspectj.org.eclipse.jdt.internal.core
Classes in org.aspectj.org.eclipse.jdt.internal.core with type parameters of type IJavaElementModifier and TypeClassDescriptionclassElementCache<K extends IJavaElement & IOpenable>An LRU cache ofJavaElements.classVerboseElementCache<K extends IJavaElement & IOpenable>Subinterfaces of IJavaElement in org.aspectj.org.eclipse.jdt.internal.coreClasses in org.aspectj.org.eclipse.jdt.internal.core that implement IJavaElementModifier and TypeClassDescriptionclassCommon parts of ClassFile (containing a BinaryType) and ModularClassFile (containing a BinaryModule).static classHandle for an automatic module.classclassclassclassCommon functionality for Binary member handles.classclassclassParent is an IClassFile.classclassA working copy on anIClassFile.classclassclassA package fragment root that corresponds to an external class folder.classclassHandle for an import declaration.classclassA package fragment root that corresponds to a .jar or .zip.classRoot of Java element handle hierarchy.classImplementation ofIJavaModel.classHandle for a Java Project.classA package fragment root that corresponds to a JMod file.classA package fragment root that corresponds to a module in a JRT file system.classclassclassclassclassA handle to a modular class file.classclassAbstract class for implementations of java elements which are IOpenable.classclassclassclassHandle representing a binary field that is resolved.classHandle representing a binary method that is resolved.classHandle representing a binary type that is resolved.classclassHandle representing a source field that is resolved.classHandle representing a source method that is resolved.classHandle representing a source type that is resolved.classclassclassclassAbstract class for Java elements which implement ISourceReference.classHandle for a source type.classFields in org.aspectj.org.eclipse.jdt.internal.core declared as IJavaElementModifier and TypeFieldDescriptionprotected IJavaElementCreateElementInCUOperation.anchorElementThe element that the newly created element is positioned relative to, as described byfInsertPosition, ornullif the newly created element will be positioned last.protected IJavaElement[]ImportContainerInfo.childrenprotected IJavaElement[]InitializerWithChildrenInfo.childrenprotected IJavaElement[]ModuleDescriptionInfo.childrenprotected IJavaElement[]OpenableElementInfo.childrenCollection of handles of immediate children of this object.protected IJavaElement[]SourceConstructorWithChildrenInfo.childrenprotected IJavaElement[]SourceFieldWithChildrenInfo.childrenprotected IJavaElement[]SourceMethodWithChildrenInfo.childrenprotected IJavaElement[]SourceTypeElementInfo.childrenfinal IJavaElementJavaElementDelta.Key.elementprotected IJavaElement[]JavaModelStatus.elementsThe elements related to the failure, ornullif no elements are involved.protected IJavaElement[]SelectionRequestor.elementsprotected IJavaElement[]JavaModelOperation.elementsToProcessThe elements this operation operates on, ornullif this operation does not operate on specific elements.protected static final IJavaElement[]JavaModelOperation.NO_ELEMENTSAn empty collection ofIJavaElements - the common empty result if no elements are created, or if this operation is not actually executed.protected IJavaElement[]JavaModelOperation.parentElementsThe parent elements this operation operates with ornullif this operation does not operate with specific parent elements.protected IJavaElement[]JavaModelOperation.resultElementsThe elements created by this operation - empty until the operation actually creates elements.protected IJavaElementSourceMapper.searchedElementThe element searched forFields in org.aspectj.org.eclipse.jdt.internal.core with type parameters of type IJavaElementModifier and TypeFieldDescriptionprotected HashMap<IJavaElement, String[]> SourceTypeElementInfo.categoriesprotected HashMap<Object, List<IJavaElement>> CompilationUnitStructureRequestor.childrenprotected Map<IJavaElement, IElementInfo> JavaModelCache.childrenCacheCache of open children of openable Java Model Java elementsprotected Stack<IJavaElement> CompilationUnitStructureRequestor.handleStackStack of parent handles, corresponding to the info stack.protected LRUCache<IJavaElement, IElementInfo> JavaModelCache.jarTypeCacheCache of open binary type (inside a jar) that have a non-open parent Values are either instance of IBinaryType or Object (seeJavaModelCache.NON_EXISTING_JAR_TYPE_INFO)JavaModelManager.PerProjectInfo.javadocCacheprotected Map<IJavaElement, IElementInfo> CompilationUnitStructureRequestor.newElementsMap of children elements of the compilation unit.DeltaProcessor.projectCachesToResetMethods in org.aspectj.org.eclipse.jdt.internal.core that return IJavaElementModifier and TypeMethodDescriptionAbstractClassFile.codeSelect(int offset, int length) abstract IJavaElement[]AbstractClassFile.codeSelect(int offset, int length, WorkingCopyOwner owner) ClassFile.codeSelect(int offset, int length, WorkingCopyOwner owner) CompilationUnit.codeSelect(int offset, int length) CompilationUnit.codeSelect(int offset, int length, WorkingCopyOwner workingCopyOwner) ModularClassFile.codeSelect(int offset, int length, WorkingCopyOwner owner) protected IJavaElement[]Openable.codeSelect(ICompilationUnit cu, int offset, int length, WorkingCopyOwner owner) static IJavaElementJavaModelManager.create(org.eclipse.core.resources.IFile file, IJavaProject project) Returns the Java element corresponding to the given file, its project being the given project.static IJavaElementJavaModelManager.create(org.eclipse.core.resources.IFolder folder, IJavaProject project) Returns the package fragment or package fragment root corresponding to the given folder, its parent or great parent being the given project.static IJavaElementJavaModelManager.create(org.eclipse.core.resources.IResource resource, IJavaProject project) Returns the Java element corresponding to the given resource, ornullif unable to associate the given resource with a Java element.protected IJavaElement[]JarPackageFragmentRoot.createChildren(Collection<List<String>> packagenames) static IJavaElementJavaModelManager.determineIfOnClasspath(org.eclipse.core.resources.IResource resource, IJavaProject project) Returns the package fragment root represented by the resource, or the package fragment the given resource is located in, ornullif the given resource is not on the classpath of the given project.protected IJavaElementAbstractClassFile.findElement(IJavaElement elt, int position, SourceMapper mapper) Finds the deepestIJavaElementin the hierarchy ofelt's children (includingeltitself) which has a source range that enclosespositionaccording tomapper.JavaProject.findElement(String bindingKey, WorkingCopyOwner owner) JavaProject.findElement(org.eclipse.core.runtime.IPath path) JavaProject.findElement(org.eclipse.core.runtime.IPath path, WorkingCopyOwner owner) CompilationUnit.findElements(IJavaElement element) protected IJavaElementSelectionRequestor.findLocalElement(int pos) protected IJavaElementSelectionRequestor.findLocalElement(int pos, MethodScope scope) SelectionRequestor.findMethodFromBinding(MethodBinding method, String[] signatures, ReferenceBinding declaringClass) This method returns an IMethod element from the given method and declaring type bindings.JavaProject.findPackageFragment(String packageName) CompilationUnit.findSharedWorkingCopy(IBufferFactory factory) Deprecated.protected abstract IJavaElementCreateElementInCUOperation.generateResultHandle()Creates and returns the handle for the element this operation created.protected IJavaElementCreateFieldOperation.generateResultHandle()protected IJavaElementCreateImportOperation.generateResultHandle()protected IJavaElementCreateInitializerOperation.generateResultHandle()protected IJavaElementCreateMethodOperation.generateResultHandle()protected IJavaElementCreatePackageDeclarationOperation.generateResultHandle()Creates and returns the handle for the element this operation created.protected IJavaElementCreateTypeOperation.generateResultHandle()protected IJavaElement[]CreateElementInCUOperation.generateResultHandles()Creates and returns the handles for the elements this operation created.JavaElement.getAncestor(int ancestorType) AbstractModule.AutoModule.getChildren()BinaryModule.getChildren()BinaryType.getChildren()ImportContainerInfo.getChildren()InitializerWithChildrenInfo.getChildren()JavaElement.getChildren()JavaElementInfo.getChildren()LambdaExpression.getChildren()ModuleDescriptionInfo.getChildren()OpenableElementInfo.getChildren()SourceConstructorWithChildrenInfo.getChildren()SourceFieldWithChildrenInfo.getChildren()SourceMethodWithChildrenInfo.getChildren()SourceTypeElementInfo.getChildren()BinaryType.getChildrenForCategory(String category) SourceType.getChildrenForCategory(String category) protected IJavaElementMultiOperation.getDestinationParent(IJavaElement child) Returns the parent of the element being copied/moved/renamed.JavaElementDelta.getElement()ClassFile.getElementAt(int position) CompilationUnit.getElementAt(int position) ModularClassFile.getElementAt(int position) AbstractClassFile.getElementAtConsideringSibling(int position) JavaModelStatus.getElements()Region.getElements()SelectionRequestor.getElements()Returns the resolved elements.protected IJavaElementJavaModelOperation.getElementToProcess()Returns the element to which this operation applies, ornullif not applicable.JavaModelCache.getExistingElement(IJavaElement element) JavaModelManager.getExistingElement(IJavaElement element) Returns the existing element in the cache that is equal to the given element.JavaElementInfo.getExtendedChildren()SourceMethodElementInfo.getExtendedChildren()BinaryType.getHandleFromMemento(String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner) ClassFile.getHandleFromMemento(String token, MementoTokenizer memento, WorkingCopyOwner owner) CompilationUnit.getHandleFromMemento(String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner) ImportContainer.getHandleFromMemento(String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner) abstract IJavaElementJavaElement.getHandleFromMemento(String token, MementoTokenizer memento, WorkingCopyOwner owner) JavaElement.getHandleFromMemento(MementoTokenizer memento, WorkingCopyOwner owner) JavaModel.getHandleFromMemento(String token, MementoTokenizer memento, WorkingCopyOwner owner) JavaProject.getHandleFromMemento(String token, MementoTokenizer memento, WorkingCopyOwner owner) LambdaExpression.getHandleFromMemento(String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner) LocalVariable.getHandleFromMemento(String token, MementoTokenizer memento, WorkingCopyOwner owner) Member.getHandleFromMemento(String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner) ModularClassFile.getHandleFromMemento(String token, MementoTokenizer memento, WorkingCopyOwner owner) PackageFragment.getHandleFromMemento(String token, MementoTokenizer memento, WorkingCopyOwner owner) PackageFragmentRoot.getHandleFromMemento(String token, MementoTokenizer memento, WorkingCopyOwner owner) SourceRefElement.getHandleFromMemento(String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner) SourceType.getHandleFromMemento(String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner) SourceRefElement.getHandleUpdatingCountFromMemento(MementoTokenizer memento, WorkingCopyOwner owner) JavaElementDelta.getMovedFromElement()JavaElementDelta.getMovedToElement()CompilationUnit.getOriginal(IJavaElement workingCopyElement) Deprecated.CompilationUnit.getOriginalElement()Deprecated.protected IJavaElementRegion.getParent(IJavaElement element) protected IJavaElementJavaModelOperation.getParentElement()Returns the parent element to which this operation applies, ornullif not applicable.protected IJavaElement[]JavaModelOperation.getParentElements()Returns the parent elements to which this operation applies, ornullif not applicable.JavaModelOperation.getResultElements()Returns the elements created by this operation.CompilationUnit.getSharedWorkingCopy(org.eclipse.core.runtime.IProgressMonitor pm, IBufferFactory factory, IProblemRequestor problemRequestor) Deprecated.protected IJavaElementJavaElement.getSourceElementAt(int position) Returns the element that is located at the given source position in this element.protected IJavaElement[]SourceMapper.getUnqualifiedMethodHandle(IMethod method, boolean noDollar) Creates a handle that has parameter types that are not fully qualified so that the correct source is found.AbstractClassFile.getWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor, IBufferFactory factory) Deprecated.CompilationUnit.getWorkingCopy()Deprecated.CompilationUnit.getWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor, IBufferFactory factory, IProblemRequestor problemRequestor) Deprecated.Methods in org.aspectj.org.eclipse.jdt.internal.core that return types with arguments of type IJavaElementModifier and TypeMethodDescriptionModuleDescriptionInfo.getCategories()SourceTypeElementInfo.getCategories()JavaModelManager.getTemporaryCache()Returns the temporary cache for newly opened elements for the current thread.DeltaProcessingState.removeExternalElementsToRefresh()Methods in org.aspectj.org.eclipse.jdt.internal.core with parameters of type IJavaElementModifier and TypeMethodDescriptionvoidRegion.add(IJavaElement element) voidModuleDescriptionInfo.addCategories(IJavaElement element, char[][] elementCategories) protected voidSourceTypeElementInfo.addCategories(IJavaElement element, char[][] elementCategories) voidOpenableElementInfo.addChild(IJavaElement child) voidJavaElementDelta.added(IJavaElement element) Creates the nested deltas resulting from an add operation.voidJavaElementDelta.added(IJavaElement element, int flags) protected voidSelectionRequestor.addElement(IJavaElement element) voidDeltaProcessingState.addForRefresh(IJavaElement externalElement) JavaElementDelta.changed(IJavaElement element, int changeFlag) Creates the nested deltas resulting from a change operation.voidDeltaProcessor.checkExternalArchiveChanges(IJavaElement[] elementsScope, org.eclipse.core.runtime.IProgressMonitor monitor) voidJavaElementDelta.closed(IJavaElement element) Creates the nested deltas for a closed element.booleanRegion.contains(IJavaElement element) voidBinaryMember.copy(IJavaElement container, IJavaElement sibling, String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidCompilationUnit.copy(IJavaElement container, IJavaElement sibling, String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidJavaModel.copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String[] renamings, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidPackageFragment.copy(IJavaElement container, IJavaElement sibling, String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidSourceRefElement.copy(IJavaElement container, IJavaElement sibling, String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidCreateElementInCUOperation.createAfter(IJavaElement sibling) Instructs this operation to position the new element after the given sibling, or to add the new element as the last child of its parent ifnull.voidCreateElementInCUOperation.createBefore(IJavaElement sibling) Instructs this operation to position the new element before the given sibling, or to add the new element as the last child of its parent ifnull.protected JavaElementDeltaJavaElementDelta.createDeltaTree(IJavaElement element, JavaElementDelta delta) Creates the nested delta deltas based on the affected element its delta, and the root of this delta tree.BinaryType.createField(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) SourceType.createField(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) CompilationUnit.createImport(String importName, IJavaElement sibling, int flags, org.eclipse.core.runtime.IProgressMonitor monitor) CompilationUnit.createImport(String importName, IJavaElement sibling, org.eclipse.core.runtime.IProgressMonitor monitor) BinaryType.createInitializer(String contents, IJavaElement sibling, org.eclipse.core.runtime.IProgressMonitor monitor) SourceType.createInitializer(String contents, IJavaElement sibling, org.eclipse.core.runtime.IProgressMonitor monitor) BinaryType.createMethod(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) SourceType.createMethod(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) BinaryType.createType(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) CompilationUnit.createType(String content, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) SourceType.createType(String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidJavaModel.delete(IJavaElement[] elements, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) protected voidElementCache.ensureSpaceLimit(JavaElementInfo info, IJavaElement parent) protected static booleanJavaElementDelta.equalsAndSameParent(IJavaElement e1, IJavaElement e2) Returns whether the two java elements are equals and have the same parent.protected voidMultiOperation.error(int code, IJavaElement element) Convenience method to create aJavaModelExceptionembending aJavaModelStatus.protected JavaElementDeltaJavaElementDelta.find(IJavaElement e) Returns theJavaElementDeltafor the given element in the delta tree, or null, if no delta for the given element is found.protected IJavaElementAbstractClassFile.findElement(IJavaElement elt, int position, SourceMapper mapper) Finds the deepestIJavaElementin the hierarchy ofelt's children (includingeltitself) which has a source range that enclosespositionaccording tomapper.CompilationUnit.findElements(IJavaElement element) 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.protected JavaElementDeltaJavaElementDelta.getDeltaFor(IJavaElement element) Returns the delta for a given element.protected IJavaElementMultiOperation.getDestinationParent(IJavaElement child) Returns the parent of the element being copied/moved/renamed.JavaModelCache.getExistingElement(IJavaElement element) JavaModelManager.getExistingElement(IJavaElement element) Returns the existing element in the cache that is equal to the given element.intSourceMapper.getFlags(IJavaElement element) JavaModelCache.getInfo(IJavaElement element) Returns the info for the element.JavaModelManager.getInfo(IJavaElement element) Returns the info for the element.SourceMapper.getNameRange(IJavaElement element) Returns the SourceRange for the name of the given element, or {-1, -1} if no source range is known for the name of the element.protected JavaModelOperationCopyElementsOperation.getNestedOperation(IJavaElement element) Returns the nested operation to use for processing this elementprotected StringMultiOperation.getNewNameFor(IJavaElement element) Returns the new name forelement, ornullif there are no renamings specified.CompilationUnit.getOriginal(IJavaElement workingCopyElement) Deprecated.protected IJavaElementRegion.getParent(IJavaElement element) SourceMapper.getSourceRange(IJavaElement element) Returns theSourceRangefor the given element, or {-1, -1} if no source range is known for the element.protected voidJavaElementDelta.insertDeltaTree(IJavaElement element, JavaElementDelta delta) Creates the delta tree for the given element and delta, and then inserts the tree as an affected child of this node.booleanJavaElement.isAncestorOf(IJavaElement e) Returns true if this element is an ancestor of the given element, otherwise false.booleanExternalJavaProject.isOnClasspath(IJavaElement element) booleanJavaProject.isOnClasspath(IJavaElement element) protected booleanCopyElementsOperation.isRenamingMainType(IJavaElement element, IJavaElement dest) Returnstrueif this element is the main type of its compilation unit.SourceMapper.mapSource(NamedMember typeOrModule, char[] contents, IBinaryType info, IJavaElement elementToFind) Maps the given source code to the given binary type and its children.voidBinaryMember.move(IJavaElement container, IJavaElement sibling, String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidCompilationUnit.move(IJavaElement container, IJavaElement sibling, String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidJavaModel.move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String[] renamings, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidPackageFragment.move(IJavaElement container, IJavaElement sibling, String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidSourceRefElement.move(IJavaElement container, IJavaElement sibling, String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) voidJavaElementDelta.movedFrom(IJavaElement movedFromElement, IJavaElement movedToElement) Creates the nested deltas resulting from an move operation.voidJavaElementDelta.movedTo(IJavaElement movedToElement, IJavaElement movedFromElement) Creates the nested deltas resulting from an move operation.protected booleanNameLookup.nameMatches(String searchName, IJavaElement element, boolean partialMatch) Returns true if the given element's name matches the specifiedsearchName, otherwise false.voidJavaElementDelta.opened(IJavaElement element) Creates the nested deltas for an opened element.protected IElementInfoJavaModelCache.peekAtInfo(IJavaElement element) Returns the info for this element without disturbing the cache ordering.protected IElementInfoJavaModelManager.peekAtInfo(IJavaElement element) Returns the info for this element without disturbing the cache ordering.protected voidCopyResourceElementsOperation.prepareDeltas(IJavaElement sourceElement, IJavaElement destinationElement, boolean isMove, boolean overWriteCU) Sets the deltas to register the changes resulting from this operation for this source element and its destination.protected voidCopyElementsOperation.processElement(IJavaElement element) Copy/move the element from the source to destination, renaming the elements as specified, honoring the collision policy.protected voidCopyResourceElementsOperation.processElement(IJavaElement element) protected voidDeleteElementsOperation.processElement(IJavaElement element) Deletes this element from its compilation unit.protected voidDeleteResourceElementsOperation.processElement(IJavaElement element) protected abstract voidMultiOperation.processElement(IJavaElement element) Subclasses must implement this method to process a givenIJavaElement.protected voidJavaModelCache.putInfo(IJavaElement element, IElementInfo info) Remember the info for the element.protected IElementInfoJavaModelManager.putInfos(IJavaElement openedElement, IElementInfo newInfo, boolean forceAdd, Map<IJavaElement, IElementInfo> newElements) protected voidJavaModelManager.putJarTypeInfo(IJavaElement type, IElementInfo info) Remember the info for the jar binary typevoidJavaModel.refreshExternalArchives(IJavaElement[] elementsScope, org.eclipse.core.runtime.IProgressMonitor monitor) booleanRegion.remove(IJavaElement element) voidOpenableElementInfo.removeChild(IJavaElement child) voidJavaElementDelta.removed(IJavaElement element) Creates the nested deltas resulting from an delete operation.voidJavaElementDelta.removed(IJavaElement element, int flags) voidJavaModel.rename(IJavaElement[] elements, IJavaElement[] destinations, String[] renamings, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) protected voidElementCache.resetSpaceLimit(IJavaElement parent) protected voidJavaModel.runOperation(MultiOperation op, IJavaElement[] elements, IJavaElement[] siblings, String[] renamings, org.eclipse.core.runtime.IProgressMonitor monitor) Configures and runs theMultiOperation.voidOpenableElementInfo.setChildren(IJavaElement[] children) voidMultiOperation.setInsertBefore(IJavaElement modifiedElement, IJavaElement newSibling) Sets the insertion position in the new container for the modified element.protected voidCreateElementInCUOperation.setRelativePosition(IJavaElement sibling, int policy) Instructs this operation to position the new element relative to the given sibling, or to add the new element as the last child of its parent ifnull.protected voidSourceMapper.setSourceRange(IJavaElement element, SourceRange sourceRange, SourceRange nameRange) Sets the mapping for this element to its source ranges for its source range and name range.voidJavaElementDelta.sourceAttached(IJavaElement element) Creates the nested deltas resulting from a change operation.voidJavaElementDelta.sourceDetached(IJavaElement element) Creates the nested deltas resulting from a change operation.protected voidCopyElementsOperation.verify(IJavaElement element) protected voidCopyResourceElementsOperation.verify(IJavaElement element) protected voidDeleteElementsOperation.verify(IJavaElement element) protected voidDeleteResourceElementsOperation.verify(IJavaElement element) protected abstract voidMultiOperation.verify(IJavaElement element) This method is called for eachIJavaElementbeforeprocessElement.protected voidRenameElementsOperation.verify(IJavaElement element) protected voidRenameResourceElementsOperation.verify(IJavaElement element) protected voidMultiOperation.verifyDestination(IJavaElement element, IJavaElement destination) Verifies that thedestinationspecified for theelementis valid for the types of theelementanddestination.protected voidMultiOperation.verifyRenaming(IJavaElement element) Verify that the new name specified forelementis valid for that type of Java element.protected voidMultiOperation.verifySibling(IJavaElement element, IJavaElement destination) Verifies that the positioning sibling specified for theelementis exists and its parent is the destination container of thiselement.Method parameters in org.aspectj.org.eclipse.jdt.internal.core with type arguments of type IJavaElementModifier and TypeMethodDescriptionprotected booleanClassFile.buildStructure(OpenableElementInfo info, org.eclipse.core.runtime.IProgressMonitor pm, Map<IJavaElement, IElementInfo> newElements, org.eclipse.core.resources.IResource underlyingResource) Creates the children elements for this class file adding the resulting new handles and info objects to the newElements table.protected booleanCompilationUnit.buildStructure(OpenableElementInfo info, org.eclipse.core.runtime.IProgressMonitor pm, Map<IJavaElement, IElementInfo> newElements, org.eclipse.core.resources.IResource underlyingResource) protected booleanModularClassFile.buildStructure(OpenableElementInfo info, org.eclipse.core.runtime.IProgressMonitor pm, Map<IJavaElement, IElementInfo> newElements, org.eclipse.core.resources.IResource underlyingResource) Creates the single child element for this class file adding the resulting new handle (of typeIBinaryModule) and info object to the newElements table.protected abstract booleanOpenable.buildStructure(OpenableElementInfo info, org.eclipse.core.runtime.IProgressMonitor pm, Map<IJavaElement, IElementInfo> newElements, org.eclipse.core.resources.IResource underlyingResource) Builds this element's structure and properties in the given info object, based on this element's current contents (reuse buffer contents if this element has an open buffer, or resource contents if this element does not have an open buffer).protected abstract voidJavaElement.generateInfos(IElementInfo info, Map<IJavaElement, IElementInfo> newElements, org.eclipse.core.runtime.IProgressMonitor pm) Generates the element infos for this element, its ancestors (if they are not opened) and its children (if it is an Openable).protected voidLocalVariable.generateInfos(IElementInfo info, Map<IJavaElement, IElementInfo> newElements, org.eclipse.core.runtime.IProgressMonitor pm) protected voidOpenable.generateInfos(IElementInfo info, Map<IJavaElement, IElementInfo> newElements, org.eclipse.core.runtime.IProgressMonitor monitor) protected voidSourceRefElement.generateInfos(IElementInfo info, Map<IJavaElement, IElementInfo> newElements, org.eclipse.core.runtime.IProgressMonitor pm) protected voidCompilationUnit.openAncestors(Map<IJavaElement, IElementInfo> newElements, org.eclipse.core.runtime.IProgressMonitor monitor) protected voidOpenable.openAncestors(Map<IJavaElement, IElementInfo> newElements, org.eclipse.core.runtime.IProgressMonitor monitor) protected IElementInfoJavaModelManager.putInfos(IJavaElement openedElement, IElementInfo newInfo, boolean forceAdd, Map<IJavaElement, IElementInfo> newElements) Constructors in org.aspectj.org.eclipse.jdt.internal.core with parameters of type IJavaElementModifierConstructorDescriptionBasicCompilationUnit(char[] contents, char[][] packageName, String fileName, IJavaElement javaElement) ChangeClasspathOperation(IJavaElement[] elements, boolean canChangeResources) CopyElementsOperation(IJavaElement[] elementsToCopy, IJavaElement[] destContainers, boolean force) When executed, this operation will copy the given elements to the given containers.CopyElementsOperation(IJavaElement[] elementsToCopy, IJavaElement destContainer, boolean force) When executed, this operation will copy the given elements to the given container.CopyResourceElementsOperation(IJavaElement[] resourcesToCopy, IJavaElement[] destContainers, boolean force) When executed, this operation will copy the given resources to the given containers.CreateElementInCUOperation(IJavaElement parentElement) Constructs an operation that creates a Java Language Element with the specified parent, contained within a compilation unit.CreateTypeMemberOperation(IJavaElement parentElement, String source, boolean force) When executed, this operation will create a type member in the given parent element with the specified source.CreateTypeOperation(IJavaElement parentElement, String source, boolean force) When executed, this operation will create a type unit in the given parent element (a compilation unit, type)DeleteElementsOperation(IJavaElement[] elementsToDelete, boolean force) When executed, this operation will delete the given elements.protectedDeleteResourceElementsOperation(IJavaElement[] elementsToProcess, boolean force) When executed, this operation will delete the given elements.DiscardWorkingCopyOperation(IJavaElement workingCopy) InitializerWithChildrenInfo(IJavaElement[] children) JavaElementDelta(IJavaElement element) Creates the root delta.JavaElementDeltaBuilder(IJavaElement javaElement) Creates a java element comparator on a java element looking as deep as necessary.JavaElementDeltaBuilder(IJavaElement javaElement, int maxDepth) Creates a java element comparator on a java element looking only 'maxDepth' levels deep.protectedJavaModelOperation(IJavaElement element) Common constructor for all Java Model operations.protectedJavaModelOperation(IJavaElement[] elements) A common constructor for all Java Model operations.protectedJavaModelOperation(IJavaElement[] elements, boolean force) A common constructor for all Java Model operations.protectedJavaModelOperation(IJavaElement[] elementsToProcess, IJavaElement[] parentElements) Common constructor for all Java Model operations.protectedJavaModelOperation(IJavaElement[] elementsToProcess, IJavaElement[] parentElements, boolean force) A common constructor for all Java Model operations.JavaModelStatus(int severity, int code, IJavaElement element, org.eclipse.core.runtime.IPath path, String msg) Constructs an Java model status with the given corresponding element and pathJavaModelStatus(int code, IJavaElement element) Constructs an Java model status with the given corresponding element.JavaModelStatus(int code, IJavaElement[] elements) Constructs an Java model status with the given corresponding elements.JavaModelStatus(int code, IJavaElement element, String string) Constructs an Java model status with the given corresponding element and stringJavaModelStatus(int code, IJavaElement element, org.eclipse.core.runtime.IPath path) Constructs an Java model status with the given corresponding element and pathJavaModelStatus(int code, IJavaElement element, org.eclipse.core.runtime.IPath path, String string) Constructs an Java model status with the given corresponding element, path and stringKey(IJavaElement element) LocalVariableElementKey(IJavaElement method, String name) MoveElementsOperation(IJavaElement[] elementsToMove, IJavaElement[] destContainers, boolean force) When executed, this operation will move the given elements to the given containers.MoveResourceElementsOperation(IJavaElement[] elementsToMove, IJavaElement[] destContainers, boolean force) When executed, this operation will move the given elements to the given containers.protectedMultiOperation(IJavaElement[] elementsToProcess, boolean force) Creates a newMultiOperationonelementsToProcess.protectedMultiOperation(IJavaElement[] elementsToProcess, IJavaElement[] parentElements, boolean force) Creates a newMultiOperation.ReconcileWorkingCopyOperation(IJavaElement workingCopy, int astLevel, int reconcileFlags, WorkingCopyOwner workingCopyOwner) RenameElementsOperation(IJavaElement[] elements, IJavaElement[] destinations, String[] newNames, boolean force) When executed, this operation will rename the specified elements with the given names in the corresponding destinations.RenameResourceElementsOperation(IJavaElement[] elements, IJavaElement[] destinations, String[] newNames, boolean force) When executed, this operation will rename the specified elements with the given names in the corresponding destinations.SortElementsOperation(int level, IJavaElement[] elements, int[] positions, Comparator comparator) Constructor for SortElementsOperation.SourceConstructorWithChildrenInfo(IJavaElement[] children) SourceFieldWithChildrenInfo(IJavaElement[] children) SourceMethodWithChildrenInfo(IJavaElement[] children) Constructor parameters in org.aspectj.org.eclipse.jdt.internal.core with type arguments of type IJavaElementModifierConstructorDescriptionprotectedCompilationUnitStructureRequestor(ICompilationUnit unit, CompilationUnitElementInfo unitInfo, Map<IJavaElement, IElementInfo> newElements) DOMToModelPopulator(Map<IJavaElement, IElementInfo> newElements, CompilationUnit root, CompilationUnitElementInfo unitInfo) -
Uses of IJavaElement in org.aspectj.org.eclipse.jdt.internal.core.eval
Methods in org.aspectj.org.eclipse.jdt.internal.core.eval that return IJavaElementModifier and TypeMethodDescriptionEvaluationContextWrapper.codeSelect(String codeSnippet, int offset, int length) EvaluationContextWrapper.codeSelect(String codeSnippet, int offset, int length, WorkingCopyOwner owner) -
Uses of IJavaElement in org.aspectj.org.eclipse.jdt.internal.core.hierarchy
Methods in org.aspectj.org.eclipse.jdt.internal.core.hierarchy with parameters of type IJavaElementModifier and TypeMethodDescriptionprotected booleanRegionBasedTypeHierarchy.isAffectedByOpenable(IJavaElementDelta delta, IJavaElement element, int eventType) protected booleanTypeHierarchy.isAffectedByOpenable(IJavaElementDelta delta, IJavaElement element, int eventType) Returns true if the given type delta (a compilation unit delta or a class file delta) could affect this type hierarchy. -
Uses of IJavaElement in org.aspectj.org.eclipse.jdt.internal.core.nd.java.model
Methods in org.aspectj.org.eclipse.jdt.internal.core.nd.java.model with parameters of type IJavaElementModifier and TypeMethodDescriptionstatic org.eclipse.core.runtime.IPathBinaryTypeFactory.getLocationForElement(IJavaElement next) Returns the absolute filesystem location of the given element or the empty path if none -
Uses of IJavaElement in org.aspectj.org.eclipse.jdt.internal.core.search
Methods in org.aspectj.org.eclipse.jdt.internal.core.search with parameters of type IJavaElementModifier and TypeMethodDescriptionvoidJavaSearchScope.add(IJavaElement element) Add an element to the java search scope.static IJavaSearchScopeBasicSearchEngine.createJavaSearchScope(boolean excludeTestCode, IJavaElement[] elements) static IJavaSearchScopeBasicSearchEngine.createJavaSearchScope(boolean excludeTestCode, IJavaElement[] elements, boolean includeReferencedProjects) static IJavaSearchScopeBasicSearchEngine.createJavaSearchScope(boolean excludeTestCode, IJavaElement[] elements, int includeMask) static IJavaSearchScopeBasicSearchEngine.createJavaSearchScope(IJavaElement[] elements) static IJavaSearchScopeBasicSearchEngine.createJavaSearchScope(IJavaElement[] elements, boolean includeReferencedProjects) static IJavaSearchScopeBasicSearchEngine.createJavaSearchScope(IJavaElement[] elements, int includeMask) booleanHierarchyScope.encloses(IJavaElement element) booleanHierarchyScope.encloses(IJavaElement element, org.eclipse.core.runtime.IProgressMonitor progressMonitor) booleanJavaSearchScope.encloses(IJavaElement element) booleanJavaWorkspaceScope.encloses(IJavaElement element) booleanUnindexedSearchScope.encloses(IJavaElement element) booleanHierarchyScope.enclosesFineGrained(IJavaElement element) Optionally perform additional checks after element has already passed matching based on index/documents.voidBasicSearchEngine.searchDeclarations(IJavaElement enclosingElement, SearchRequestor requestor, SearchPattern pattern, org.eclipse.core.runtime.IProgressMonitor monitor) voidBasicSearchEngine.searchDeclarationsOfAccessedFields(IJavaElement enclosingElement, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) Searches for all declarations of the fields accessed in the given element.voidBasicSearchEngine.searchDeclarationsOfReferencedTypes(IJavaElement enclosingElement, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) Searches for all declarations of the types referenced in the given element.voidBasicSearchEngine.searchDeclarationsOfSentMessages(IJavaElement enclosingElement, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) Searches for all declarations of the methods invoked in the given element. -
Uses of IJavaElement in org.aspectj.org.eclipse.jdt.internal.core.search.matching
Fields in org.aspectj.org.eclipse.jdt.internal.core.search.matching declared as IJavaElementModifier and TypeFieldDescriptionprotected IJavaElementDeclarationOfAccessedFieldsPattern.enclosingElementprotected IJavaElementDeclarationOfReferencedMethodsPattern.enclosingElementprotected IJavaElementDeclarationOfReferencedTypesPattern.enclosingElementMethods in org.aspectj.org.eclipse.jdt.internal.core.search.matching that return IJavaElementModifier and TypeMethodDescriptionprotected IJavaElementMatchLocator.createHandle(AbstractMethodDeclaration method, IJavaElement parent) Creates an IMethod from the given method declaration and type.protected IJavaElementMatchLocator.createHandle(AbstractVariableDeclaration variableDeclaration, IJavaElement parent) Create an handle for a local variable declaration (may be a local variable or type parameter).protected IJavaElementMatchLocator.createHandle(Annotation annotation, IAnnotatable parent) Create an handle for a local variable declaration (may be a local variable or type parameter).protected IJavaElementMatchLocator.createHandle(FieldDeclaration fieldDeclaration, TypeDeclaration typeDeclaration, IJavaElement parent) Creates an IField from the given field declaration and type.protected IJavaElementMatchLocator.createHandle(LambdaExpression lambdaExpression, IJavaElement parent) Creates an IMethod from the given lambda declaration and type.protected IJavaElementMatchLocator.createImportHandle(ImportReference importRef) Creates an IImportDeclaration from the given import statementprotected IJavaElementMatchLocator.createPackageDeclarationHandle(CompilationUnitDeclaration unit) Creates an IImportDeclaration from the given import statementprotected IJavaElementTypeReferenceLocator.findElement(IJavaElement element, int accuracy) static IJavaElementMatchLocator.getProjectOrJar(IJavaElement element) static IJavaElementMatchLocator.projectOrJarFocus(SearchPattern pattern) Methods in org.aspectj.org.eclipse.jdt.internal.core.search.matching with parameters of type IJavaElementModifier and TypeMethodDescriptionprotected IJavaElementMatchLocator.createHandle(AbstractMethodDeclaration method, IJavaElement parent) Creates an IMethod from the given method declaration and type.protected IJavaElementMatchLocator.createHandle(AbstractVariableDeclaration variableDeclaration, IJavaElement parent) Create an handle for a local variable declaration (may be a local variable or type parameter).protected IJavaElementMatchLocator.createHandle(FieldDeclaration fieldDeclaration, TypeDeclaration typeDeclaration, IJavaElement parent) Creates an IField from the given field declaration and type.protected IJavaElementMatchLocator.createHandle(LambdaExpression lambdaExpression, IJavaElement parent) Creates an IMethod from the given lambda declaration and type.protected booleanMatchLocator.encloses(IJavaElement element) protected IJavaElementTypeReferenceLocator.findElement(IJavaElement element, int accuracy) static IJavaElementMatchLocator.getProjectOrJar(IJavaElement element) protected voidAndLocator.matchReportImportRef(ImportReference importRef, Binding binding, IJavaElement element, int accuracy, MatchLocator locator) protected voidOrLocator.matchReportImportRef(ImportReference importRef, Binding binding, IJavaElement element, int accuracy, MatchLocator locator) protected voidPackageReferenceLocator.matchReportImportRef(ImportReference importRef, Binding binding, IJavaElement element, int accuracy, MatchLocator locator) protected voidPatternLocator.matchReportImportRef(ImportReference importRef, Binding binding, IJavaElement element, int accuracy, MatchLocator locator) Reports the match of the given import reference.protected voidTypeReferenceLocator.matchReportImportRef(ImportReference importRef, Binding binding, IJavaElement element, int accuracy, MatchLocator locator) protected voidAndLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator) protected voidAndLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) protected voidConstructorLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) protected voidFieldLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator) protected voidFieldLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) protected voidLocalVariableLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) protected voidMethodLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator) protected voidMethodLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) protected voidModuleLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator) protected voidModuleLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) protected voidOrLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator) protected voidOrLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) protected voidPackageReferenceLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator) protected voidPackageReferenceLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) protected voidPatternLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator) Reports the match of the given reference.protected voidPatternLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) Reports the match of the given reference.protected voidSuperTypeReferenceLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) protected voidTypeReferenceLocator.matchReportReference(ArrayTypeReference arrayRef, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) protected voidTypeReferenceLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator) Reports the match of the given reference.protected voidTypeReferenceLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) Reports the match of the given reference.protected voidTypeReferenceLocator.matchReportReference(QualifiedNameReference qNameRef, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) protected voidTypeReferenceLocator.matchReportReference(QualifiedTypeReference qTypeRef, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) ConstructorLocator.newDeclarationMatch(ASTNode reference, IJavaElement element, Binding binding, int accuracy, int length, MatchLocator locator) MatchLocator.newDeclarationMatch(IJavaElement element, Binding binding, int accuracy, int offset, int length) MatchLocator.newDeclarationMatch(IJavaElement element, Binding binding, int accuracy, int offset, int length, boolean overrideRangeFromMethod) MatchLocator.newDeclarationMatch(IJavaElement element, Binding binding, int accuracy, int offset, int length, SearchParticipant participant, org.eclipse.core.resources.IResource resource) MethodLocator.newDeclarationMatch(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, int length, MatchLocator locator) ModuleLocator.newDeclarationMatch(ASTNode node, IJavaElement element, Binding elementBinding, int accuracy, int length, MatchLocator locator) OrLocator.newDeclarationMatch(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, int length, MatchLocator locator) PatternLocator.newDeclarationMatch(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, int length, MatchLocator locator) MatchLocator.newFieldReferenceMatch(IJavaElement enclosingElement, IJavaElement localElement, Binding enclosingBinding, int accuracy, int offset, int length, ASTNode reference) MatchLocator.newLocalVariableReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, ASTNode reference) MatchLocator.newMethodReferenceMatch(IJavaElement enclosingElement, Binding enclosingBinding, int accuracy, int offset, int length, boolean isConstructor, boolean isSynthetic, ASTNode reference) MatchLocator.newModuleReferenceMatch(IJavaElement enclosingElement, Binding enclosingBinding, int accuracy, int offset, int length, ASTNode reference) MatchLocator.newModuleReferenceMatch(IJavaElement enclosingElement, Binding enclosingBinding, int accuracy, ASTNode reference) MatchLocator.newPackageReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, ASTNode reference) MatchLocator.newTypeParameterReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, ASTNode reference) MatchLocator.newTypeReferenceMatch(IJavaElement enclosingElement, Binding enclosingBinding, int accuracy, int offset, int length, ASTNode reference) MatchLocator.newTypeReferenceMatch(IJavaElement enclosingElement, Binding enclosingBinding, int accuracy, ASTNode reference) protected voidTypeReferenceLocator.reportDeclaration(ASTNode reference, IJavaElement element, MatchLocator locator, SimpleSet knownTypes) protected voidMatchLocator.reportMatching(AbstractMethodDeclaration method, TypeDeclaration type, IJavaElement parent, int accuracy, boolean typeInHierarchy, MatchingNodeSet nodeSet) Visit the given method declaration and report the nodes that match exactly the search pattern (i.e.protected voidMatchLocator.reportMatching(Annotation[] annotations, IJavaElement enclosingElement, IJavaElement[] otherElements, Binding elementBinding, MatchingNodeSet nodeSet, boolean matchedContainer, boolean enclosesElement) Report matching in annotations.protected voidMatchLocator.reportMatching(FieldDeclaration field, FieldDeclaration[] otherFields, TypeDeclaration type, IJavaElement parent, int accuracy, boolean typeInHierarchy, MatchingNodeSet nodeSet) Visit the given field declaration and report the nodes that match exactly the search pattern (i.e.protected voidMatchLocator.reportMatching(LambdaExpression lambdaExpression, IJavaElement parent, int accuracy, MatchingNodeSet nodeSet, boolean typeInHierarchy) protected voidMatchLocator.reportMatching(ModuleDeclaration module, IJavaElement parent, int accuracy, MatchingNodeSet nodeSet, int occurrenceCount) Visit the given module declaration and report the nodes that match exactly the search pattern (i.e.protected voidMatchLocator.reportMatching(TypeDeclaration type, IJavaElement parent, int accuracy, MatchingNodeSet nodeSet, int occurrenceCount) Visit the given type declaration and report the nodes that match exactly the search pattern (i.e.protected voidMatchLocator.reportMatching(TypeParameter[] typeParameters, IJavaElement enclosingElement, IJavaElement parent, Binding binding, MatchingNodeSet nodeSet) Report matches in type parameters.protected voidMatchLocator.reportMatchingSuperOrPermit(TypeReference superReference, IJavaElement enclosingElement, Binding elementBinding, MatchingNodeSet nodeSet, boolean matchedClassContainer) static voidMatchLocator.setFocus(SearchPattern pattern, IJavaElement focus) Constructors in org.aspectj.org.eclipse.jdt.internal.core.search.matching with parameters of type IJavaElementModifierConstructorDescriptionDeclarationOfAccessedFieldsPattern(IJavaElement enclosingElement) DeclarationOfReferencedMethodsPattern(IJavaElement enclosingElement) DeclarationOfReferencedTypesPattern(IJavaElement enclosingElement) -
Uses of IJavaElement in org.aspectj.org.eclipse.jdt.internal.core.util
Fields in org.aspectj.org.eclipse.jdt.internal.core.util declared as IJavaElementMethods in org.aspectj.org.eclipse.jdt.internal.core.util that return IJavaElementModifier and TypeMethodDescriptionHandleFactory.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.static IJavaElement[]Util.sortCopy(IJavaElement[] elements) Sorts an array of Java elements based on their toStringWithAncestors(), returning a new array with the sorted items.Methods in org.aspectj.org.eclipse.jdt.internal.core.util with parameters of type IJavaElementModifier and TypeMethodDescriptionstatic final booleanUtil.isExcluded(IJavaElement element) protected voidHandleFactory.resolveDuplicates(IJavaElement handle) static IJavaElement[]Util.sortCopy(IJavaElement[] elements) Sorts an array of Java elements based on their toStringWithAncestors(), returning a new array with the sorted items.
ICompilationUnit.findElements(IJavaElement)instead.