Class ClassLoaderParentMatcher<T extends java.lang.ClassLoader>

    • Field Detail

      • classLoader

        private final java.lang.ClassLoader classLoader
        The class loader that is matched for being a child of the matched class loader.
    • Constructor Detail

      • ClassLoaderParentMatcher

        public ClassLoaderParentMatcher​(java.lang.ClassLoader classLoader)
        Creates a class loader parent element matcher.
        Parameters:
        classLoader - The class loader that is matched for being a child of the matched class loader.
    • Method Detail

      • matches

        public boolean matches​(T target)
        Matches a target against this element matcher.
        Parameters:
        target - The instance to be matched.
        Returns:
        true if the given element is matched by this matcher or false otherwise.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object