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)
TMObjectMatcherIF
matches
in interface TMObjectMatcherIF
public boolean equals(TMObjectMatcherIF object)
TMObjectMatcherIF
equals
in interface TMObjectMatcherIF