Class MemberSubstitution.LambdaMetaFactoryMatcher
java.lang.Object
net.bytebuddy.asm.MemberSubstitution.LambdaMetaFactoryMatcher
- All Implemented Interfaces:
ElementMatcher<JavaConstant.MethodHandle>
- Enclosing class:
MemberSubstitution
protected static class MemberSubstitution.LambdaMetaFactoryMatcher
extends Object
implements ElementMatcher<JavaConstant.MethodHandle>
A matcher for method handles of the
java.lang.invoke.LambdaMetafactory.-
Nested Class Summary
Nested classes/interfaces inherited from interface ElementMatcher
ElementMatcher.Junction<S> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(JavaConstant.MethodHandle target) Matches a target against this element matcher.
-
Constructor Details
-
LambdaMetaFactoryMatcher
protected LambdaMetaFactoryMatcher()
-
-
Method Details
-
matches
Matches a target against this element matcher.- Specified by:
matchesin interfaceElementMatcher<JavaConstant.MethodHandle>- Parameters:
target- The instance to be matched ornull.- Returns:
trueif the given element is matched by this matcher orfalseotherwise.
-