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 java.lang.Object implements ElementMatcher<JavaConstant.MethodHandle>
A matcher for method handles of thejava.lang.invoke.LambdaMetafactory
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.matcher.ElementMatcher
ElementMatcher.Junction<S>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
LambdaMetaFactoryMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(JavaConstant.MethodHandle target)
Matches a target against this element matcher.
-
-
-
Method Detail
-
matches
public boolean matches(@MaybeNull JavaConstant.MethodHandle target)
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.
-
-