Package net.bytebuddy.matcher
Class ClassLoaderHierarchyMatcher<T extends ClassLoader>
java.lang.Object
net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase<T>
net.bytebuddy.matcher.ClassLoaderHierarchyMatcher<T>
- Type Parameters:
T
- The exact type of the class loader that is matched.
- All Implemented Interfaces:
ElementMatcher<T>
,ElementMatcher.Junction<T>
@Enhance
public class ClassLoaderHierarchyMatcher<T extends ClassLoader>
extends ElementMatcher.Junction.AbstractBase<T>
An element matcher that matches all
ClassLoader
s in the matched class loaders hierarchy
against a given matcher.-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.matcher.ElementMatcher
ElementMatcher.Junction<S>
Nested classes/interfaces inherited from interface net.bytebuddy.matcher.ElementMatcher.Junction
ElementMatcher.Junction.AbstractBase<V>, ElementMatcher.Junction.Conjunction<W>, ElementMatcher.Junction.Disjunction<W>, ElementMatcher.Junction.ForNonNullValues<W>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ElementMatcher
<? super ClassLoader> The matcher to apply on each class loader in the hierarchy. -
Constructor Summary
ConstructorsConstructorDescriptionClassLoaderHierarchyMatcher
(ElementMatcher<? super ClassLoader> matcher) Creates a new class loader hierarchy matcher. -
Method Summary
Methods inherited from class net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase
and, or
-
Field Details
-
matcher
The matcher to apply on each class loader in the hierarchy.
-
-
Constructor Details
-
ClassLoaderHierarchyMatcher
Creates a new class loader hierarchy matcher.- Parameters:
matcher
- The matcher to apply on each class loader in the hierarchy.
-
-
Method Details