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


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