## Uses of Interface
org.eclipse.wst.jsdt.core.IJavaScriptElement

Packages that use IJavaScriptElement
org.eclipse.wst.jsdt.core
org.eclipse.wst.jsdt.core.dom
org.eclipse.wst.jsdt.core.eval
org.eclipse.wst.jsdt.core.refactoring
org.eclipse.wst.jsdt.core.refactoring.descriptors
org.eclipse.wst.jsdt.core.search
org.eclipse.wst.jsdt.ui
org.eclipse.wst.jsdt.ui.actions
org.eclipse.wst.jsdt.ui.search
org.eclipse.wst.jsdt.ui.text.folding
org.eclipse.wst.jsdt.ui.wizards

### Uses of IJavaScriptElement in org.eclipse.wst.jsdt.core

Subinterfaces of IJavaScriptElement in org.eclipse.wst.jsdt.core
`interface` `IClassFile` Represents an entire non-editable JavaScript file.
`interface` `IExportContainer` Represents an export container; a child of a JavaScript unit that contains all (and only) the export declarations.
`interface` `IExportDeclaration` Represents an export declaration in JavaScript unit.
`interface` `IField` Represents a field declared in a type or a var declared at the file scope.
`interface` `IFunction` Represents a function or a method (or constructor) declared in a type.
`interface` `IImportContainer` Represents an import container is a child of a JavaScript unit that contains all (and only) the import declarations.
`interface` `IImportDeclaration` Represents an import declaration in JavaScript unit.
`interface` `IInitializer` Represents a stand-alone instance or class (static) initializer in a type.
`interface` `IJavaScriptModel` Represent the root JavaScript element corresponding to the workspace.
`interface` `IJavaScriptProject` A JavaScript project represents a view of a project resource in terms of JavaScript elements such as package fragments, types, methods and fields.
`interface` `IJavaScriptUnit` Represents an entire JavaScript file (source file with one of the `JavaScript-like extensions`).
`interface` `ILocalVariable` Represents a local variable declared in a method..
`interface` `IMember` Common protocol for JavaScript elements that can be members of javaScript files or types.
`interface` `IPackageFragment` A package fragment (or source folder) is a portion of the workspace corresponding to an entire package, or to a portion thereof.
`interface` `IPackageFragmentRoot` A package fragment root (or source folder root) contains a set of source folders (package fragments).
`interface` `IType` Represents a source type in a JavaScript file (either a top-level type, a member type, or a local type) The children are of type `IMember`, which includes `IField`, `IFunction`, `IInitializer` and `IType`.
`interface` `ITypeRoot` Represents an entire JavaScript type root (either an `IJavaScriptUnit` or an `IClassFile`).

