Class ClassCheckFactory

java.lang.Object
org.hibernate.validator.ap.internal.classchecks.ClassCheckFactory

public class ClassCheckFactory extends Object
A factory class that provides a collection of ClassChecks based on the type of the element we need to check.
Author:
Marko Bekhta
  • Constructor Details

  • Method Details

    • getInstance

      public static ClassCheckFactory getInstance(Types typeUtils, Elements elementUtils, ConstraintHelper constraintHelper)
    • getClassChecks

      public Collection<ClassCheck> getClassChecks(Element element)
      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