com.adobe.flexbuilder.codemodel.search
Interface IDefinitionOccurrence
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable, IDefinitionRelativeLocation, IOccurrence
- All Known Subinterfaces:
- ISWCOccurrence
- public interface IDefinitionOccurrence
- extends IOccurrence, IDefinitionRelativeLocation
Represents an occurrence that maps to an IDefinition
- Author:
- dz
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
isInstance
public boolean isInstance()
- Returns:
- true if this is the identifier we are searching against
isDeclaration
public boolean isDeclaration()
- Returns:
- true if this is a declaration and a reference
isAccessorMatch
public boolean isAccessorMatch()
- Returns:
- true if this is a match to an accessor, so true if we are searching for a getter node or a setter node
isReference
public boolean isReference()
- Returns:
- true if this is a reference
getDefinition
public IDefinition getDefinition()
- Returns:
- the definition instance at this occurrence