Methods in org.eclipse.wst.jsdt.core that return IJavaScriptElement
`IJavaScriptElement[]` ICodeAssist.`codeSelect(int offset, int length)` Returns the JavaScript elements corresponding to the given selected text in this javaScript unit.
`IJavaScriptElement[]` ICodeAssist.`codeSelect(int offset, int length, WorkingCopyOwner owner)` Returns the JavaScript elements corresponding to the given selected text in this javaScript unit.
`static IJavaScriptElement` JavaScriptCore.`create(IFile file)` Returns the JavaScript element corresponding to the given file, or `null` if unable to associate the given file with a JavaScript element.
`static IJavaScriptElement` JavaScriptCore.`create(IFolder folder)` Returns the source folder (package fragment or package fragment root) corresponding to the given folder, or `null` if unable to associate the given folder with a JavaScript element.
`static IJavaScriptElement` JavaScriptCore.`create(IResource resource)` Returns the JavaScript element corresponding to the given resource, or `null` if unable to associate the given resource with a JavaScript element.
`static IJavaScriptElement` JavaScriptCore.`create(IResource resource, IJavaScriptProject project)` Returns the JavaScript element corresponding to the given file, its project being the given project.
`static IJavaScriptElement` JavaScriptCore.`create(java.lang.String handleIdentifier)` Returns the JavaScript model element corresponding to the given handle identifier generated by `IJavaScriptElement.getHandleIdentifier()`, or `null` if unable to create the associated element.
`static IJavaScriptElement` JavaScriptCore.`create(java.lang.String handleIdentifier, WorkingCopyOwner owner)` Returns the JavaScript model element corresponding to the given handle identifier generated by `IJavaScriptElement.getHandleIdentifier()`, or `null` if unable to create the associated element.
`IJavaScriptElement` IJavaScriptProject.`findElement(IPath path)` Returns the `IJavaScriptElement` corresponding to the given includepath-relative path, or `null` if no such `IJavaScriptElement` is found.
`IJavaScriptElement` IJavaScriptProject.`findElement(IPath path, WorkingCopyOwner owner)` Returns the `IJavaScriptElement` corresponding to the given includepath-relative path, or `null` if no such `IJavaScriptElement` is found.
`IJavaScriptElement[]` IJavaScriptUnit.`findElements(IJavaScriptElement element)` Finds the elements in this javaScript file that correspond to the given element.
`IJavaScriptElement` IJavaScriptElement.`getAncestor(int ancestorType)` Returns the first ancestor of this JavaScript element that has the given type.
`IJavaScriptElement[]` IParent.`getChildren()` Returns the immediate children of this element.
`IJavaScriptElement[]` IType.`getChildrenForCategory(java.lang.String category)` Returns the children of this type that have the given category as a `@category` tag.
`IJavaScriptElement` IJavaScriptElementDelta.`getElement()` Returns the element that this delta describes a change to.
`IJavaScriptElement` ITypeRoot.`getElementAt(int position)` Returns the smallest element within this JavaScript type root that includes the given source position (that is, a method, field, etc.), or `null` if there is no element other than the JavaScript type root itself at the given position, or if the given position is not within the source range of the source of this JavaScript type root.
`IJavaScriptElement[]` IRegion.`getElements()` Returns the top level elements in this region.
`IJavaScriptElement[]` IJavaScriptModelStatus.`getElements()` Returns any JavaScript 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.
`IJavaScriptElement` IJavaScriptElementDelta.`getMovedFromElement()` Returns an element describing this element before it was moved to its current location, or `null` if the `IJavaScriptElementDelta.F_MOVED_FROM` change flag is not set.
`IJavaScriptElement` IJavaScriptElementDelta.`getMovedToElement()` Returns an element describing this element in its new location, or `null` if the `IJavaScriptElementDelta.F_MOVED_TO` change flag is not set.
`IJavaScriptElement` IJavaScriptElement.`getParent()` Returns the element directly containing this element, or `null` if this element has no parent.
`IJavaScriptElement` IJavaScriptElement.`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 javaScript unit or if it is not a descendant of a working copy (e.g. it is a binary member).

Methods in org.eclipse.wst.jsdt.core with parameters of type IJavaScriptElement
`void` IRegion.`add(IJavaScriptElement element)` Adds the given element and all of its descendents to this region.
`static void` JavaScriptCore.`addJavaScriptElementMarkerAttributes(java.util.Map attributes, IJavaScriptElement element)` Configures the given marker attribute map for the given JavaScript element.
`void` JavaScriptCore.`configureJavaScriptElementMarker(IMarker marker, IJavaScriptElement element)` Configures the given marker for the given JavaScript element.
`boolean` IRegion.`contains(IJavaScriptElement element)` Returns whether the given element is contained in this region.
`void` IJavaScriptModel.`copy(IJavaScriptElement[] elements, IJavaScriptElement[] containers, IJavaScriptElement[] siblings, java.lang.String[] renamings, boolean replace, IProgressMonitor monitor)` Copies the given elements to the specified container(s).
`void` IJavaScriptModel.`copy(IJavaScriptElement[] elements, IJavaScriptElement[] containers, IJavaScriptElement[] siblings, java.lang.String[] renamings, boolean replace, IProgressMonitor monitor)` Copies the given elements to the specified container(s).
`void` IJavaScriptModel.`copy(IJavaScriptElement[] elements, IJavaScriptElement[] containers, IJavaScriptElement[] siblings, java.lang.String[] renamings, boolean replace, IProgressMonitor monitor)` Copies the given elements to the specified container(s).
`void` ISourceManipulation.`copy(IJavaScriptElement container, IJavaScriptElement sibling, java.lang.String rename, boolean replace, IProgressMonitor monitor)` Copies this element to the given container.
`IField` IType.`createField(java.lang.String contents, IJavaScriptElement sibling, boolean force, IProgressMonitor monitor)` Creates and returns a field in this type with the given contents.
`IField` IJavaScriptUnit.`createField(java.lang.String contents, IJavaScriptElement sibling, boolean force, IProgressMonitor monitor)` Creates and returns a var in this javaScript file with the given contents.
`IImportDeclaration` IJavaScriptUnit.`createImport(java.lang.String name, IJavaScriptElement sibling, int flags, IProgressMonitor monitor)` Creates and returns an import declaration in this javaScript file with the given name.
`IImportDeclaration` IJavaScriptUnit.`createImport(java.lang.String name, IJavaScriptElement sibling, IProgressMonitor monitor)` Creates and returns an non-static import declaration in this javaScript file with the given name.
`IFunction` IType.`createMethod(java.lang.String contents, IJavaScriptElement sibling, boolean force, IProgressMonitor monitor)` Creates and returns a method or constructor in this type with the given contents.
`IFunction` IJavaScriptUnit.`createMethod(java.lang.String contents, IJavaScriptElement sibling, boolean force, IProgressMonitor monitor)` Creates and returns a function in this javaScript file with the given contents.
`IType` IType.`createType(java.lang.String contents, IJavaScriptElement sibling, boolean force, IProgressMonitor monitor)` Creates and returns a type in this type with the given contents.
`IType` IJavaScriptUnit.`createType(java.lang.String contents, IJavaScriptElement sibling, boolean force, IProgressMonitor monitor)` Creates and returns a type in this javaScript file with the given contents.
`void` IJavaScriptModel.`delete(IJavaScriptElement[] elements, boolean force, IProgressMonitor monitor)` Deletes the given elements, forcing the operation if necessary and specified.
`IJavaScriptElement[]` IJavaScriptUnit.`findElements(IJavaScriptElement element)` Finds the elements in this javaScript file that correspond to the given element.
`boolean` IJavaScriptProject.`isOnIncludepath(IJavaScriptElement element)` Returns whether the given element is on the includepath of this project, that is, referenced from a includepath entry and not explicitly excluded using an exclusion pattern.
`static boolean` JavaScriptCore.`isReferencedBy(IJavaScriptElement element, IMarker marker)` Returns whether the given marker references the given JavaScript element.
`static boolean` JavaScriptCore.`isReferencedBy(IJavaScriptElement element, IMarkerDelta markerDelta)` Returns whether the given marker delta references the given JavaScript element.
`void` IJavaScriptModel.`move(IJavaScriptElement[] elements, IJavaScriptElement[] containers, IJavaScriptElement[] siblings, java.lang.String[] renamings, boolean replace, IProgressMonitor monitor)` Moves the given elements to the specified container(s).
`void` IJavaScriptModel.`move(IJavaScriptElement[] elements, IJavaScriptElement[] containers, IJavaScriptElement[] siblings, java.lang.String[] renamings, boolean replace, IProgressMonitor monitor)` Moves the given elements to the specified container(s).
`void` IJavaScriptModel.`move(IJavaScriptElement[] elements, IJavaScriptElement[] containers, IJavaScriptElement[] siblings, java.lang.String[] renamings, boolean replace, IProgressMonitor monitor)` Moves the given elements to the specified container(s).
`void` ISourceManipulation.`move(IJavaScriptElement container, IJavaScriptElement sibling, java.lang.String rename, boolean replace, IProgressMonitor monitor)` Moves this element to the given container.
`void` IJavaScriptModel.`refreshExternalArchives(IJavaScriptElement[] elementsScope, IProgressMonitor monitor)` Triggers an update of the JavaScriptModel with respect to the referenced external archives.
`boolean` IRegion.`remove(IJavaScriptElement element)` Removes the specified element from the region and returns `true` if successful, `false` if the remove fails.
`void` IJavaScriptModel.`rename(IJavaScriptElement[] elements, IJavaScriptElement[] destinations, java.lang.String[] names, boolean replace, IProgressMonitor monitor)` Renames the given elements as specified.
`void` IJavaScriptModel.`rename(IJavaScriptElement[] elements, IJavaScriptElement[] destinations, java.lang.String[] names, boolean replace, IProgressMonitor monitor)` Renames the given elements as specified.

### Uses of IJavaScriptElement in org.eclipse.wst.jsdt.core.dom

Methods in org.eclipse.wst.jsdt.core.dom that return IJavaScriptElement
`IJavaScriptElement` JavaScriptUnit.`getJavaElement()` The JavaScript element (an `org.eclipse.wst.jsdt.core.IJavaScriptUnit` or an `org.eclipse.wst.jsdt.core.IClassFile`) this javaScript unit was created from, or `null` if it was not created from a JavaScript element.
`IJavaScriptElement` IBinding.`getJavaElement()` Returns the JavaScript element that corresponds to this binding.

Methods in org.eclipse.wst.jsdt.core.dom with parameters of type IJavaScriptElement
`IBinding[]` ASTParser.`createBindings(IJavaScriptElement[] elements, IProgressMonitor monitor)` Creates bindings for a batch of JavaScript elements.

### Uses of IJavaScriptElement in org.eclipse.wst.jsdt.core.eval

Methods in org.eclipse.wst.jsdt.core.eval that return IJavaScriptElement
`IJavaScriptElement[]` IEvaluationContext.`codeSelect(java.lang.String codeSnippet, int offset, int length)` Resolves and returns a collection of JavaScript elements corresponding to the source code at the given positions in the given code snippet.
`IJavaScriptElement[]` IEvaluationContext.`codeSelect(java.lang.String codeSnippet, int offset, int length, WorkingCopyOwner owner)` Resolves and returns a collection of JavaScript elements corresponding to the source code at the given positions in the given code snippet.

### Uses of IJavaScriptElement in org.eclipse.wst.jsdt.core.refactoring

Methods in org.eclipse.wst.jsdt.core.refactoring that return IJavaScriptElement
`IJavaScriptElement` IJavaScriptElementMapper.`getRefactoredJavaScriptElement(IJavaScriptElement element)` Returns the refactored Java element for the given element.
`IJavaScriptElement[]` RenameTypeArguments.`getSimilarDeclarations()` Returns the similar declarations that get updated.

Methods in org.eclipse.wst.jsdt.core.refactoring with parameters of type IJavaScriptElement
`IJavaScriptElement` IJavaScriptElementMapper.`getRefactoredJavaScriptElement(IJavaScriptElement element)` Returns the refactored Java element for the given element.

Constructors in org.eclipse.wst.jsdt.core.refactoring with parameters of type IJavaScriptElement
Constructor and Description
`RenameTypeArguments(java.lang.String newName, boolean updateReferences, boolean updateSimilarDeclarations, IJavaScriptElement[] similarDeclarations)` Creates new rename type arguments.

### Uses of IJavaScriptElement in org.eclipse.wst.jsdt.core.refactoring.descriptors

Methods in org.eclipse.wst.jsdt.core.refactoring.descriptors that return IJavaScriptElement
`protected static IJavaScriptElement` JavaScriptRefactoringDescriptor.`handleToElement(java.lang.String project, java.lang.String handle)` Converts an input handle back to the corresponding java element.
`protected static IJavaScriptElement` JavaScriptRefactoringDescriptor.`handleToElement(java.lang.String project, java.lang.String handle, boolean check)` Converts an input handle back to the corresponding java element.
`protected static IJavaScriptElement` JavaScriptRefactoringDescriptor.`handleToElement(WorkingCopyOwner owner, java.lang.String project, java.lang.String handle, boolean check)` Converts an input handle back to the corresponding java element.

Methods in org.eclipse.wst.jsdt.core.refactoring.descriptors with parameters of type IJavaScriptElement
`protected static java.lang.String` JavaScriptRefactoringDescriptor.`elementToHandle(java.lang.String project, IJavaScriptElement element)` Converts the specified element to an input handle.
`void` MoveDescriptor.`setDestination(IJavaScriptElement element)` Sets the destination of the move.
`void` RenameJavaScriptElementDescriptor.`setJavaElement(IJavaScriptElement element)` Sets the Java element to be renamed.

### Uses of IJavaScriptElement in org.eclipse.wst.jsdt.core.search

Methods in org.eclipse.wst.jsdt.core.search that return IJavaScriptElement
`IJavaScriptElement` SearchDocument.`getJavaElement()`
`IJavaScriptElement` TypeReferenceMatch.`getLocalElement()` Returns the local element of this search match.
`IJavaScriptElement[]` TypeReferenceMatch.`getOtherElements()` Returns other enclosing elements of this search match.

Methods in org.eclipse.wst.jsdt.core.search with parameters of type IJavaScriptElement
`void` ModuleMatchRequestor.`acceptElementMatch(IJavaScriptElement match)`
`static IJavaScriptSearchScope` SearchEngine.`createJavaSearchScope(IJavaScriptElement[] elements)` Returns a JavaScript search scope limited to the given JavaScript elements.
`static IJavaScriptSearchScope` SearchEngine.`createJavaSearchScope(IJavaScriptElement[] elements, boolean includeReferencedProjects)` Returns a JavaScript search scope limited to the given JavaScript elements.
`static IJavaScriptSearchScope` SearchEngine.`createJavaSearchScope(IJavaScriptElement[] elements, int includeMask)` Returns a JavaScript search scope limited to the given JavaScript elements.
`static SearchPattern` SearchPattern.`createPattern(IJavaScriptElement element, int limitTo)` Returns a search pattern based on a given JavaScript element.
`static SearchPattern` SearchPattern.`createPattern(IJavaScriptElement element, int limitTo, int matchRule)` Returns a search pattern based on a given JavaScript element.
`boolean` IJavaScriptSearchScope.`encloses(IJavaScriptElement element)` Checks whether this scope encloses the given element.
`void` SearchEngine.`searchDeclarationsOfAccessedFields(IJavaScriptElement enclosingElement, SearchRequestor requestor, IProgressMonitor monitor)` Searches for all declarations of the fields accessed in the given element.
`void` SearchEngine.`searchDeclarationsOfReferencedTypes(IJavaScriptElement enclosingElement, SearchRequestor requestor, IProgressMonitor monitor)` Searches for all declarations of the types referenced in the given element.
`void` SearchEngine.`searchDeclarationsOfSentMessages(IJavaScriptElement enclosingElement, SearchRequestor requestor, IProgressMonitor monitor)` Searches for all declarations of the methods invoked in the given element.
`void` TypeReferenceMatch.`setLocalElement(IJavaScriptElement localElement)` Sets the local element of this search match.
`void` TypeReferenceMatch.`setOtherElements(IJavaScriptElement[] otherElements)` Sets the other elements of this search match.

Constructors in org.eclipse.wst.jsdt.core.search with parameters of type IJavaScriptElement
Constructor and Description
`FieldDeclarationMatch(IJavaScriptElement element, int accuracy, int offset, int length, SearchParticipant participant, IResource resource)` Creates a new field declaration match.
`FieldReferenceMatch(IJavaScriptElement enclosingElement, int accuracy, int offset, int length, boolean isReadAccess, boolean isWriteAccess, boolean insideDocComment, SearchParticipant participant, IResource resource)` Creates a new field reference match.
`LocalVariableDeclarationMatch(IJavaScriptElement element, int accuracy, int offset, int length, SearchParticipant participant, IResource resource)` Creates a new local variable declaration match.
`LocalVariableReferenceMatch(IJavaScriptElement 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(IJavaScriptElement element, int accuracy, int offset, int length, SearchParticipant participant, IResource resource)` Creates a new method declaration match.
`MethodReferenceMatch(IJavaScriptElement enclosingElement, int accuracy, int offset, int length, boolean constructor, boolean superInvocation, boolean insideDocComment, SearchParticipant participant, IResource resource)` Creates a new method reference match.
`MethodReferenceMatch(IJavaScriptElement enclosingElement, int accuracy, int offset, int length, boolean constructor, boolean insideDocComment, SearchParticipant participant, IResource resource)` Creates a new method reference match.
`MethodReferenceMatch(IJavaScriptElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, IResource resource)` Creates a new method reference match.
`PackageReferenceMatch(IJavaScriptElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, IResource resource)` Creates a new package reference match.
`SearchMatch(IJavaScriptElement element, int accuracy, int offset, int length, SearchParticipant participant, IResource resource)` Creates a new search match.
`TypeDeclarationMatch(IJavaScriptElement element, int accuracy, int offset, int length, SearchParticipant participant, IResource resource)` Creates a new type declaration match.
`TypeReferenceMatch(IJavaScriptElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, IResource resource)` Creates a new type reference match.

### Uses of IJavaScriptElement in org.eclipse.wst.jsdt.ui

Methods in org.eclipse.wst.jsdt.ui that return IJavaScriptElement
`protected IJavaScriptElement[]` StandardJavaScriptElementContentProvider.`filter(IJavaScriptElement[] children)`
`static IJavaScriptElement` JavaScriptUI.`getEditorInputJavaElement(IEditorInput editorInput)` Returns the JavaScript element wrapped by the given editor input.
`IJavaScriptElement` ITypeHierarchyViewPart.`getInputElement()` Returns the input element of this type hierarchy view.

Methods in org.eclipse.wst.jsdt.ui with parameters of type IJavaScriptElement
`protected IJavaScriptElement[]` StandardJavaScriptElementContentProvider.`filter(IJavaScriptElement[] children)`
`static java.io.Reader` JSdocContentAccess.`getContentReader(IJavaScriptElement element, boolean allowInherited)` Gets the content reader for either an `IMember` or `ILocalVariable`.
`static void` JavaScriptElementLabels.`getDeclarationLabel(IJavaScriptElement declaration, long flags, java.lang.StringBuffer buf)` Appends the label for a import container, import or package declaration to a `StringBuffer`.
`static java.lang.String` JavaScriptElementLabels.`getElementLabel(IJavaScriptElement element, long flags)` Returns the label for a JavaScript element with the flags as defined by this class.
`static void` JavaScriptElementLabels.`getElementLabel(IJavaScriptElement element, long flags, java.lang.StringBuffer buf)` Returns the label for a JavaScript element with the flags as defined by this class.
`static java.io.Reader` JSdocContentAccess.`getHTMLContentReader(IJavaScriptElement element, boolean allowInherited, boolean useAttachedJavadoc)` Gets the HTML content reader for either an `IMember` or `ILocalVariable`.
`static java.net.URL` JavaScriptUI.`getJSdocBaseLocation(IJavaScriptElement element)` Returns the Javadoc base URL for an element.
`static java.net.URL` JavaScriptUI.`getJSdocLocation(IJavaScriptElement element, boolean includeAnchor)` Returns the Javadoc URL for an element.
`protected boolean` StandardJavaScriptElementContentProvider.`isPackageFragmentEmpty(IJavaScriptElement element)` Note: This method is for internal use only.
`protected boolean` StandardJavaScriptElementContentProvider.`matches(IJavaScriptElement element)`
`static IEditorPart` JavaScriptUI.`openInEditor(IJavaScriptElement element)` Opens an editor on the given JavaScript element in the active page.
`static IEditorPart` JavaScriptUI.`openInEditor(IJavaScriptElement element, boolean activate, boolean reveal)` Opens an editor on the given JavaScript element in the active page.
`static void` JavaScriptUI.`revealInEditor(IEditorPart part, IJavaScriptElement element)` Reveals the given JavaScript element in the given editor.
`void` ITypeHierarchyViewPart.`setInputElement(IJavaScriptElement element)` Sets the input element of this type hierarchy view.

### Uses of IJavaScriptElement in org.eclipse.wst.jsdt.ui.actions

Methods in org.eclipse.wst.jsdt.ui.actions that return IJavaScriptElement
`IJavaScriptElement` AbstractOpenWizardAction.`getCreatedElement()` Returns the created element or `null` if the wizard has not run or was canceled.

Methods in org.eclipse.wst.jsdt.ui.actions with parameters of type IJavaScriptElement
`void` WorkingSetFindAction.`run(IJavaScriptElement element)`
`void` FindReferencesAction.`run(IJavaScriptElement element)`

### Uses of IJavaScriptElement in org.eclipse.wst.jsdt.ui.search

Methods in org.eclipse.wst.jsdt.ui.search that return IJavaScriptElement
`IJavaScriptElement` ElementQuerySpecification.`getElement()` Returns the element to search for.

Constructors in org.eclipse.wst.jsdt.ui.search with parameters of type IJavaScriptElement
Constructor and Description
`ElementQuerySpecification(IJavaScriptElement javaElement, int limitTo, IJavaScriptSearchScope scope, java.lang.String scopeDescription)` A constructor.

### Uses of IJavaScriptElement in org.eclipse.wst.jsdt.ui.text.folding

Methods in org.eclipse.wst.jsdt.ui.text.folding with parameters of type IJavaScriptElement
`void` IJavaFoldingStructureProviderExtension.`collapseElements(IJavaScriptElement[] elements)` Collapses the given elements.
`void` DefaultJavaFoldingStructureProvider.`collapseElements(IJavaScriptElement[] elements)`
`protected void` DefaultJavaFoldingStructureProvider.`computeFoldingStructure(IJavaScriptElement element, DefaultJavaFoldingStructureProvider.FoldingStructureComputationContext ctx)` Computes the folding structure for a given `JavaScript element`.
`void` IJavaFoldingStructureProviderExtension.`expandElements(IJavaScriptElement[] elements)` Expands the given elements.
`void` DefaultJavaFoldingStructureProvider.`expandElements(IJavaScriptElement[] elements)`

Constructors in org.eclipse.wst.jsdt.ui.text.folding with parameters of type IJavaScriptElement
Constructor and Description
`JavaProjectionAnnotation(boolean isCollapsed, IJavaScriptElement element, boolean isComment)` Creates a new projection annotation.

### Uses of IJavaScriptElement in org.eclipse.wst.jsdt.ui.wizards

Methods in org.eclipse.wst.jsdt.ui.wizards that return IJavaScriptElement
`protected IJavaScriptElement` NewContainerWizardPage.`getInitialJavaElement(IStructuredSelection selection)` Utility method to inspect a selection to find a JavaScript element.

Methods in org.eclipse.wst.jsdt.ui.wizards with parameters of type IJavaScriptElement
`protected void` NewContainerWizardPage.`initContainerPage(IJavaScriptElement elem)` Initializes the source folder field with a valid package fragment root.
`protected void` NewTypeWizardPage.`initTypePage(IJavaScriptElement elem)` Initializes all fields provided by the page with a given selection.