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

Packages that use IJavaElement
org.eclipse.jdt.core   
org.eclipse.jdt.core.dom   
org.eclipse.jdt.core.eval   
org.eclipse.jdt.core.jdom   
org.eclipse.jdt.core.search   
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.hierarchy   
org.eclipse.jdt.internal.core.search   
org.eclipse.jdt.internal.core.search.matching   
org.eclipse.jdt.internal.core.util   
 

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(IPath path)
          Returns the IJavaElement corresponding to the given classpath-relative path, or null if no such IJavaElement is found.
 IJavaElement IJavaProject.findElement(IPath path, WorkingCopyOwner owner)
          Returns the IJavaElement corresponding to the given classpath-relative path, or null if no such IJavaElement is found.
 IJavaElement[] ICompilationUnit.findElements(IJavaElement element)
          Finds the elements in this compilation unit that correspond to the given element.
 IJavaElement[] IWorkingCopy.findElements(IJavaElement element)
          Deprecated. Use ICompilationUnit.findElements(IJavaElement) instead.
 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(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(IProgressMonitor monitor, IBufferFactory factory)
          Deprecated. Use ITypeRoot.getWorkingCopy(WorkingCopyOwner, IProgressMonitor) instead
 IJavaElement IWorkingCopy.getWorkingCopy(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, 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, 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, IProgressMonitor monitor)
          Copies the given elements to the specified container(s).
 void ISourceManipulation.copy(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean replace, IProgressMonitor monitor)
          Copies this element to the given container.
 IField IType.createField(java.lang.String contents, IJavaElement sibling, boolean force, 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, 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, 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, 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, IProgressMonitor monitor)
          Creates and returns a method or constructor in this type with the given contents.
 IType ICompilationUnit.createType(java.lang.String contents, IJavaElement sibling, boolean force, IProgressMonitor monitor)
          Creates and returns a type in this compilation unit with the given contents.
 IType IType.createType(java.lang.String contents, IJavaElement sibling, boolean force, IProgressMonitor monitor)
          Creates and returns a type in this type with the given contents.
 void IJavaModel.delete(IJavaElement[] elements, boolean force, IProgressMonitor monitor)
          Deletes the given elements, forcing the operation if necessary and specified.
 IJavaElement[] ICompilationUnit.findElements(IJavaElement element)
          Finds the elements in this compilation unit that correspond to the given element.
 IJavaElement[] IWorkingCopy.findElements(IJavaElement element)
          Deprecated. Use ICompilationUnit.findElements(IJavaElement) instead.
 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, 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, 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, IProgressMonitor monitor)
          Moves the given elements to the specified container(s).
 void ISourceManipulation.move(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean replace, IProgressMonitor monitor)
          Moves this element to the given container.
 void IJavaModel.refreshExternalArchives(IJavaElement[] elementsScope, 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, IProgressMonitor monitor)
          Renames the given elements as specified.
 void IJavaModel.rename(IJavaElement[] elements, IJavaElement[] destinations, java.lang.String[] names, boolean replace, 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, 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
 

Fields in org.eclipse.jdt.core.search declared as IJavaElement
 IJavaElement SearchPattern.focus
          The focus element (used for reference patterns)
 

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, 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, 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, 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, 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 ReferenceMatch.setLocalElement(IJavaElement element)
          Store the local element in the 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.internal.codeassist
 

Methods in org.eclipse.jdt.internal.codeassist that return IJavaElement
 IJavaElement InternalExtendedCompletionContext.getEnclosingElement()
           
 IJavaElement InternalCompletionContext.getEnclosingElement()
          Returns the innermost enclosing Java element which contains the completion location or null if this element cannot be computed.
 IJavaElement[] InternalExtendedCompletionContext.getVisibleElements(java.lang.String typeSignature)
           
 IJavaElement[] InternalCompletionContext.getVisibleElements(java.lang.String typeSignature)
          Return the elements which are visible from the completion location and which can be assigned to the given type.
 

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
           
 

Fields in org.eclipse.jdt.internal.core declared as IJavaElement
protected  IJavaElement CreateElementInCUOperation.anchorElement
          The element that the newly created element is positioned relative to, as described by fInsertPosition, or null if the newly created element will be positioned last.
protected  IJavaElement[] SourceFieldWithChildrenInfo.children
           
protected  IJavaElement[] SourceTypeElementInfo.children
           
protected  IJavaElement[] SourceConstructorWithChildrenInfo.children
           
protected  IJavaElement[] ImportContainerInfo.children
           
protected  IJavaElement[] SourceMethodWithChildrenInfo.children
           
protected  IJavaElement[] InitializerWithChildrenInfo.children
           
protected  IJavaElement[] OpenableElementInfo.children
          Collection of handles of immediate children of this object.
protected  IJavaElement[] SelectionRequestor.elements
           
protected  IJavaElement[] JavaModelStatus.elements
          The elements related to the failure, or null if no elements are involved.
protected  IJavaElement[] JavaModelOperation.elementsToProcess
          The elements this operation operates on, or null if this operation does not operate on specific elements.
protected static IJavaElement[] JavaModelOperation.NO_ELEMENTS
          An empty collection of IJavaElements - the common empty result if no elements are created, or if this operation is not actually executed.
protected  IJavaElement[] JavaModelOperation.parentElements
          The parent elements this operation operates with or null if this operation does not operate with specific parent elements.
protected  IJavaElement[] JavaModelOperation.resultElements
          The elements created by this operation - empty until the operation actually creates elements.
protected  IJavaElement SourceMapper.searchedElement
          The element searched for
 

Methods in org.eclipse.jdt.internal.core that return IJavaElement
protected  IJavaElement[] Openable.codeSelect(ICompilationUnit cu, int offset, int length, WorkingCopyOwner owner)
           
 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.
protected  IJavaElement ClassFile.findElement(IJavaElement elt, int position, SourceMapper mapper)
          Finds the deepest IJavaElement in the hierarchy of elt's children (including elt itself) which has a source range that encloses position according to mapper.
 IJavaElement JavaProject.findElement(IPath path)
           
 IJavaElement JavaProject.findElement(IPath path, WorkingCopyOwner owner)
           
 IJavaElement[] CompilationUnit.findElements(IJavaElement element)
           
protected  IJavaElement SelectionRequestor.findLocalElement(int pos)
           
 IJavaElement SelectionRequestor.findMethodFromBinding(MethodBinding method, java.lang.String[] signatures, ReferenceBinding declaringClass)
          This method returns an IMethod element from the given method and declaring type bindings.
 IJavaElement JavaProject.findPackageFragment(java.lang.String packageName)
           
 IJavaElement CompilationUnit.findSharedWorkingCopy(IBufferFactory factory)
          Deprecated.  
protected  IJavaElement CreateTypeOperation.generateResultHandle()
           
protected  IJavaElement CreateFieldOperation.generateResultHandle()
           
protected  IJavaElement CreateImportOperation.generateResultHandle()
           
protected  IJavaElement CreateInitializerOperation.generateResultHandle()
           
protected  IJavaElement CreateMethodOperation.generateResultHandle()
           
protected abstract  IJavaElement CreateElementInCUOperation.generateResultHandle()
          Creates and returns the handle for the element this operation created.
protected  IJavaElement CreatePackageDeclarationOperation.generateResultHandle()
          Creates and returns the handle for the element this operation created.
protected  IJavaElement[] CreateElementInCUOperation.generateResultHandles()
          Creates and returns the handles for the elements this operation created.
 IJavaElement JavaElement.getAncestor(int ancestorType)
           
 IJavaElement[] SourceFieldWithChildrenInfo.getChildren()
           
 IJavaElement[] JavaElementInfo.getChildren()
           
 IJavaElement[] SourceTypeElementInfo.getChildren()
           
 IJavaElement[] SourceConstructorWithChildrenInfo.getChildren()
           
 IJavaElement[] ImportContainerInfo.getChildren()
           
 IJavaElement[] SourceMethodWithChildrenInfo.getChildren()
           
 IJavaElement[] InitializerWithChildrenInfo.getChildren()
           
 IJavaElement[] BinaryType.getChildren()
           
 IJavaElement[] OpenableElementInfo.getChildren()
           
 IJavaElement[] JavaElement.getChildren()
           
 IJavaElement[] SourceType.getChildrenForCategory(java.lang.String category)
           
 IJavaElement[] BinaryType.getChildrenForCategory(java.lang.String category)
           
protected  IJavaElement MultiOperation.getDestinationParent(IJavaElement child)
          Returns the parent of the element being copied/moved/renamed.
 IJavaElement JavaElementDelta.getElement()
           
 IJavaElement ClassFile.getElementAt(int position)
           
 IJavaElement CompilationUnit.getElementAt(int position)
           
 IJavaElement ClassFile.getElementAtConsideringSibling(int position)
           
 IJavaElement[] Region.getElements()
           
 IJavaElement[] SelectionRequestor.getElements()
          Returns the resolved elements.
 IJavaElement[] JavaModelStatus.getElements()
           
protected  IJavaElement JavaModelOperation.getElementToProcess()
          Returns the element to which this operation applies, or null if not applicable.
 IJavaElement JavaModelCache.getExistingElement(IJavaElement element)
           
 IJavaElement JavaModelManager.getExistingElement(IJavaElement element)
          Returns the existing element in the cache that is equal to the given element.
 IJavaElement JavaElement.getHandleFromMemento(MementoTokenizer memento, WorkingCopyOwner owner)
           
 IJavaElement JavaModel.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)
           
 IJavaElement ImportContainer.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner)
           
 IJavaElement PackageFragmentRoot.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner owner)
           
 IJavaElement ClassFile.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner owner)
           
 IJavaElement BinaryType.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner)
           
 IJavaElement Member.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner)
           
 IJavaElement SourceRefElement.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner)
           
 IJavaElement JavaProject.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner owner)
           
