Class NamedMatcher<T>
java.lang.Object
io.opentelemetry.javaagent.tooling.util.NamedMatcher<T>
- All Implemented Interfaces:
io.opentelemetry.javaagent.extension.matcher.internal.DelegatingMatcher,net.bytebuddy.matcher.ElementMatcher<T>
public class NamedMatcher<T>
extends Object
implements net.bytebuddy.matcher.ElementMatcher<T>, io.opentelemetry.javaagent.extension.matcher.internal.DelegatingMatcher
A matcher wrapper that adds specified name to the output of
toString to allow easy
identification of where the given matcher originates from.-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.matcher.ElementMatcher
net.bytebuddy.matcher.ElementMatcher.Junction<S extends Object> -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NamedMatcher
-
-
Method Details
-
matches
- Specified by:
matchesin interfacenet.bytebuddy.matcher.ElementMatcher<T>
-
toString
-
getDelegate
public net.bytebuddy.matcher.ElementMatcher<?> getDelegate()- Specified by:
getDelegatein interfaceio.opentelemetry.javaagent.extension.matcher.internal.DelegatingMatcher
-