Interface NoMatchingMethodsHandler
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface NoMatchingMethodsHandler
Consumer that will be called ifPatternMatchingMethodInvoker.invoke(Object)orPatternMatchingMethodInvoker.invoke(Object, NoMatchingMethodsHandler)is called with an argument that doesn't match any methods
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnoMatchesFor(Object argument)This method will be called ifPatternMatchingMethodInvoker.invoke(Object)orPatternMatchingMethodInvoker.invoke(Object, NoMatchingMethodsHandler)is called with an argument that doesn't match any methods
-
-
-
Method Detail
-
noMatchesFor
void noMatchesFor(Object argument)
This method will be called ifPatternMatchingMethodInvoker.invoke(Object)orPatternMatchingMethodInvoker.invoke(Object, NoMatchingMethodsHandler)is called with an argument that doesn't match any methods- Parameters:
argument- the argument provided toPatternMatchingMethodInvoker.invoke(Object)orPatternMatchingMethodInvoker.invoke(Object, NoMatchingMethodsHandler)which didn't result in any matching methods
-
-