public final class Assert
extends java.lang.Object
| Constructor and Description |
|---|
Assert() |
| Modifier and Type | Method and 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. |
public static void isAnnotation(java.lang.Class<?> clazz)
IllegalArgumentException if the class is not an annotation.clazz - the class.java.lang.IllegalArgumentException - if the class is not an annotation.public static void isInterface(java.lang.Class<?> clazz)
IllegalArgumentException if the class is not an interface.clazz - the class.java.lang.IllegalArgumentException - if the class is not an interface.