Class Checkers


  • public final class Checkers
    extends Object
    • Field Detail

      • PRINTER

        public static final cdc.util.debug.Printable PRINTER
    • Method Detail

      • elaborate

        public static boolean elaborate()
      • register

        public static void register​(Checker<?> checker,
                                    String name)
        Register a checker with a name.
        Parameters:
        checker - The checker.
        name - The name.
        Throws:
        IllegalArgumentException - When name or checker is invalid.
      • getNames

        public static Set<String> getNames()
        Returns:
        A set of registered checkers names.
      • hasChecker

        public static boolean hasChecker​(String name)
      • getChecker

        public static Checker<?> getChecker​(String name,
                                            cdc.util.lang.FailureReaction reaction)
      • getChecker

        public static Checker<?> getChecker​(String name)
      • getChecker

        public static <T> Checker<? super T> getChecker​(Class<T> valueClass,
                                                        String name,
                                                        cdc.util.lang.FailureReaction reaction)