abstract  IJavaElement JavaElement.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner owner)
           
 IJavaElement PackageFragment.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner owner)
           
 IJavaElement CompilationUnit.getHandleFromMemento(java.lang.String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner)
           
 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()
           
protected  IJavaElement JavaModelOperation.getParentElement()
          Returns the parent element to which this operation applies, or null if not applicable.
protected  IJavaElement[] JavaModelOperation.getParentElements()
          Returns the parent elements to which this operation applies, or null if not applicable.
 IJavaElement JavaElement.getPrimaryElement()
           
 IJavaElement ImportDeclaration.getPrimaryElement(boolean checkOwner)
           
 IJavaElement SourceType.getPrimaryElement(boolean checkOwner)
           
 IJavaElement SourceField.getPrimaryElement(boolean checkOwner)
           
 IJavaElement SourceMethod.getPrimaryElement(boolean checkOwner)
           
 IJavaElement ImportContainer.getPrimaryElement(boolean checkOwner)
           
 IJavaElement ClassFileWorkingCopy.getPrimaryElement(boolean checkOwner)
           
 IJavaElement JavaElement.getPrimaryElement(boolean checkOwner)
           
 IJavaElement PackageDeclaration.getPrimaryElement(boolean checkOwner)
           
 IJavaElement CompilationUnit.getPrimaryElement(boolean checkOwner)
           
 IJavaElement Initializer.getPrimaryElement(boolean checkOwner)
           
 IJavaElement[] JavaModelOperation.getResultElements()
          Returns the elements created by this operation.
 IJavaElement CompilationUnit.getSharedWorkingCopy(IProgressMonitor pm, IBufferFactory factory, IProblemRequestor problemRequestor)
          Deprecated.  
