Interface ArgumentsRestrictionFactory

    • Method Detail

      • createArgumentsRestriction

        ArgumentsRestriction createArgumentsRestriction​(java.lang.annotation.Annotation annotation)
        Tries to create an arguments restriction from the given annotation
        Parameters:
        annotation - Annotation
        Returns:
        Arguments restriction or null if this factory cannot create a restriction from the given annotation
      • supportedArgumentsAnnotations

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