public class SourceLocatorMatcher extends Object implements TMObjectMatcherIF
| Constructor and Description |
|---|
SourceLocatorMatcher(LocatorIF locator)
INTERNAL: Creates a new matcher with the locator it uses to match.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(TMObjectMatcherIF object)
INTERNAL: Returns true if this object equals the given parameter.
|
LocatorIF |
getLocator()
INTERNAL: Returns the locator used for matching.
|
boolean |
matches(TMObjectIF object)
INTERNAL: Returns true if this object is matched by the matcher.
|
String |
toString() |
protected LocatorIF locator
public SourceLocatorMatcher(LocatorIF locator)
public LocatorIF getLocator()
public boolean matches(TMObjectIF object)
TMObjectMatcherIFmatches in interface TMObjectMatcherIFpublic boolean equals(TMObjectMatcherIF object)
TMObjectMatcherIFequals in interface TMObjectMatcherIF