Class ClassLoaderMatcher
- java.lang.Object
-
- io.opentelemetry.javaagent.extension.matcher.ClassLoaderMatcher
-
public final class ClassLoaderMatcher extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static @Nullable ClassLoader
BOOTSTRAP_CLASSLOADER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase<ClassLoader>
hasClassesNamed(String... classNames)
NOTICE: Does not match the bootstrap classpath.
-
-
-
Field Detail
-
BOOTSTRAP_CLASSLOADER
public static final @Nullable ClassLoader BOOTSTRAP_CLASSLOADER
-
-
Method Detail
-
hasClassesNamed
public static net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase<ClassLoader> hasClassesNamed(String... classNames)
NOTICE: Does not match the bootstrap classpath. Don't use with classes expected to be on the bootstrap.- Parameters:
classNames
- list of names to match. returns true if empty.- Returns:
- true if class is available as a resource and not the bootstrap classloader.
-
-