Class TypeSafeMatching

java.lang.Object
org.mockito.internal.invocation.TypeSafeMatching
All Implemented Interfaces:
ArgumentMatcherAction

public class TypeSafeMatching extends Object implements ArgumentMatcherAction
  • Field Details

    • TYPE_SAFE_MATCHING_ACTION

      private static final ArgumentMatcherAction TYPE_SAFE_MATCHING_ACTION
    • argumentTypeCache

      private static final ConcurrentMap<Class<?>,Class<?>> argumentTypeCache
      This cache is in theory unbounded. However, its max size is bounded by the number of types of argument matchers that are both in the system and being used, which is expected to bound the cache's size to a low number (invalid input: '<'200) in all but the most contrived cases, and form a small percentage of the overall memory usage of those classes.
  • Constructor Details

    • TypeSafeMatching

      private TypeSafeMatching()
  • Method Details