public class AdaptToHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static Optional<AdaptTo> |
getAdaptTo(Field field,
Annotations annotations)
Get the adaptTo for a certain field (if any)
|
static Optional<AdaptTo> |
getAdaptTo(Reference r,
Annotations annotations)
Get the adapt to for a certain reference.
|
static boolean |
shouldCreateTypeInSchema(Annotations annotations) |
public static boolean shouldCreateTypeInSchema(Annotations annotations)
public static Optional<AdaptTo> getAdaptTo(Field field, Annotations annotations)
field - annotations - the annotationspublic static Optional<AdaptTo> getAdaptTo(Reference r, Annotations annotations)
r - annotations - the annotationsCopyright © 2018–2022. All rights reserved.