public class DescriptionHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static Optional<String> |
getDescriptionForField(Annotations annotations,
org.jboss.jandex.Type type)
Get the Description on a field or argument
|
static Optional<String> |
getDescriptionForType(Annotations annotations)
Get the description on a class type
|
public static Optional<String> getDescriptionForField(Annotations annotations, org.jboss.jandex.Type type)
annotations - the annotations for that field/argumenttype - the java type (some types have default values)public static Optional<String> getDescriptionForType(Annotations annotations)
annotations - annotation on the classCopyright © 2018–2022. All rights reserved.