Java org.eclipse.jdt.core.search SearchMatch fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core.search SearchMatch fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core.search SearchMatch.

The text is from its open source code.

Field

intA_ACCURATE
The search result corresponds an exact match of the search pattern.
intA_INACCURATE
The search result is potentially a match for the search pattern, but the search engine is unable to fully check it (for example, because there are errors in the code or the classpath are not correctly set).

Method

intgetAccuracy()
Returns the accuracy of this search match.
ObjectgetElement()
Returns the element of this search match.
intgetLength()
Returns the length of this search match.
intgetOffset()
Returns the offset of this search match.
IResourcegetResource()
Returns the resource containing this search match.
intgetRule()
Returns the rule used while creating the match.
booleanisEquivalent()
Returns whether match element is compatible with searched pattern or not.
booleanisErasure()
Returns whether match element only has same erasure than searched pattern or not.
booleanisExact()
Returns whether element matches exactly searched pattern or not.
booleanisImplicit()
Returns whether the associated element is implicit or not.
booleanisInsideDocComment()
Returns whether this search match is inside a doc comment of a Java source file.
booleanisRaw()
Returns whether the associated element is a raw type/method or not.
voidsetLength(int length)
Sets the length of this search match.
voidsetOffset(int offset)
Sets the offset of this search match.