Class LoggingFailSafeMatcher<T>
java.lang.Object
net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase<T>
io.opentelemetry.javaagent.tooling.bytebuddy.LoggingFailSafeMatcher<T>
- Type Parameters:
T- The type of the matched entity.
- All Implemented Interfaces:
io.opentelemetry.javaagent.extension.matcher.internal.DelegatingMatcher, net.bytebuddy.matcher.ElementMatcher<T>, net.bytebuddy.matcher.ElementMatcher.Junction<T>
public class LoggingFailSafeMatcher<T>
extends net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase<T>
implements io.opentelemetry.javaagent.extension.matcher.internal.DelegatingMatcher
A fail-safe matcher catches exceptions that are thrown by a delegate matcher and returns
false.
Logs exception if it was thrown.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.matcher.ElementMatcher
net.bytebuddy.matcher.ElementMatcher.Junction<S>Nested classes/interfaces inherited from interface net.bytebuddy.matcher.ElementMatcher.Junction
net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase<V>, net.bytebuddy.matcher.ElementMatcher.Junction.Conjunction<W>, net.bytebuddy.matcher.ElementMatcher.Junction.Disjunction<W>, net.bytebuddy.matcher.ElementMatcher.Junction.ForNonNullValues<W> -
Constructor Summary
ConstructorsConstructorDescriptionLoggingFailSafeMatcher(net.bytebuddy.matcher.ElementMatcher<? super T> matcher, String description) Creates a new fail-safe element matcher. -
Method Summary
Methods inherited from class net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase
and, or
-
Constructor Details
-
LoggingFailSafeMatcher
-
-
Method Details
-
matches
-
toString
-
equals
-
hashCode
-
getDelegate
public net.bytebuddy.matcher.ElementMatcher<?> getDelegate()- Specified by:
getDelegatein interfaceio.opentelemetry.javaagent.extension.matcher.internal.DelegatingMatcher
-