Package de.obqo.decycle.slicer
Class PatternMatchingCategorizer
- java.lang.Object
-
- de.obqo.decycle.slicer.PatternMatchingCategorizer
-
- All Implemented Interfaces:
Categorizer,Function<Node,Set<Node>>
public class PatternMatchingCategorizer extends Object implements Categorizer
Categorizes class nodes by matching them against unnamed patterns.The category of a matched node is that part of the match that is wrapped in curly braces.
Example:
de.{*}.testmatchesde.some.testand creates a slice node with the namesome- See Also:
PatternMatcher
-
-
Field Summary
-
Fields inherited from interface de.obqo.decycle.slicer.Categorizer
EMPTY, NONE
-
-
Constructor Summary
Constructors Constructor Description PatternMatchingCategorizer(String sliceType, String pattern)
-