Class Assert
- java.lang.Object
-
- nonapi.io.github.classgraph.utils.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)
ThrowIllegalArgumentException
if the class is not an annotation.static void
isInterface(java.lang.Class<?> clazz)
ThrowIllegalArgumentException
if the class is not an interface.
-
-
-
Method Detail
-
isAnnotation
public static void isAnnotation(java.lang.Class<?> clazz)
ThrowIllegalArgumentException
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)
ThrowIllegalArgumentException
if the class is not an interface.- Parameters:
clazz
- the class.- Throws:
java.lang.IllegalArgumentException
- if the class is not an interface.
-
-