Uses of Interface
org.eclipse.jdt.core.IJavaElement

Packages that use IJavaElement
org.eclipse.jdt.core The Java model is the set of classes that model the objects associated with creating, editing, and building a Java program. 
org.eclipse.jdt.core.dom The Java DOM/AST is the set of classes that model the source code of a Java program as a structured document. 
org.eclipse.jdt.core.eval Provides support for the evaluation of code snippets in a scrapbook or inside the debugger. 
org.eclipse.jdt.core.jdom Provides a support for Java document manipulation through the JDOM model. 
org.eclipse.jdt.core.search Provides support for searching the workspace Java elements that match a particular description. 
org.eclipse.jdt.core.tests.model   
org.eclipse.jdt.internal.codeassist   
org.eclipse.jdt.internal.codeassist.impl   
org.eclipse.jdt.internal.core   
org.eclipse.jdt.internal.core.eval   
org.eclipse.jdt.internal.core.search   
org.eclipse.jdt.internal.core.search.matching   
org.eclipse.jdt.internal.core.util   
org.jmlspecs.eclipse.jdt.ui   
 

Uses of IJavaElement in org.eclipse.jdt.core
 

Subinterfaces of IJavaElement in org.eclipse.jdt.core
 interface IAnnotation
          Represents an annotation on a package declaration, a type, a method, a field or a local variable in a compilation unit or a class file.
 interface IClassFile
          Represents an entire binary type (single .class file).
 interface ICompilationUnit
          Represents an entire Java compilation unit (source file with one of the Java-like extensions).
 interface IField
          Represents a field declared in a type.
 interface IImportContainer
          Represents an import container is a child of a Java compilation unit that contains all (and only) the import declarations.
 interface IImportDeclaration
          Represents an import declaration in Java compilation unit.
 interface IInitializer
          Represents a stand-alone instance or class (static) initializer in a type.
 interface IJavaModel
          Represent the root Java element corresponding to the workspace.
 interface IJavaProject
          A Java project represents a view of a project resource in terms of Java elements such as package fragments, types, methods and fields.
 interface ILocalVariable
          Represents a local variable declared in a method or an initializer.
 interface IMember
          Common protocol for Java elements that can be members of types.
 interface IMethod
          Represents a method (or constructor) declared in a type.
 interface IPackageDeclaration
          Represents a package declaration in Java compilation unit.
 interface IPackageFragment
          A package fragment is a portion of the workspace corresponding to an entire package, or to a portion thereof.
 interface IPackageFragmentRoot
          A package fragment root contains a set of package fragments.
 interface IType
          Represents either a source type in a compilation unit (either a top-level type, a member type, a local type or an anonymous type) or a binary type in a class file.
 interface ITypeParameter
          Represents a type parameter defined by a type or a method in a compilation unit or a class file.
 interface ITypeRoot
          Represents an entire Java type root (either an ICompilationUnit or an IClassFile).
 

Methods in org.eclipse.jdt.core that return IJavaElement
 IJavaElement[] ICodeAssist.codeSelect(int offset, int length)
          Returns the Java elements corresponding to the given selected text in this compilation unit.
 IJavaElement[] ICodeAssist.codeSelect(int offset, int length, WorkingCopyOwner owner)
          Returns the Java elements corresponding to the given selected text in this compilation unit.
static IJavaElement JavaCore.create(IFile file)
          Returns the Java element corresponding to the given file, or null if unable to associate the given file with a Java element.
static IJavaElement JavaCore.create(IFolder folder)
          Returns the package fragment or package fragment root corresponding to the given folder, or null if unable to associate the given folder with a Java element.
static IJavaElement JavaCore.create(IResource resource)
          Returns the Java element corresponding to the given resource, or null if unable to associate the given resource with a Java element.
static IJavaElement JavaCore.create(IResource resource, IJavaProject project)
          Returns the Java element corresponding to the given file, its project being the given project.
static IJavaElement JavaCore.create(java.lang.String handleIdentifier)
          Returns the Java model element corresponding to the given handle identifier generated by IJavaElement.getHandleIdentifier(), or null if unable to create the associated element.
