Class TextSearchRefactoringResultCollector
- java.lang.Object
-
- com._1c.g5.v8.dt.search.core.SimpleSearchResultCollector
-
- com._1c.g5.v8.dt.search.core.refactoring.TextSearchRefactoringResultCollector
-
- All Implemented Interfaces:
ISearchResultCollector
public class TextSearchRefactoringResultCollector extends SimpleSearchResultCollector
Text search result collector for refactoring
-
-
Constructor Summary
Constructors Constructor Description TextSearchRefactoringResultCollector(String searchFragment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMatch(Match match)
Adds aMatch
to this search result.void
addMatches(Collection<Match> matches)
Adds a number ofMatch
es to this search result.-
Methods inherited from class com._1c.g5.v8.dt.search.core.SimpleSearchResultCollector
getMatches
-
-
-
-
Constructor Detail
-
TextSearchRefactoringResultCollector
public TextSearchRefactoringResultCollector(String searchFragment)
-
-
Method Detail
-
addMatch
public void addMatch(Match match)
Description copied from interface:ISearchResultCollector
Adds aMatch
to this search result. This method does nothing if the match is already present.- Specified by:
addMatch
in interfaceISearchResultCollector
- Overrides:
addMatch
in classSimpleSearchResultCollector
- Parameters:
match
- the match to add, cannot benull
-
addMatches
public void addMatches(Collection<Match> matches)
Description copied from interface:ISearchResultCollector
Adds a number ofMatch
es to this search result. This method does nothing for matches that are already present.- Specified by:
addMatches
in interfaceISearchResultCollector
- Overrides:
addMatches
in classSimpleSearchResultCollector
- Parameters:
matches
- the matches to add, cannot benull
-
-