Interface OptionRestrictionFactory

    • Method Detail

      • createOptionRestriction

        OptionRestriction createOptionRestriction​(java.lang.annotation.Annotation annotation)
        Try and create an option restriction from the given annotation
        Parameters:
        annotation - Annotation
        Returns:
        Option restriction or null if this factory cannot create a restriction from the given annotation
      • supportedOptionAnnotations

        java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> supportedOptionAnnotations()
        Gets a list of annotations that this factory can convert into option restrictions
        Returns:
        List of supported annotations