Interface IMatcherBuilder

    • Method Detail

      • getInstanceIfSupports

        IMatcher getInstanceIfSupports​(IOpenClass type)
        Get instance of matcher for a given type.

        It can create new instance of the matcher each time or return *itself* if one matcher is enough. It is useful for enums and e.t.c

        Parameters:
        type - variable's class
        Returns:
        null if type is not supported; or instance of a matcher
      • getName

        String getName()
        Get name of match operation.
        Returns:
        name of operation