static IJavaElement JavaCore.create(java.lang.String handleIdentifier, WorkingCopyOwner owner)
          Returns the Java model element corresponding to the given handle identifier generated by IJavaElement.getHandleIdentifier(), or null if unable to create the associated element.
 IJavaElement IJavaProject.findElement(org.eclipse.core.runtime.IPath path)
          Returns the IJavaElement corresponding to the given classpath-relative path, or null if no such IJavaElement is found.
 IJavaElement IJavaProject.findElement(org.eclipse.core.runtime.IPath path, WorkingCopyOwner owner)
          Returns the IJavaElement corresponding to the given classpath-relative path, or null if no such IJavaElement is found.
 IJavaElement IJavaProject.findElement(java.lang.String bindingKey, WorkingCopyOwner owner)
          Finds the Java element corresponding to the given binding key if any, else returns null.
 IJavaElement[] IWorkingCopy.findElements(IJavaElement element)
          Deprecated. Use ICompilationUnit.findElements(IJavaElement) instead.
 IJavaElement[] ICompilationUnit.findElements(IJavaElement element)
          Finds the elements in this compilation unit that correspond to the given element.
 IJavaElement IWorkingCopy.findSharedWorkingCopy(IBufferFactory bufferFactory)
          Deprecated. Use ICompilationUnit.findWorkingCopy(WorkingCopyOwner) instead.
 IJavaElement IJavaElement.getAncestor(int ancestorType)
          Returns the first ancestor of this Java element that has the given type.
 IJavaElement[] IParent.getChildren()
          Returns the immediate children of this element.
 IJavaElement[] IType.getChildrenForCategory(java.lang.String category)
          Returns the children of this type that have the given category as a @category tag.
 IJavaElement IJavaElementDelta.getElement()
          Returns the element that this delta describes a change to.
 IJavaElement 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.), or null if 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.
 IJavaElement[] IRegion.getElements()
          Returns the top level elements in this region.
 IJavaElement[] 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.
 IJavaElement CompletionContext.getEnclosingElement()
          Returns the innermost enclosing Java element which contains the completion location or null if this element cannot be computed.
 IJavaElement IJavaElementDelta.getMovedFromElement()
          Returns an element describing this element before it was moved to its current location, or null if the IJavaElementDelta.F_MOVED_FROM change flag is not set.
 IJavaElement IJavaElementDelta.getMovedToElement()
          Returns an element describing this element in its new location, or null if the IJavaElementDelta.F_MOVED_TO change flag is not set.
 IJavaElement IWorkingCopy.getOriginal(IJavaElement workingCopyElement)
          Deprecated. Use getPrimaryElement() instead.
 IJavaElement IWorkingCopy.getOriginalElement()
          Deprecated. Use getPrimaryElement() instead.
 IJavaElement IJavaElement.getParent()
          Returns the element directly containing this element, or null if this element has no parent.
 IJavaElement 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.
 IJavaElement IWorkingCopy.getSharedWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor, IBufferFactory factory, IProblemRequestor problemRequestor)
          Deprecated. Use ICompilationUnit.getWorkingCopy(WorkingCopyOwner, IProblemRequestor, IProgressMonitor) instead.
 IJavaElement[] CompletionContext.getVisibleElements(java.lang.String typeSignature)
          Return the elements which are visible from the completion location and which can be assigned to the given type.
 IJavaElement IWorkingCopy.getWorkingCopy()
          Deprecated. Use ICompilationUnit.getWorkingCopy(IProgressMonitor) instead.
 IJavaElement IClassFile.getWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor, IBufferFactory factory)
          Deprecated. Use ITypeRoot.getWorkingCopy(WorkingCopyOwner, IProgressMonitor) instead
 IJavaElement IWorkingCopy.getWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor, IBufferFactory factory, IProblemRequestor problemRequestor)
          Deprecated. Use ICompilationUnit.getWorkingCopy(WorkingCopyOwner, IProblemRequestor, IProgressMonitor) instead.
 

Methods in org.eclipse.jdt.core with parameters of type IJavaElement
 void IRegion.add(IJavaElement element)
          Adds the given element and all of its descendents to this region.