protected  IJavaElement JavaElement.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.
 IJavaElement CompilationUnit.getWorkingCopy()
          Deprecated.  
 IJavaElement ClassFile.getWorkingCopy(IProgressMonitor monitor, IBufferFactory factory)
          Deprecated.  
 IJavaElement CompilationUnit.getWorkingCopy(IProgressMonitor monitor, IBufferFactory factory, IProblemRequestor problemRequestor)
          Deprecated.  
 

Methods in org.eclipse.jdt.internal.core with parameters of type IJavaElement
 void Region.add(IJavaElement element)
           
protected  void SourceTypeElementInfo.addCategories(IJavaElement element, char[][] elementCategories)
           
 void OpenableElementInfo.addChild(IJavaElement child)
           
 void JavaElementDelta.added(IJavaElement element)
          Creates the nested deltas resulting from an add operation.
 void JavaElementDelta.added(IJavaElement element, int flags)
           
protected  void SelectionRequestor.addElement(IJavaElement element)
           
 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, 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, IProgressMonitor monitor)
           
 void JavaModel.copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean force, IProgressMonitor monitor)
           
 void JavaModel.copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean force, IProgressMonitor monitor)
           
 void BinaryMember.copy(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, IProgressMonitor monitor)
           
 void SourceRefElement.copy(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, IProgressMonitor monitor)
           
 void PackageFragment.copy(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, IProgressMonitor monitor)
           
 void CompilationUnit.copy(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, 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.
protected  JavaElementDelta JavaElementDelta.createDeltaTree(IJavaElement element, JavaElementDelta delta)
          Creates the nested delta deltas based on the affected element its delta, and the root of this delta tree.
 IField SourceType.createField(java.lang.String contents, IJavaElement sibling, boolean force, IProgressMonitor monitor)
           
 IField BinaryType.createField(java.lang.String contents, IJavaElement sibling, boolean force, IProgressMonitor monitor)
           
 IImportDeclaration CompilationUnit.createImport(java.lang.String importName, IJavaElement sibling, int flags, IProgressMonitor monitor)
           
 IImportDeclaration CompilationUnit.createImport(java.lang.String importName, IJavaElement sibling, IProgressMonitor monitor)
           
 IInitializer SourceType.createInitializer(java.lang.String contents, IJavaElement sibling, IProgressMonitor monitor)
           
 IInitializer BinaryType.createInitializer(java.lang.String contents, IJavaElement sibling, IProgressMonitor monitor)
           
 IMethod SourceType.createMethod(java.lang.String contents, IJavaElement sibling, boolean force, IProgressMonitor monitor)
           
 IMethod BinaryType.createMethod(java.lang.String contents, IJavaElement sibling, boolean force, IProgressMonitor monitor)
           
 IType SourceType.createType(java.lang.String contents, IJavaElement sibling, boolean force, IProgressMonitor monitor)
           
 IType BinaryType.createType(java.lang.String contents, IJavaElement sibling, boolean force, IProgressMonitor monitor)
           
 IType CompilationUnit.createType(java.lang.String content, IJavaElement sibling, boolean force, IProgressMonitor monitor)
           
 void JavaModel.delete(IJavaElement[] elements, boolean force, IProgressMonitor monitor)
           
protected  void ElementCache.ensureSpaceLimit(java.lang.Object info, IJavaElement parent)
           
protected  boolean JavaElementDelta.equalsAndSameParent(IJavaElement e1, IJavaElement e2)
          Returns whether the two java elements are equals and have the same parent.
protected  void MultiOperation.error(int code, IJavaElement element)
          Convenience method to create a JavaModelException embending a JavaModelStatus.
protected  JavaElementDelta JavaElementDelta.find(IJavaElement e)
          Returns the JavaElementDelta for the given element in the delta tree, or null, if no delta for the given element is found.
protected  IJavaElement ClassFile.findElement(IJavaElement elt, int position, SourceMapper mapper)
          Finds the deepest IJavaElement in the hierarchy of elt's children (including elt itself) which has a source range that encloses position according to mapper.
 IJavaElement[] CompilationUnit.findElements(IJavaElement element)
           
protected  ICompilationUnit JavaModelOperation.getCompilationUnitFor(IJavaElement element)
          Returns the compilation unit the given element is contained in, or the element itself (if it is a compilation unit), otherwise null.
protected  JavaElementDelta JavaElementDelta.getDeltaFor(IJavaElement element)
          Returns the delta for a given element.
protected  IJavaElement MultiOperation.getDestinationParent(IJavaElement child)
          Returns the parent of the element being copied/moved/renamed.
 IJavaElement JavaModelCache.getExistingElement(IJavaElement element)
           
 IJavaElement JavaModelManager.getExistingElement(IJavaElement element)
          Returns the existing element in the cache that is equal to the given element.
 int SourceMapper.getFlags(IJavaElement element)
           
 java.lang.Object JavaModelCache.getInfo(IJavaElement element)
          Returns the info for the element.
 java.lang.Object JavaModelManager.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.
protected  JavaModelOperation CopyElementsOperation.getNestedOperation(IJavaElement element)
          Returns the nested operation to use for processing this element
protected  java.lang.String MultiOperation.getNewNameFor(IJavaElement element)
          Returns the new name for element, or null if there are no renamings specified.
 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.
protected  void JavaElementDelta.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.
 boolean JavaElement.isAncestorOf(IJavaElement e)
          Returns true if this element is an ancestor of the given element, otherwise false.
 boolean ExternalJavaProject.isOnClasspath(IJavaElement element)
           
 boolean JavaProject.isOnClasspath(IJavaElement element)
           
protected  boolean CopyElementsOperation.isRenamingMainType(IJavaElement element, IJavaElement dest)
          Returns true if this element is the main type of its compilation unit.
 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, IProgressMonitor monitor)
           
 void JavaModel.move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean force, IProgressMonitor monitor)
           
 void JavaModel.move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, java.lang.String[] renamings, boolean force, IProgressMonitor monitor)
           
 void BinaryMember.move(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, IProgressMonitor monitor)
           
 void SourceRefElement.move(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, IProgressMonitor monitor)
           
 void PackageFragment.move(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, IProgressMonitor monitor)
           
 void CompilationUnit.move(IJavaElement container, IJavaElement sibling, java.lang.String rename, boolean force, 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.
protected  boolean NameLookup.nameMatches(java.lang.String searchName, IJavaElement element, boolean partialMatch)
          Returns true if the given element's name matches the specified searchName, otherwise false.
 void JavaElementDelta.opened(IJavaElement element)
          Creates the nested deltas for an opened element.
protected  java.lang.Object JavaModelCache.peekAtInfo(IJavaElement element)
          Returns the info for this element without disturbing the cache ordering.
protected  java.lang.Object JavaModelManager.peekAtInfo(IJavaElement element)
          Returns the info for this element without disturbing the cache ordering.
protected  void CopyResourceElementsOperation.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 abstract  void MultiOperation.processElement(IJavaElement element)
          Subclasses must implement this method to process a given IJavaElement.
protected  void DeleteElementsOperation.processElement(IJavaElement element)
          Deletes this element from its compilation unit.
protected  void DeleteResourceElementsOperation.processElement(IJavaElement element)
           
protected  void CopyResourceElementsOperation.processElement(IJavaElement element)
           
protected  void CopyElementsOperation.processElement(IJavaElement element)
          Copy/move the element from the source to destination, renaming the elements as specified, honoring the collision policy.
protected  void JavaModelCache.putInfo(IJavaElement element, java.lang.Object info)
          Remember the info for the element.
protected  java.lang.Object JavaModelManager.putInfos(IJavaElement openedElement, java.lang.Object newInfo, boolean forceAdd, java.util.Map newElements)
           
protected  void JavaModelManager.putJarTypeInfo(IJavaElement type, java.lang.Object info)
           
 void JavaModel.refreshExternalArchives(IJavaElement[] elementsScope, IProgressMonitor monitor)
           
 boolean Region.remove(IJavaElement element)
           
protected  void Region.removeAllChildren(IJavaElement element)
          Removes any children of this element that are contained within this region as this parent is about to be added to the region.
 void OpenableElementInfo.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, IProgressMonitor monitor)
           
 void JavaModel.rename(IJavaElement[] elements, IJavaElement[] destinations, java.lang.String[] renamings, boolean force, IProgressMonitor monitor)
           
