Top Description Constructors Methods
nonapi.io.github.classgraph.utils

public final Class Assert

extends Object
Class Inheritance

Assertions.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static void
isAnnotation(final Class<?>
the class.
clazz
)

Throw IllegalArgumentException if the class is not an annotation.

public static void
isInterface(final Class<?>
the class.
clazz
)

Throw IllegalArgumentException if the class is not an interface.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Assertback to summary
public Assert()

Method Detail

isAnnotationback to summary
public static void isAnnotation(final Class<?> clazz)

Throw IllegalArgumentException if the class is not an annotation.

Parameters
clazz:Class<?>

the class.

Exceptions
IllegalArgumentException:
if the class is not an annotation.
isInterfaceback to summary
public static void isInterface(final Class<?> clazz)

Throw IllegalArgumentException if the class is not an interface.

Parameters
clazz:Class<?>

the class.

Exceptions
IllegalArgumentException:
if the class is not an interface.