com.adobe.flexbuilder.codemodel.search
Interface IOccurrence
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable
- All Known Subinterfaces:
- IDefinitionOccurrence, ISWCOccurrence, ITextualOccurrence
- public interface IOccurrence
- extends org.eclipse.core.runtime.IAdaptable
Represents an instance of a match found in a given input file
- Author:
- david
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
getPath
public java.lang.String getPath()
- Returns:
- the absolute path to this match
getStart
public int getStart()
- Returns:
- the start offset of this match
getEnd
public int getEnd()
- Returns:
- the end offset of this match
getLength
public int getLength()
- Returns:
- the length of this match
getMatchPotential
public double getMatchPotential()
- Returns:
- returns the likelihood, 0-1, that this is a match
isConfirmedMatch
public boolean isConfirmedMatch()
- Returns:
- true if we know this to be a match
getFileSpecification
public IFileSpecification getFileSpecification()
- Returns:
- the
IFileSpecification for this occurrence