Interface ElementDescriptor

    • Method Detail

      • hasConstraints

        boolean hasConstraints()
        Returns:
        returns true if at least one constraint declaration is present for this element in the class hierarchy, false otherwise
      • getElementClass

        java.lang.Class<?> getElementClass()
        Returns:
        the statically defined returned type
      • getConstraintDescriptors

        java.util.Set<ConstraintDescriptor<?>> getConstraintDescriptors()
        Returns all constraint descriptors for this element in the class hierarchy or an empty Set if none are present.
        Returns:
        Set of constraint descriptors for this element
      • findConstraints

        ElementDescriptor.ConstraintFinder findConstraints()
        Finds constraints and potentially restricts them to certain criteria.
        Returns:
        ConstraintFinder object