protected  void ElementCache.resetSpaceLimit(int defaultLimit, IJavaElement parent)
           
protected  void JavaModel.runOperation(MultiOperation op, IJavaElement[] elements, IJavaElement[] siblings, java.lang.String[] renamings, IProgressMonitor monitor)
          Configures and runs the MultiOperation.
protected  void JavaModel.runOperation(MultiOperation op, IJavaElement[] elements, IJavaElement[] siblings, java.lang.String[] renamings, IProgressMonitor monitor)
          Configures and runs the MultiOperation.
 void OpenableElementInfo.setChildren(IJavaElement[] children)
           
 void MultiOperation.setInsertBefore(IJavaElement modifiedElement, IJavaElement newSibling)
          Sets the insertion position in the new container for the modified element.
protected  void CreateElementInCUOperation.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 if null.
protected  void SourceMapper.setSourceRange(IJavaElement element, SourceRange sourceRange, SourceRange nameRange)
          Sets the mapping for this element to its source ranges for its source range and name range.
 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.
protected abstract  void MultiOperation.verify(IJavaElement element)
          This method is called for each IJavaElement before processElement.
protected  void RenameResourceElementsOperation.verify(IJavaElement element)
           
protected  void DeleteElementsOperation.verify(IJavaElement element)
           
protected  void DeleteResourceElementsOperation.verify(IJavaElement element)
           
