Class Assert
java.lang.Object
nonapi.io.github.classgraph.utils.Assert
Assertions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
isAnnotation
(Class<?> clazz) ThrowIllegalArgumentException
if the class is not an annotation.static void
isInterface
(Class<?> clazz) ThrowIllegalArgumentException
if the class is not an interface.
-
Constructor Details
-
Assert
public Assert()
-
-
Method Details
-
isAnnotation
ThrowIllegalArgumentException
if the class is not an annotation.- Parameters:
clazz
- the class.- Throws:
IllegalArgumentException
- if the class is not an annotation.
-
isInterface
ThrowIllegalArgumentException
if the class is not an interface.- Parameters:
clazz
- the class.- Throws:
IllegalArgumentException
- if the class is not an interface.
-