public final class DocumentationUtil extends Object
Constructor and Description |
---|
DocumentationUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getDescription(Class<?> c)
Get a class description if defined, an empty string otherwise.
|
static Reference |
getReference(Class<?> c)
Get the reference annotation of a class, or
null . |
static String |
getTitle(Class<?> c)
Get a useful title from a class, either by reading the
"title" annotation, or by using the class name.
|
public static String getTitle(Class<?> c)
c
- Classpublic static String getDescription(Class<?> c)
c
- Class