protected  void RenameElementsOperation.verify(IJavaElement element)
           
protected  void CopyResourceElementsOperation.verify(IJavaElement element)
           
protected  void CopyElementsOperation.verify(IJavaElement element)
           
protected  void MultiOperation.verifyDestination(IJavaElement element, IJavaElement destination)
          Verifies that the destination specified for the element is valid for the types of the element and destination.
protected  void MultiOperation.verifyRenaming(IJavaElement element)
          Verify that the new name specified for element is valid for that type of Java element.
protected  void MultiOperation.verifySibling(IJavaElement element, IJavaElement destination)
          Verifies that the positioning sibling specified for the element is exists and its parent is the destination container of this element.
 

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.
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.
DeleteResourceElementsOperation(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.
JavaModelOperation(IJavaElement element)
          Common constructor for all Java Model operations.
JavaModelOperation(IJavaElement[] elements)
          A common constructor for all Java Model operations.
JavaModelOperation(IJavaElement[] elements, boolean force)
          A common constructor for all Java Model operations.
JavaModelOperation(IJavaElement[] elementsToProcess, IJavaElement[] parentElements)
          Common constructor for all Java Model operations.
JavaModelOperation(IJavaElement[] elementsToProcess, IJavaElement[] parentElements)
          Common constructor for all Java Model operations.
JavaModelOperation(IJavaElement[] elementsToProcess, IJavaElement[] parentElements, boolean force)
          A common constructor for all Java Model operations.
JavaModelOperation(IJavaElement[] elementsToProcess, IJavaElement[] parentElements, boolean force)
          A common constructor for all Java Model operations.
JavaModelStatus(int code, IJavaElement[] elements)
          Constructs an Java model status with the given corresponding elements.
JavaModelStatus(int code, IJavaElement element, IPath path)
          Constructs an Java model status with the given corresponding element and path
JavaModelStatus(int code, IJavaElement element, 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, 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.
MultiOperation(IJavaElement[] elementsToProcess, boolean force)
          Creates a new MultiOperation on elementsToProcess.
MultiOperation(IJavaElement[] elementsToProcess, IJavaElement[] parentElements, boolean force)
          Creates a new MultiOperation.
MultiOperation(IJavaElement[] elementsToProcess, IJavaElement[] parentElements, boolean force)
          Creates a new MultiOperation.
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.
SourceConstructorWithChildrenInfo(IJavaElement[] children)
           
SourceFieldWithChildrenInfo(IJavaElement[] children)
           
SourceMapper.LocalVariableElementKey(IJavaElement method, java.lang.String name)
           
SourceMethodWithChildrenInfo(IJavaElement[] children)
           
 

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.hierarchy
 

Methods in org.eclipse.jdt.internal.core.hierarchy with parameters of type IJavaElement
protected  boolean TypeHierarchy.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.
protected  boolean RegionBasedTypeHierarchy.isAffectedByOpenable(IJavaElementDelta delta, IJavaElement element, int eventType)
           
 

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 IJavaSearchScope BasicSearchEngine.createJavaSearchScope(IJavaElement[] elements)
           
static IJavaSearchScope BasicSearchEngine.createJavaSearchScope(IJavaElement[] elements, boolean includeReferencedProjects)
           
static IJavaSearchScope BasicSearchEngine.createJavaSearchScope(IJavaElement[] elements, int includeMask)
           
 boolean JavaSearchScope.encloses(IJavaElement element)
           
 boolean JavaWorkspaceScope.encloses(IJavaElement element)
           
 boolean HierarchyScope.encloses(IJavaElement element)
           
 boolean HierarchyScope.encloses(IJavaElement element, IProgressMonitor progressMonitor)
           
 boolean HierarchyScope.enclosesFineGrained(IJavaElement element)
          Optionally perform additional checks after element has already passed matching based on index/documents.
 void BasicSearchEngine.searchDeclarations(IJavaElement enclosingElement, SearchRequestor requestor, SearchPattern pattern, IProgressMonitor monitor)
           
 void BasicSearchEngine.searchDeclarationsOfAccessedFields(IJavaElement enclosingElement, SearchRequestor requestor, IProgressMonitor monitor)
          Searches for all declarations of the fields accessed in the given element.
 void BasicSearchEngine.searchDeclarationsOfReferencedTypes(IJavaElement enclosingElement, SearchRequestor requestor, IProgressMonitor monitor)
          Searches for all declarations of the types referenced in the given element.
 void BasicSearchEngine.searchDeclarationsOfSentMessages(IJavaElement enclosingElement, SearchRequestor requestor, 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
 

Fields in org.eclipse.jdt.internal.core.search.matching declared as IJavaElement
protected  IJavaElement DeclarationOfReferencedTypesPattern.enclosingElement
           
protected  IJavaElement DeclarationOfReferencedMethodsPattern.enclosingElement
           
protected  IJavaElement DeclarationOfAccessedFieldsPattern.enclosingElement
           
 

Methods in org.eclipse.jdt.internal.core.search.matching that return IJavaElement
protected  IJavaElement MatchLocator.createHandle(AbstractMethodDeclaration method, IJavaElement parent)
          Creates an IMethod from the given method declaration and type.
protected  IJavaElement MatchLocator.createHandle(AbstractVariableDeclaration variableDeclaration, IJavaElement parent)
          Create an handle for a local variable declaration (may be a local variable or type parameter).
protected  IJavaElement MatchLocator.createHandle(Annotation annotation, IAnnotatable parent)
          Create an handle for a local variable declaration (may be a local variable or type parameter).
protected  IJavaElement MatchLocator.createHandle(FieldDeclaration fieldDeclaration, TypeDeclaration typeDeclaration, IJavaElement parent)
          Creates an IField from the given field declaration and type.
protected  IJavaElement MatchLocator.createImportHandle(ImportReference importRef)
          Creates an IImportDeclaration from the given import statement
protected  IJavaElement MatchLocator.createPackageDeclarationHandle(CompilationUnitDeclaration unit)
          Creates an IImportDeclaration from the given import statement
protected  IJavaElement TypeReferenceLocator.findElement(IJavaElement element, int accuracy)
           
static IJavaElement MatchLocator.getProjectOrJar(IJavaElement element)
           
static IJavaElement MatchLocator.projectOrJarFocus(SearchPattern pattern)
           
 

Methods in org.eclipse.jdt.internal.core.search.matching with parameters of type IJavaElement
protected  IJavaElement MatchLocator.createHandle(AbstractMethodDeclaration method, IJavaElement parent)
          Creates an IMethod from the given method declaration and type.
protected  IJavaElement MatchLocator.createHandle(AbstractVariableDeclaration variableDeclaration, IJavaElement parent)
          Create an handle for a local variable declaration (may be a local variable or type parameter).
protected  IJavaElement MatchLocator.createHandle(FieldDeclaration fieldDeclaration, TypeDeclaration typeDeclaration, IJavaElement parent)
          Creates an IField from the given field declaration and type.
protected  boolean MatchLocator.encloses(IJavaElement element)
           
protected  IJavaElement TypeReferenceLocator.findElement(IJavaElement element, int accuracy)
           
static IJavaElement MatchLocator.getProjectOrJar(IJavaElement element)
           
protected  void PatternLocator.matchReportImportRef(ImportReference importRef, Binding binding, IJavaElement element, int accuracy, MatchLocator locator)
          Reports the match of the given import reference.
protected  void TypeReferenceLocator.matchReportImportRef(ImportReference importRef, Binding binding, IJavaElement element, int accuracy, MatchLocator locator)
           
protected  void OrLocator.matchReportImportRef(ImportReference importRef, Binding binding, IJavaElement element, int accuracy, MatchLocator locator)
           
protected  void AndLocator.matchReportImportRef(ImportReference importRef, Binding binding, IJavaElement element, int accuracy, MatchLocator locator)
           
protected  void PackageReferenceLocator.matchReportImportRef(ImportReference importRef, Binding binding, IJavaElement element, int accuracy, MatchLocator locator)
           
protected  void TypeReferenceLocator.matchReportReference(ArrayTypeReference arrayRef, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void LocalVariableLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void MethodLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void FieldLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void PatternLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator)
          Reports the match of the given reference.
protected  void TypeReferenceLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator)
          Reports the match of the given reference.
protected  void OrLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void AndLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void ConstructorLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void SuperTypeReferenceLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void PackageReferenceLocator.matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void MethodLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void MethodLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void FieldLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void FieldLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void PatternLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator)
          Reports the match of the given reference.
protected  void PatternLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator)
          Reports the match of the given reference.
