Uses of Class
spoon.pattern.internal.matcher.TobeMatched
Packages that use TobeMatched
-
Uses of TobeMatched in spoon.pattern.internal.matcher
Methods in spoon.pattern.internal.matcher that return TobeMatchedModifier and TypeMethodDescriptionTobeMatched.copyAndSetParams(ImmutableMap newParams) Makes a copy of this match context with the same targets, but with new `parameters`static TobeMatchedTobeMatched.create(ImmutableMap parameters, ContainerKind containerKind, Object target) ChainOfMatchersImpl.matchAllWith(TobeMatched targets) Matchers.matchAllWith(TobeMatched targets) Matches all matchers of thisMatchersinstance with `targets`@Nullable TobeMatchedTobeMatched.matchNext(BiFunction<Object, ImmutableMap, ImmutableMap> matcher) Calls matcher algorithm to match target itemTobeMatched.removeTarget(int idxOfTobeRemovedTarget) TobeMatched.removeTarget(ImmutableMap parameters, int idxOfTobeRemovedTarget) Methods in spoon.pattern.internal.matcher with parameters of type TobeMatchedModifier and TypeMethodDescriptionstatic @Nullable ImmutableMapTobeMatched.getMatchedParameters(TobeMatched remainingMatch) List<?>TobeMatched.getMatchedTargets(TobeMatched tobeMatchedTargets) ChainOfMatchersImpl.matchAllWith(TobeMatched targets) Matchers.matchAllWith(TobeMatched targets) Matches all matchers of thisMatchersinstance with `targets` -
Uses of TobeMatched in spoon.pattern.internal.node
Methods in spoon.pattern.internal.node that return TobeMatchedModifier and TypeMethodDescriptionForEachNode.matchAllWith(TobeMatched tobeMatched) default TobeMatchedRootNode.matchAllWith(TobeMatched targets) ListOfNodes.matchTargets(TobeMatched targets, Matchers nextMatchers) RootNode.matchTargets(TobeMatched targets, Matchers nextMatchers) SwitchNode.matchTargets(TobeMatched targets, Matchers nextMatchers) Methods in spoon.pattern.internal.node with parameters of type TobeMatchedModifier and TypeMethodDescriptionForEachNode.matchAllWith(TobeMatched tobeMatched) default TobeMatchedRootNode.matchAllWith(TobeMatched targets) ListOfNodes.matchTargets(TobeMatched targets, Matchers nextMatchers) RootNode.matchTargets(TobeMatched targets, Matchers nextMatchers) SwitchNode.matchTargets(TobeMatched targets, Matchers nextMatchers)