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