byAnnotation
Factory method to create a MethodValidationExcludeFilter that excludes classes by annotation found using an inherited annotations search strategy.
Return
a MethodValidationExcludeFilter instance
Parameters
annotationType
the annotation to check
open fun byAnnotation(annotationType: Class<out Annotation>, searchStrategy: MergedAnnotations.SearchStrategy): MethodValidationExcludeFilter
Factory method to create a MethodValidationExcludeFilter that excludes classes by annotation found using the given search strategy.
Return
a MethodValidationExcludeFilter instance
Parameters
annotationType
the annotation to check
searchStrategy
the annotation search strategy