static void JavaCore.addJavaElementMarkerAttributes(java.util.Map attributes, IJavaElement element)
          Configures the given marker attribute map for the given Java element.
 void JavaCore.configureJavaElementMarker(IMarker marker, IJavaElement element)
          Configures the given marker for the given Java element.
 boolean IRegion.contains(IJavaElement element)
          Returns whether the given element is contained in this region.
 void IJavaModel.copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor)
          Copies the given elements to the specified container(s).
 void IJavaModel.copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor)
          Copies the given elements to the specified container(s).
 void IJavaModel.copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor)
          Copies the given elements to the specified container(s).
 void ISourceManipulation.copy(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor)
          Copies this element to the given container.
 IField IType.createField(java.lang.String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
          Creates and returns a field in this type with the given contents.
 IImportDeclaration ICompilationUnit.createImport(java.lang.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.
 IImportDeclaration ICompilationUnit.createImport(java.lang.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.
 IInitializer IType.createInitializer(java.lang.String contents, IJavaElement sibling, org.eclipse.core.runtime.IProgressMonitor monitor)
          Creates and returns a static initializer in this type with the given contents.
 IMethod IType.createMethod(java.lang.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.
 IType IType.createType(java.lang.String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
          Creates and returns a type in this type with the given contents.
 IType ICompilationUnit.createType(java.lang.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.
 void IJavaModel.delete(IJavaElement[] elements, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
          Deletes the given elements, forcing the operation if necessary and specified.
 IJavaElement[] IWorkingCopy.findElements(IJavaElement element)
          Deprecated. Use ICompilationUnit.findElements(IJavaElement) instead.
 IJavaElement[] ICompilationUnit.findElements(IJavaElement element)
          Finds the elements in this compilation unit that correspond to the given element.
 IJavaElement IWorkingCopy.getOriginal(IJavaElement workingCopyElement)
          Deprecated. Use getPrimaryElement() instead.
 boolean IJavaProject.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 boolean JavaCore.isReferencedBy(IJavaElement element, IMarker marker)
          Returns whether the given marker references the given Java element.
static boolean JavaCore.isReferencedBy(IJavaElement element, IMarkerDelta markerDelta)
          Returns whether the given marker delta references the given Java element.
 void IJavaModel.move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor)
          Moves the given elements to the specified container(s).
 void IJavaModel.move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor)
          Moves the given elements to the specified container(s).
 void IJavaModel.move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor)
          Moves the given elements to the specified container(s).
 void ISourceManipulation.move(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor)
          Moves this element to the given container.
 void IJavaModel.refreshExternalArchives(IJavaElement[] elementsScope, org.eclipse.core.runtime.IProgressMonitor monitor)
          Triggers an update of the JavaModel with respect to the referenced external archives.
 boolean IRegion.remove(IJavaElement element)
          Removes the specified element from the region and returns true if successful, false if the remove fails.
 void IJavaModel.rename(IJavaElement[] elements, IJavaElement[] destinations, java.lang.String[] names, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor)
          Renames the given elements as specified.
 void IJavaModel.rename(IJavaElement[] elements, IJavaElement[] destinations, java.lang.String[] names, boolean replace, org.eclipse.core.runtime.IProgressMonitor monitor)
          Renames the given elements as specified.
 

Uses of IJavaElement in org.eclipse.jdt.core.dom
 

Methods in org.eclipse.jdt.core.dom that return IJavaElement
 IJavaElement IBinding.getJavaElement()
          Returns the Java element that corresponds to this binding.
 IJavaElement CompilationUnit.getJavaElement()
          The Java element (an org.eclipse.jdt.core.ICompilationUnit or an org.eclipse.jdt.core.IClassFile) this compilation unit was created from, or null if it was not created from a Java element.
 

Methods in org.eclipse.jdt.core.dom with parameters of type IJavaElement
 IBinding[] ASTParser.createBindings(IJavaElement[] elements, org.eclipse.core.runtime.IProgressMonitor monitor)
          Creates bindings for a batch of Java elements.
 

Uses of IJavaElement in org.eclipse.jdt.core.eval
 

Methods in org.eclipse.jdt.core.eval that return IJavaElement
 IJavaElement[] IEvaluationContext.codeSelect(java.lang.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.
 IJavaElement[] IEvaluationContext.codeSelect(java.lang.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.eclipse.jdt.core.jdom
 

Methods in org.eclipse.jdt.core.jdom that return IJavaElement
 IJavaElement IDOMNode.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.eclipse.jdt.core.jdom with parameters of type IJavaElement
 IJavaElement IDOMNode.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.eclipse.jdt.core.search
 

Methods in org.eclipse.jdt.core.search that return IJavaElement
 IJavaElement ReferenceMatch.getLocalElement()
          Returns the local element of this search match, or null if none.
 IJavaElement[] TypeReferenceMatch.getOtherElements()
          Returns other elements also enclosing the type reference.
 

Methods in org.eclipse.jdt.core.search with parameters of type IJavaElement
 void IJavaSearchResultCollector.accept(IResource resource, int start, int end, IJavaElement enclosingElement, int accuracy)
          Deprecated. Replaced by SearchRequestor.acceptSearchMatch(SearchMatch).
static IJavaSearchScope SearchEngine.createJavaSearchScope(IJavaElement[] elements)
          Returns a Java search scope limited to the given Java elements.
static IJavaSearchScope SearchEngine.createJavaSearchScope(IJavaElement[] elements, boolean includeReferencedProjects)
          Returns a Java search scope limited to the given Java elements.
static IJavaSearchScope SearchEngine.createJavaSearchScope(IJavaElement[] elements, int includeMask)
          Returns a Java search scope limited to the given Java elements.
static SearchPattern SearchPattern.createPattern(IJavaElement element, int limitTo)
          Returns a search pattern based on a given Java element.
static SearchPattern SearchPattern.createPattern(IJavaElement element, int limitTo, int matchRule)
          Returns a search pattern based on a given Java element.
static ISearchPattern SearchEngine.createSearchPattern(IJavaElement element, int limitTo)
          Deprecated. Use SearchPattern.createPattern(IJavaElement, int) instead.
 boolean IJavaSearchScope.encloses(IJavaElement element)
          Checks whether this scope encloses the given element.
 void SearchEngine.search(IWorkspace workspace, IJavaElement element, int limitTo, IJavaSearchScope scope, IJavaSearchResultCollector resultCollector)
          Deprecated. Use SearchEngine.search(SearchPattern, SearchParticipant[], IJavaSearchScope, SearchRequestor, IProgressMonitor) instead.
 void SearchEngine.searchDeclarationsOfAccessedFields(IJavaElement enclosingElement, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor)
          Searches for all declarations of the fields accessed in the given element.
 void SearchEngine.searchDeclarationsOfAccessedFields(IWorkspace workspace, IJavaElement enclosingElement, IJavaSearchResultCollector resultCollector)
          Deprecated. Use SearchEngine.searchDeclarationsOfAccessedFields(IJavaElement, SearchRequestor, IProgressMonitor) instead.
 void SearchEngine.searchDeclarationsOfReferencedTypes(IJavaElement enclosingElement, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor)
          Searches for all declarations of the types referenced in the given element.
 void SearchEngine.searchDeclarationsOfReferencedTypes(IWorkspace workspace, IJavaElement enclosingElement, IJavaSearchResultCollector resultCollector)
          Deprecated. Use SearchEngine.searchDeclarationsOfReferencedTypes(IJavaElement, SearchRequestor, IProgressMonitor) instead.
 void SearchEngine.searchDeclarationsOfSentMessages(IJavaElement enclosingElement, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor)
          Searches for all declarations of the methods invoked in the given element.
 void SearchEngine.searchDeclarationsOfSentMessages(IWorkspace workspace, IJavaElement enclosingElement, IJavaSearchResultCollector resultCollector)
          Deprecated. Use SearchEngine.searchDeclarationsOfSentMessages(IJavaElement, SearchRequestor, IProgressMonitor) instead.
 void TypeReferenceMatch.setLocalElement(IJavaElement localElement)
          Sets the local element of this search match.
 void TypeReferenceMatch.setOtherElements(IJavaElement[] otherElements)
          Sets the other elements of this search match.
 

Constructors in org.eclipse.jdt.core.search with parameters of type IJavaElement
FieldDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, 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, IResource resource)
          Creates a new field reference match.
LocalVariableDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, 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, IResource resource)
          Creates a new local variable reference match.
MethodDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, 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, 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, IResource resource)
          Creates a new method reference match.
MethodReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, IResource resource)
          Creates a new method reference match.
PackageDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, IResource resource)
          Creates a new package declaration match.
PackageReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, IResource resource)
          Creates a new package reference match.
ReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, IResource resource)
          Creates a new reference match.
SearchMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, IResource resource)
          Creates a new search match.
TypeDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, IResource resource)
          Creates a new type declaration match.
TypeParameterDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, IResource resource)
          Creates a new type parameter match.
TypeParameterReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, IResource resource)
          Creates a new field reference match.
TypeReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, IResource resource)
          Creates a new type reference match.
 

Uses of IJavaElement in org.eclipse.jdt.core.tests.model
 

Classes in org.eclipse.jdt.core.tests.model that implement IJavaElement
 class OverflowingCacheTests.OverflowingTestOpenable
          Simple implementation of IOpenable to test the ElementCache.
 

Methods in org.eclipse.jdt.core.tests.model that return IJavaElement
 IJavaElement CopyMoveTests.copyPositive(IJavaElement element, IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force)
          Copies the element to the container with optional rename and forcing.
 IJavaElement CopyMoveResourcesTests.copyPositive(IJavaElement element, IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force)
          Copies the element to the container with optional rename and forcing.
 IJavaElement CopyMoveTests.generateHandle(IJavaElement original, java.lang.String rename, IJavaElement container)
          Generates a new handle to the original element in its new container.
 IJavaElement OverflowingCacheTests.OverflowingTestOpenable.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner owner)
           
 

Methods in org.eclipse.jdt.core.tests.model with parameters of type IJavaElement
 void AbstractJavaModelTests.assertCreation(IJavaElement newElement)
          Ensures the element is present after creation.
 void AbstractJavaModelTests.assertCreation(IJavaElement[] newElements)
          Ensures the elements are present after creation.
 void AbstractJavaModelTests.assertDeletion(IJavaElement elementToDelete)
          Creates an operation to delete the given element, asserts the operation is successfull, and ensures the element is no longer present in the model.
 void AbstractJavaModelTests.assertDeletion(IJavaElement[] elementsToDelete)
          Creates an operation to delete the given elements, asserts the operation is successful, and ensures the elements are no longer present in the model.
 void CopyMoveTests.copyNegative(IJavaElement[] elements, IJavaElement[] destinations, IJavaElement[] siblings, java.lang.String[] renames, boolean force, int failureCode)
          Attempts to copy the elements with optional forcing.
 void CopyMoveTests.copyNegative(IJavaElement[] elements, IJavaElement[] destinations, IJavaElement[] siblings, java.lang.String[] renames, boolean force, int failureCode)
          Attempts to copy the elements with optional forcing.
 void CopyMoveTests.copyNegative(IJavaElement[] elements, IJavaElement[] destinations, IJavaElement[] siblings, java.lang.String[] renames, boolean force, int failureCode)
          Attempts to copy the elements with optional forcing.
 void CopyMoveTests.copyNegative(IJavaElement element, IJavaElement destination, IJavaElement sibling, java.lang.String rename, boolean force, int failureCode)
          Attempts to copy the element with optional forcing.
 IJavaElement CopyMoveTests.copyPositive(IJavaElement element, IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force)
          Copies the element to the container with optional rename and forcing.
 IJavaElement CopyMoveResourcesTests.copyPositive(IJavaElement element, IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force)
          Copies the element to the container with optional rename and forcing.
 void AbstractJavaModelTests.ensureCorrectPositioning(IParent container, IJavaElement sibling, IJavaElement positioned)
          Ensure that the positioned element is in the correct position within the parent.
 IJavaElement CopyMoveTests.generateHandle(IJavaElement original, java.lang.String rename, IJavaElement container)
          Generates a new handle to the original element in its new container.
 void CopyMoveTests.moveNegative(IJavaElement[] elements, IJavaElement[] destinations, IJavaElement[] siblings, java.lang.String[] renames, boolean force, int failureCode)
          Attempts to move the element with optional forcing.
 void CopyMoveTests.moveNegative(IJavaElement[] elements, IJavaElement[] destinations, IJavaElement[] siblings, java.lang.String[] renames, boolean force, int failureCode)
          Attempts to move the element with optional forcing.
 void CopyMoveTests.moveNegative(IJavaElement[] elements, IJavaElement[] destinations, IJavaElement[] siblings, java.lang.String[] renames, boolean force, int failureCode)
          Attempts to move the element with optional forcing.
 void CopyMoveTests.moveNegative(IJavaElement element, IJavaElement destination, IJavaElement sibling, java.lang.String rename, boolean force, int failureCode)
          Attempts to move the element with optional forcing.
 void CopyMoveTests.movePositive(IJavaElement[] elements, IJavaElement[] destinations, IJavaElement[] siblings, java.lang.String[] names, boolean force)
          Moves the elements to the containers with optional renaming and forcing.
 void CopyMoveTests.movePositive(IJavaElement[] elements, IJavaElement[] destinations, IJavaElement[] siblings, java.lang.String[] names, boolean force)
          Moves the elements to the containers with optional renaming and forcing.
 void CopyMoveTests.movePositive(IJavaElement[] elements, IJavaElement[] destinations, IJavaElement[] siblings, java.lang.String[] names, boolean force)
          Moves the elements to the containers with optional renaming and forcing.
 void CopyMoveTests.movePositive(IJavaElement[] elements, IJavaElement[] destinations, IJavaElement[] siblings, java.lang.String[] names, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
          Moves the elements to the containers with optional renaming and forcing.
 void CopyMoveTests.movePositive(IJavaElement[] elements, IJavaElement[] destinations, IJavaElement[] siblings, java.lang.String[] names, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
          Moves the elements to the containers with optional renaming and forcing.
 void CopyMoveTests.movePositive(IJavaElement[] elements, IJavaElement[] destinations, IJavaElement[] siblings, java.lang.String[] names, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
          Moves the elements to the containers with optional renaming and forcing.
 void CopyMoveResourcesTests.movePositive(IJavaElement[] elements, IJavaElement[] destinations, IJavaElement[] siblings, java.lang.String[] names, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
          Moves the elements to the containers with optional renaming and forcing.
 void CopyMoveResourcesTests.movePositive(IJavaElement[] elements, IJavaElement[] destinations, IJavaElement[] siblings, java.lang.String[] names, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
          Moves the elements to the containers with optional renaming and forcing.
 void CopyMoveResourcesTests.movePositive(IJavaElement[] elements, IJavaElement[] destinations, IJavaElement[] siblings, java.lang.String[] names, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
          Moves the elements to the containers with optional renaming and forcing.
 void CopyMoveTests.movePositive(IJavaElement element, IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force)
          Moves the element to the container with optional rename and forcing.
 void RenameTests.renameNegative(IJavaElement[] elements, java.lang.String[] renamings, boolean force, int failureCode)
          Attempts to rename the elements with optional forcing.
 void RenameTests.renameNegative(IJavaElement element, java.lang.String rename, boolean force, int failureCode)
          Attempts to rename the element with optional forcing.
 void RenameTests.renamePositive(IJavaElement[] elements, IJavaElement[] destinations, java.lang.String[] names, boolean force)
          Renames the element to the container with optional forcing.
 void RenameTests.renamePositive(IJavaElement[] elements, IJavaElement[] destinations, java.lang.String[] names, boolean force)
          Renames the element to the container with optional forcing.
 void RenameTests.renamePositive(IJavaElement[] elements, IJavaElement[] destinations, java.lang.String[] names, boolean force, boolean originalShouldExist)
          Renames the element to the container with optional forcing.
 void RenameTests.renamePositive(IJavaElement[] elements, IJavaElement[] destinations, java.lang.String[] names, boolean force, boolean originalShouldExist)
          Renames the element to the container with optional forcing.
 void RenameTests.renamePositive(IJavaElement[] elements, IJavaElement[] destinations, java.lang.String[] names, boolean force, boolean originalShouldExist, org.eclipse.core.runtime.IProgressMonitor monitor)
          Renames the element to the container with optional forcing.
 void RenameTests.renamePositive(IJavaElement[] elements, IJavaElement[] destinations, java.lang.String[] names, boolean force, boolean originalShouldExist, org.eclipse.core.runtime.IProgressMonitor monitor)
          Renames the element to the container with optional forcing.
 void RenameTests.renamePositive(IJavaElement[] elements, java.lang.String[] names, boolean force)
          Renames the element to the container with optional forcing.
 void RenameTests.renamePositive(IJavaElement element, java.lang.String rename, boolean force)
          Renames the element to the container with optional forcing.
 

Uses of IJavaElement in org.eclipse.jdt.internal.codeassist
 

Methods in org.eclipse.jdt.internal.codeassist that return IJavaElement
 IJavaElement InternalExtendedCompletionContext.getEnclosingElement()
           
 IJavaElement[] InternalExtendedCompletionContext.getVisibleElements(java.lang.String typeSignature)
           
 

Uses of IJavaElement in org.eclipse.jdt.internal.codeassist.impl
 

Classes in org.eclipse.jdt.internal.codeassist.impl that implement IJavaElement
 class AssistAnnotation
           
 class AssistCompilationUnit
           
 class AssistImportContainer
           
 class AssistImportDeclaration
           
 class AssistInitializer
           
 class AssistPackageDeclaration
           
 class AssistSourceField
           
 class AssistSourceMethod
           
 class AssistSourceType
           
 class AssistTypeParameter
           
 

Uses of IJavaElement in org.eclipse.jdt.internal.core
 

Classes in org.eclipse.jdt.internal.core that implement IJavaElement
 class Annotation
           
 class BinaryMember
          Common functionality for Binary member handles.
 class BinaryType
          Parent is an IClassFile.
 class ClassFile
           
 class ClassFileWorkingCopy
          A working copy on an IClassFile.
 class CompilationUnit
           
 class ExternalJavaProject
           
 class ExternalPackageFragmentRoot
          A package fragment root that corresponds to an external class folder.
 class ImportContainer
           
 class ImportDeclaration
          Handle for an import declaration.
 class Initializer
           
 class JarPackageFragmentRoot
          A package fragment root that corresponds to a .jar or .zip.
 class JavaElement
          Root of Java element handle hierarchy.
 class JavaModel
          Implementation of IJavaModel.
 class JavaProject
          Handle for a Java Project.
 class LocalVariable
           
 class Member
           
 class NamedMember
           
 class Openable
          Abstract class for implementations of java elements which are IOpenable.
 class PackageDeclaration
           
 class PackageFragment
           
 class PackageFragmentRoot
           
 class ResolvedBinaryField
          Handle representing a binary field that is resolved.
 class ResolvedBinaryMethod
          Handle representing a binary method that is resolved.
 class ResolvedBinaryType
          Handle representing a binary type that is resolved.
 class ResolvedSourceField
          Handle representing a source field that is resolved.
 class ResolvedSourceMethod
          Handle representing a source method that is resolved.
 class ResolvedSourceType
          Handle representing a source type that is resolved.
 class SourceField
           
 class SourceMethod
           
 class SourceRefElement
          Abstract class for Java elements which implement ISourceReference.
 class SourceType
          Handle for a source type.
 class TypeParameter
           
 

Methods in org.eclipse.jdt.internal.core that return IJavaElement
 IJavaElement[] ClassFile.codeSelect(int offset, int length)
           
 IJavaElement[] CompilationUnit.codeSelect(int offset, int length)
           
 IJavaElement[] ClassFile.codeSelect(int offset, int length, WorkingCopyOwner owner)
           
 IJavaElement[] CompilationUnit.codeSelect(int offset, int length, WorkingCopyOwner workingCopyOwner)
           
static IJavaElement JavaModelManager.create(IFile file, IJavaProject project)
          Returns the Java element corresponding to the given file, its project being the given project.
static IJavaElement JavaModelManager.create(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 IJavaElement JavaModelManager.create(IResource resource, IJavaProject project)
          Returns the Java element corresponding to the given resource, or null if unable to associate the given resource with a Java element.
static IJavaElement JavaModelManager.determineIfOnClasspath(IResource resource, IJavaProject project)
          Returns the package fragment root represented by the resource, or the package fragment the given resource is located in, or null if the given resource is not on the classpath of the given project.
 IJavaElement JavaProject.findElement(org.eclipse.core.runtime.IPath path)
           
 IJavaElement JavaProject.findElement(org.eclipse.core.runtime.IPath path, WorkingCopyOwner owner)
           
 IJavaElement JavaProject.findElement(java.lang.String bindingKey, WorkingCopyOwner owner)
           
 IJavaElement[] CompilationUnit.findElements(IJavaElement element)
           
 IJavaElement JavaProject.findPackageFragment(java.lang.String packageName)
           
 IJavaElement CompilationUnit.findSharedWorkingCopy(IBufferFactory factory)
          Deprecated.  
 IJavaElement JavaElement.getAncestor(int ancestorType)
           
 IJavaElement[] JavaElement.getChildren()
           
 IJavaElement[] BinaryType.getChildren()
           
 IJavaElement[] JavaElementInfo.getChildren()
           
 IJavaElement[] SourceType.getChildrenForCategory(java.lang.String category)
           
 IJavaElement[] BinaryType.getChildrenForCategory(java.lang.String category)
           
 IJavaElement JavaElementDelta.getElement()
           
 IJavaElement ClassFile.getElementAt(int position)
           
 IJavaElement CompilationUnit.getElementAt(int position)
           
 IJavaElement ClassFile.getElementAtConsideringSibling(int position)
           
 IJavaElement[] JavaModelStatus.getElements()
           
 IJavaElement[] Region.getElements()
           
 IJavaElement[] SelectionRequestor.getElements()
          Returns the resolved elements.
 IJavaElement JavaModelManager.getExistingElement(IJavaElement element)
          Returns the existing element in the cache that is equal to the given element.
 IJavaElement JavaModelCache.getExistingElement(IJavaElement element)
           
 IJavaElement JavaElement.getHandleFromMemento(MementoTokenizer memento, WorkingCopyOwner owner)
           
 IJavaElement ClassFile.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner owner)
           
 IJavaElement SourceType.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner)
           
 IJavaElement LocalVariable.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner owner)
           
abstract  IJavaElement JavaElement.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner owner)
           
 IJavaElement Member.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner)
           
 IJavaElement BinaryType.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner)
           
 IJavaElement ImportContainer.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner)
           
 IJavaElement PackageFragment.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner owner)
           
 IJavaElement PackageFragmentRoot.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner owner)
           
 IJavaElement CompilationUnit.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner)
           
 IJavaElement SourceRefElement.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner)
           
 IJavaElement JavaModel.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner owner)
           
 IJavaElement JavaProject.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner owner)
           
 IJavaElement SourceRefElement.getHandleUpdatingCountFromMemento(MementoTokenizer memento, WorkingCopyOwner owner)
           
 IJavaElement JavaElementDelta.getMovedFromElement()
           
 IJavaElement JavaElementDelta.getMovedToElement()
           
 IJavaElement CompilationUnit.getOriginal(IJavaElement workingCopyElement)
          Deprecated.  
 IJavaElement CompilationUnit.getOriginalElement()
          Deprecated.  
 IJavaElement JavaElement.getParent()
           
 IJavaElement JavaElement.getPrimaryElement()
           
 IJavaElement SourceType.getPrimaryElement(boolean checkOwner)
           
 IJavaElement Initializer.getPrimaryElement(boolean checkOwner)
           
 IJavaElement ImportDeclaration.getPrimaryElement(boolean checkOwner)
           
 IJavaElement JavaElement.getPrimaryElement(boolean checkOwner)
           
 IJavaElement SourceField.getPrimaryElement(boolean checkOwner)
           
 IJavaElement ImportContainer.getPrimaryElement(boolean checkOwner)
           
 IJavaElement CompilationUnit.getPrimaryElement(boolean checkOwner)
           
 IJavaElement PackageDeclaration.getPrimaryElement(boolean checkOwner)
           
 IJavaElement SourceMethod.getPrimaryElement(boolean checkOwner)
           
 IJavaElement ClassFileWorkingCopy.getPrimaryElement(boolean checkOwner)
           
 IJavaElement[] JavaModelOperation.getResultElements()
          Returns the elements created by this operation.
 IJavaElement CompilationUnit.getSharedWorkingCopy(org.eclipse.core.runtime.IProgressMonitor pm, IBufferFactory factory, IProblemRequestor problemRequestor)
          Deprecated.  
 IJavaElement CompilationUnit.getWorkingCopy()
          Deprecated.  
 IJavaElement ClassFile.getWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor, IBufferFactory factory)
          Deprecated.  
 IJavaElement CompilationUnit.getWorkingCopy(org.eclipse.core.runtime.IProgressMonitor monitor, IBufferFactory factory, IProblemRequestor problemRequestor)
          Deprecated.  
 

