- Direct Known Subclasses:
public abstract class QuerySpecification extends Object
Describes a Java search query. A query is described by giving a scope, a scope description, what kind of match to search for (reference, declarations, etc) and either a Java element or a string and what kind of element to search for (type, field, etc). What exactly it means to, for example, to search for "references to type foo" is up to query participants. For example, a participant might consider the "class" attribute of an extension in a plugin.xml file to be a reference to the class mentioned in the attribute.
This class is not intended to be instantiated or subclassed by clients.
- This class is not intended to be subclassed by clients.
Method SummaryModifier and TypeMethodDescription
intReturns what kind of occurrences the query should look for.
getScope()Returns the search scope to be used in the query.Returns a human readable description of the search scope.
getScopepublic IJavaSearchScope getScope()Returns the search scope to be used in the query.
- The search scope.
getScopeDescriptionpublic String getScopeDescription()Returns a human readable description of the search scope.
- A description of the search scope.
- See Also:
getLimitTopublic int getLimitTo()Returns what kind of occurrences the query should look for.
- Whether to search for reference, declaration, etc.
- See Also: