Class Assert


  • public final class Assert
    extends java.lang.Object
    Assertions.
    • Constructor Summary

      Constructors 
      Constructor Description
      Assert()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void isAnnotation​(java.lang.Class<?> clazz)
      Throw IllegalArgumentException if the class is not an annotation.
      static void isInterface​(java.lang.Class<?> clazz)
      Throw IllegalArgumentException if the class is not an interface.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Assert

        public Assert()
    • Method Detail

      • isAnnotation

        public static void isAnnotation​(java.lang.Class<?> clazz)
        Throw IllegalArgumentException if the class is not an annotation.
        Parameters:
        clazz - the class.
        Throws:
        java.lang.IllegalArgumentException - if the class is not an annotation.
      • isInterface

        public static void isInterface​(java.lang.Class<?> clazz)
        Throw IllegalArgumentException if the class is not an interface.
        Parameters:
        clazz - the class.
        Throws:
        java.lang.IllegalArgumentException - if the class is not an interface.