Class MappingMatcher


  • public class MappingMatcher
    extends java.lang.Object
    Match mappings to facts The wildcard-to-regex conversion logic implemented in this class is inspired by Mark R. Hoffman's WildcardMatcher.java as committed to JaCoCo in 2009. The concept has been reused, but the code has been re-implemented to be safe for Unicode characters outside the basic multilingual plane (i.e. unicode surrogate pairs are processed together.) Reference: https://github.com/jacoco/jacoco/commit/b8ee4efe
    • Constructor Summary

      Constructors 
      Constructor Description
      MappingMatcher()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean match​(Fact fact, Mapping mapping)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MappingMatcher

        public MappingMatcher()
    • Method Detail

      • match

        public boolean match​(Fact fact,
                             Mapping mapping)