T - the type of the first argument that the method receives@FunctionalInterface public interface MethodFilterOnFirstArg<T>
Implementors of this interface can define custom logic to determine if a specific method should be ignored based on its first argument. This can be especially useful in scenarios where performance is crucial, and not every method needs to be processed.
| Modifier and Type | Method and Description |
|---|---|
boolean |
ignoreMethodBasedOnFirstArg(String methodName,
T firstArg)
Determines whether a method should be ignored based on its name and its first argument.
|
boolean ignoreMethodBasedOnFirstArg(String methodName, T firstArg)
methodName - The name of the method being evaluated.firstArg - The first argument passed to the method.Copyright © 2024. All rights reserved.