Class ClassLoaderParentMatcher<T extends java.lang.ClassLoader>

    • Constructor Detail

      • ClassLoaderParentMatcher

        public ClassLoaderParentMatcher​(@MaybeNull
                                        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​(@MaybeNull
                               T target)
        Matches a target against this element matcher.
        Parameters:
        target - The instance to be matched or null.
        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