Class MethodInvocationValidator

java.lang.Object
org.springframework.data.util.NullnessMethodInvocationValidator
org.springframework.data.repository.core.support.MethodInvocationValidator
All Implemented Interfaces:
Advice, Interceptor, MethodInterceptor

public class MethodInvocationValidator extends NullnessMethodInvocationValidator
Interceptor enforcing required return value and method parameter constraints declared on repository query methods. Supports Kotlin nullability markers and JSR-305 Non-null annotations.
Since:
2.0
Author:
Mark Paluch, Johannes Englmeier, Christoph Strobl
See Also: