Class 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.{*}.test matches de.some.test and creates a slice node with the name some

    See Also:
    PatternMatcher