protected  void TypeReferenceLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator)
          Reports the match of the given reference.
protected  void TypeReferenceLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator)
          Reports the match of the given reference.
protected  void OrLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void OrLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void AndLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void AndLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void PackageReferenceLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void PackageReferenceLocator.matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void TypeReferenceLocator.matchReportReference(QualifiedNameReference qNameRef, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator)
           
protected  void TypeReferenceLocator.matchReportReference(QualifiedTypeReference qTypeRef, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator)
           
 SearchMatch MethodLocator.newDeclarationMatch(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, int length, MatchLocator locator)
           
 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 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)
           
protected  void TypeReferenceLocator.reportDeclaration(ASTNode reference, IJavaElement element, MatchLocator locator, SimpleSet knownTypes)
           
protected  void MatchLocator.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  void MatchLocator.reportMatching(Annotation[] annotations, IJavaElement enclosingElement, IJavaElement[] otherElements, Binding elementBinding, MatchingNodeSet nodeSet, boolean matchedContainer, boolean enclosesElement)
          Report matching in annotations.
protected  void MatchLocator.reportMatching(Annotation[] annotations, IJavaElement enclosingElement, IJavaElement[] otherElements, Binding elementBinding, MatchingNodeSet nodeSet, boolean matchedContainer, boolean enclosesElement)
          Report matching in annotations.
protected  void MatchLocator.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  void MatchLocator.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  void MatchLocator.reportMatching(TypeParameter[] typeParameters, IJavaElement enclosingElement, IJavaElement parent, Binding binding, MatchingNodeSet nodeSet)
          Report matches in type parameters.
protected  void MatchLocator.reportMatchingSuper(TypeReference superReference, IJavaElement enclosingElement, Binding elementBinding, MatchingNodeSet nodeSet, boolean matchedClassContainer)
           
static void MatchLocator.setFocus(SearchPattern 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)
           
 

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.