Class ClassCheckFactory
java.lang.Object
org.hibernate.validator.ap.internal.classchecks.ClassCheckFactory
A factory class that provides a collection of
ClassCheck
s based on the type of the element we need to check.- Author:
- Marko Bekhta
-
Constructor Summary
ConstructorDescriptionClassCheckFactory
(Types typeUtils, Elements elementUtils, ConstraintHelper constraintHelper) -
Method Summary
Modifier and TypeMethodDescriptiongetClassChecks
(Element element) Provides a collections of checks to be performed on a given element.static ClassCheckFactory
getInstance
(Types typeUtils, Elements elementUtils, ConstraintHelper constraintHelper)
-
Constructor Details
-
ClassCheckFactory
-
-
Method Details
-
getInstance
public static ClassCheckFactory getInstance(Types typeUtils, Elements elementUtils, ConstraintHelper constraintHelper) -
getClassChecks
Provides a collections of checks to be performed on a given element.- Parameters:
element
- an element you'd like to check- Returns:
- The checks to be performed to validate the given
-