Methods in org.eclipse.jdt.internal.core with parameters of type IJavaElement
 void Region.add(IJavaElement element)
           
 void JavaElementInfo.addChild(IJavaElement child)
           
 void JavaElementDelta.added(IJavaElement element)
          Creates the nested deltas resulting from an add operation.
 void JavaElementDelta.added(IJavaElement element, int flags)
           
 void DeltaProcessingState.addForRefresh(IJavaElement externalElement)
           
 JavaElementDelta JavaElementDelta.changed(IJavaElement element, int changeFlag)
          Creates the nested deltas resulting from a change operation.
 void DeltaProcessor.checkExternalArchiveChanges(IJavaElement[] elementsScope, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void JavaElementDelta.closed(IJavaElement element)
          Creates the nested deltas for a closed element.
 boolean Region.contains(IJavaElement element)
           
 void JavaModel.copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void JavaModel.copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void JavaModel.copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void PackageFragment.copy(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void BinaryMember.copy(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void CompilationUnit.copy(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void SourceRefElement.copy(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void CreateElementInCUOperation.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 if null.
 void CreateElementInCUOperation.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 if null.
 IField SourceType.createField(java.lang.String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 IField BinaryType.createField(java.lang.String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 IImportDeclaration CompilationUnit.createImport(java.lang.String importName, IJavaElement sibling, int flags, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 IImportDeclaration CompilationUnit.createImport(java.lang.String importName, IJavaElement sibling, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 IInitializer SourceType.createInitializer(java.lang.String contents, IJavaElement sibling, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 IInitializer BinaryType.createInitializer(java.lang.String contents, IJavaElement sibling, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 IMethod SourceType.createMethod(java.lang.String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 IMethod BinaryType.createMethod(java.lang.String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 IType SourceType.createType(java.lang.String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 IType BinaryType.createType(java.lang.String contents, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 IType CompilationUnit.createType(java.lang.String content, IJavaElement sibling, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void JavaModel.delete(IJavaElement[] elements, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 IJavaElement[] CompilationUnit.findElements(IJavaElement element)
           
 IJavaElement JavaModelManager.getExistingElement(IJavaElement element)
          Returns the existing element in the cache that is equal to the given element.
 IJavaElement JavaModelCache.getExistingElement(IJavaElement element)
           
 java.lang.Object JavaModelManager.getInfo(IJavaElement element)
          Returns the info for the element.
 java.lang.Object JavaModelCache.getInfo(IJavaElement element)
          Returns the info for the element.
 SourceRange 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.
 IJavaElement CompilationUnit.getOriginal(IJavaElement workingCopyElement)
          Deprecated.  
 SourceRange SourceMapper.getSourceRange(IJavaElement element)
          Returns the SourceRange for the given element, or {-1, -1} if no source range is known for the element.
 boolean JavaElement.isAncestorOf(IJavaElement e)
          Returns true if this element is an ancestor of the given element, otherwise false.
 boolean JavaProject.isOnClasspath(IJavaElement element)
           
 boolean ExternalJavaProject.isOnClasspath(IJavaElement element)
           
 ISourceRange SourceMapper.mapSource(IType type, char[] contents, IBinaryType info, IJavaElement elementToFind)
          Maps the given source code to the given binary type and its children.
 void JavaModel.move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void JavaModel.move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void JavaModel.move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void PackageFragment.move(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void BinaryMember.move(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void CompilationUnit.move(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void SourceRefElement.move(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void JavaElementDelta.movedFrom(IJavaElement movedFromElement, IJavaElement movedToElement)
          Creates the nested deltas resulting from an move operation.
 void JavaElementDelta.movedTo(IJavaElement movedToElement, IJavaElement movedFromElement)
          Creates the nested deltas resulting from an move operation.
 void JavaElementDelta.opened(IJavaElement element)
          Creates the nested deltas for an opened element.
 void JavaModel.refreshExternalArchives(IJavaElement[] elementsScope, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 boolean Region.remove(IJavaElement element)
           
 void JavaElementInfo.removeChild(IJavaElement child)
           
 void JavaElementDelta.removed(IJavaElement element)
          Creates the nested deltas resulting from an delete operation.
 void JavaElementDelta.removed(IJavaElement element, int flags)
           
 void JavaModel.rename(IJavaElement[] elements, IJavaElement[] destinations, java.lang.String[] renamings, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void JavaModel.rename(IJavaElement[] elements, IJavaElement[] destinations, java.lang.String[] renamings, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void JavaElementInfo.setChildren(IJavaElement[] children)
           
 void MultiOperation.setInsertBefore(IJavaElement modifiedElement, IJavaElement newSibling)
          Sets the insertion position in the new container for the modified element.
 void JavaElementDelta.sourceAttached(IJavaElement element)
          Creates the nested deltas resulting from a change operation.
 void JavaElementDelta.sourceDetached(IJavaElement element)
          Creates the nested deltas resulting from a change operation.
 

Constructors in org.eclipse.jdt.internal.core with parameters of type IJavaElement
BasicCompilationUnit(char[] contents, char[][] packageName, java.lang.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[] 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.
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.
CopyResourceElementsOperation(IJavaElement[] resourcesToCopy, IJavaElement[] destContainers, boolean force)
          When executed, this operation will copy the given resources to the given containers.
CopyResourceElementsOperation(IJavaElement[] resourcesToCopy, IJavaElement destContainer, boolean force)
          When executed, this operation will copy the given resources to the given container.
CopyResourceElementsOperation(IJavaElement[] resourcesToCopy, IJavaElement destContainer, boolean force)
          When executed, this operation will copy the given resources to the given container.
CreateElementInCUOperation(IJavaElement parentElement)
          Constructs an operation that creates a Java Language Element with the specified parent, contained within a compilation unit.
CreateTypeMemberOperation(IJavaElement parentElement, java.lang.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, java.lang.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.
DiscardWorkingCopyOperation(IJavaElement workingCopy)
           
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.
JavaModelStatus(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, org.eclipse.core.runtime.IPath path)
          Constructs an Java model status with the given corresponding element and path
JavaModelStatus(int code, IJavaElement element, org.eclipse.core.runtime.IPath path, java.lang.String string)
          Constructs an Java model status with the given corresponding element, path and string
JavaModelStatus(int code, IJavaElement element, java.lang.String string)
          Constructs an Java model status with the given corresponding element and string
JavaModelStatus(int severity, int code, IJavaElement element, org.eclipse.core.runtime.IPath path, java.lang.String msg)
          Constructs an Java model status with the given corresponding element and path
MoveElementsOperation(IJavaElement[] elementsToMove, IJavaElement[] destContainers, boolean force)
          When executed, this operation will move the given elements to the given containers.
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.
MoveResourceElementsOperation(IJavaElement[] elementsToMove, IJavaElement[] destContainers, boolean force)
          When executed, this operation will move the given elements to the given containers.
ReconcileWorkingCopyOperation(IJavaElement workingCopy, int astLevel, int reconcileFlags, WorkingCopyOwner workingCopyOwner)
           
RenameElementsOperation(IJavaElement[] elements, IJavaElement[] destinations, java.lang.String[] newNames, boolean force)
          When executed, this operation will rename the specified elements with the given names in the corresponding destinations.
RenameElementsOperation(IJavaElement[] elements, IJavaElement[] destinations, java.lang.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, java.lang.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, java.lang.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, java.util.Comparator comparator)
          Constructor for SortElementsOperation.
 

Uses of IJavaElement in org.eclipse.jdt.internal.core.eval
 

Methods in org.eclipse.jdt.internal.core.eval that return IJavaElement
 IJavaElement[] EvaluationContextWrapper.codeSelect(java.lang.String codeSnippet, int offset, int length)
           
 IJavaElement[] EvaluationContextWrapper.codeSelect(java.lang.String codeSnippet, int offset, int length, WorkingCopyOwner owner)
           
 

Uses of IJavaElement in org.eclipse.jdt.internal.core.search
 

Methods in org.eclipse.jdt.internal.core.search with parameters of type IJavaElement
 void JavaSearchScope.add(IJavaElement element)
          Add an element to the java search scope.
static boolean IndexSelector.canSeeFocus(IJavaElement focus, boolean isPolymorphicSearch, org.eclipse.core.runtime.IPath projectOrJarPath)
          Returns whether elements of the given project or jar can see the given focus (an IJavaProject or a JarPackageFragmentRot) either because the focus is part of the project or the jar, or because it is accessible throught the project's classpath
static boolean IndexSelector.canSeeFocus(IJavaElement focus, JavaProject javaProject, IClasspathEntry[] focusEntriesForPolymorphicSearch)
           
static IJavaSearchScope BasicSearchEngine.createJavaSearchScope(IJavaElement[] elements)
           
static IJavaSearchScope BasicSearchEngine.createJavaSearchScope(IJavaElement[] elements, boolean includeReferencedProjects)
           
static IJavaSearchScope BasicSearchEngine.createJavaSearchScope(IJavaElement[] elements, int includeMask)
           
 boolean JavaWorkspaceScope.encloses(IJavaElement element)
           
 boolean JavaSearchScope.encloses(IJavaElement element)
           
 boolean HierarchyScope.encloses(IJavaElement element)
           
 void BasicSearchEngine.searchDeclarations(IJavaElement enclosingElement, SearchRequestor requestor, SearchPattern pattern, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void BasicSearchEngine.searchDeclarationsOfAccessedFields(IJavaElement enclosingElement, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor)
          Searches for all declarations of the fields accessed in the given element.
 void BasicSearchEngine.searchDeclarationsOfReferencedTypes(IJavaElement enclosingElement, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor)
          Searches for all declarations of the types referenced in the given element.
 void BasicSearchEngine.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.eclipse.jdt.internal.core.search.matching
 

Methods in org.eclipse.jdt.internal.core.search.matching that return IJavaElement
static IJavaElement MatchLocator.getProjectOrJar(IJavaElement element)
           
static IJavaElement MatchLocator.projectOrJarFocus(InternalSearchPattern pattern)
           
 

Methods in org.eclipse.jdt.internal.core.search.matching with parameters of type IJavaElement
static IJavaElement MatchLocator.getProjectOrJar(IJavaElement element)
           
 void InternalReferenceMatch.localElement(IJavaElement element)
          Store the local element in the match.
 SearchMatch PatternLocator.newDeclarationMatch(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, int length, MatchLocator locator)
           
 SearchMatch OrLocator.newDeclarationMatch(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, int length, MatchLocator locator)
           
 SearchMatch MethodLocator.newDeclarationMatch(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, int length, MatchLocator locator)
           
 SearchMatch ConstructorLocator.newDeclarationMatch(ASTNode reference, IJavaElement element, Binding binding, int accuracy, int length, MatchLocator locator)
           
 SearchMatch MatchLocator.newDeclarationMatch(IJavaElement element, Binding binding, int accuracy, int offset, int length)
           
 SearchMatch MatchLocator.newDeclarationMatch(IJavaElement element, Binding binding, int accuracy, int offset, int length, SearchParticipant participant, IResource resource)
           
 FieldReferenceMatch MatchLocator.newFieldReferenceMatch(IJavaElement enclosingElement, IJavaElement localElement, Binding enclosingBinding, int accuracy, int offset, int length, ASTNode reference)
           
 SearchMatch MatchLocator.newLocalVariableReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, ASTNode reference)
           
 MethodReferenceMatch MatchLocator.newMethodReferenceMatch(IJavaElement enclosingElement, Binding enclosingBinding, int accuracy, int offset, int length, boolean isConstructor, boolean isSynthetic, ASTNode reference)
           
 PackageReferenceMatch MatchLocator.newPackageReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, ASTNode reference)
           
 SearchMatch MatchLocator.newTypeParameterReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, ASTNode reference)
           
 TypeReferenceMatch MatchLocator.newTypeReferenceMatch(IJavaElement enclosingElement, Binding enclosingBinding, int accuracy, ASTNode reference)
           
 TypeReferenceMatch MatchLocator.newTypeReferenceMatch(IJavaElement enclosingElement, Binding enclosingBinding, int accuracy, int offset, int length, ASTNode reference)
           
static void MatchLocator.setFocus(InternalSearchPattern pattern, IJavaElement focus)
           
 

Constructors in org.eclipse.jdt.internal.core.search.matching with parameters of type IJavaElement
DeclarationOfAccessedFieldsPattern(IJavaElement enclosingElement)
           
DeclarationOfReferencedMethodsPattern(IJavaElement enclosingElement)
           
DeclarationOfReferencedTypesPattern(IJavaElement enclosingElement)
           
InternalReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, IResource resource)
           
 

Uses of IJavaElement in org.eclipse.jdt.internal.core.util
 

Fields in org.eclipse.jdt.internal.core.util declared as IJavaElement
 IJavaElement JavaElementFinder.element
           
 

Methods in org.eclipse.jdt.internal.core.util that return IJavaElement
 IJavaElement HandleFactory.createElement(ClassScope scope, ICompilationUnit unit, java.util.HashSet existingElements, java.util.HashMap knownScopes)
          Returns a handle denoting the class member 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.eclipse.jdt.internal.core.util with parameters of type IJavaElement
static boolean Util.isExcluded(IJavaElement element)
           
static IJavaElement[] Util.sortCopy(IJavaElement[] elements)
          Sorts an array of Java elements based on their toStringWithAncestors(), returning a new array with the sorted items.
 

Uses of IJavaElement in org.jmlspecs.eclipse.jdt.ui
 

Methods in org.jmlspecs.eclipse.jdt.ui that return IJavaElement
 IJavaElement NewJmlSpecWizard.getCreatedElement()
           
 

Methods in org.jmlspecs.eclipse.jdt.ui with parameters of type IJavaElement
 boolean EscjavaAction.Check.touchJavaElement(IJavaElement element)
          TODO