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, getScopeDescriptionpublic 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) IBM Corp. and others 2000, 2006. All Rights Reserved.