Package net.bytebuddy.asm
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 net.bytebuddy.matcher.ElementMatcher
ElementMatcher.Junction<S>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(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:
matches
in interfaceElementMatcher<JavaConstant.MethodHandle>
- Parameters:
target
- The instance to be matched ornull
.- Returns:
true
if the given element is matched by this matcher orfalse
otherwise.
-