public class ElementQuerySpecification extends QuerySpecification
Describes a search query by giving the IJavaElement
to search
for.
This class is not intended to be instantiated or subclassed by clients.
QuerySpecification
Constructor and Description |
---|
ElementQuerySpecification(IJavaElement javaElement,
int limitTo,
IJavaSearchScope scope,
String scopeDescription)
A constructor.
|
Modifier and Type | Method and Description |
---|---|
IJavaElement |
getElement()
Returns the element to search for.
|
getLimitTo, getScope, getScopeDescription
public ElementQuerySpecification(IJavaElement javaElement, int limitTo, IJavaSearchScope scope, String scopeDescription)
javaElement
- The java element the query should search for.limitTo
- The kind of occurrence the query should search for.scope
- The scope to search in.scopeDescription
- A human readable description of the search scope.public IJavaElement getElement()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.