public class GenericPatternMatcher extends BaseMatcher<GenericPatternMatch>
GenericQuerySpecification
first, then
invoke e.g. BaseQuerySpecification.getMatcher(IncQueryEngine)
.
in conjunction with IncQueryEngine.on(org.eclipse.incquery.runtime.api.scope.IncQueryScope)
.
Whenever available, consider using the pattern-specific generated matcher API instead.
Matches of the pattern will be represented as GenericPatternMatch
.
GenericPatternMatch
,
GenericMatchProcessor
,
GenericQuerySpecification
Modifier and Type | Method and Description |
---|---|
GenericPatternMatch |
arrayToMatch(java.lang.Object[] parameters)
Converts the array representation of a pattern match to an immutable Match object.
|
GenericPatternMatch |
arrayToMatchMutable(java.lang.Object[] parameters)
Converts the array representation of a pattern match to a mutable Match object.
|
GenericQuerySpecification<? extends GenericPatternMatcher> |
getSpecification()
The pattern that will be matched.
|
countMatches, countMatches, forEachMatch, forEachMatch, forOneArbitraryMatch, forOneArbitraryMatch, getAllMatches, getAllMatches, getAllValues, getAllValues, getEngine, getOneArbitraryMatch, getOneArbitraryMatch, getParameterNames, getPatternName, getPositionOfParameter, hasMatch, newEmptyMatch, newMatch
public GenericPatternMatch arrayToMatch(java.lang.Object[] parameters)
BaseMatcher
public GenericPatternMatch arrayToMatchMutable(java.lang.Object[] parameters)
BaseMatcher
public GenericQuerySpecification<? extends GenericPatternMatcher> getSpecification()
IncQueryMatcher
getSpecification
in interface IncQueryMatcher<GenericPatternMatch>
getSpecification
in class BaseMatcher<GenericPatternMatch>