public class AdaptWithHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static Optional<AdaptWith> |
getAdaptWith(Direction direction,
ReferenceCreator referenceCreator,
Field field,
Annotations annotations)
Get the adaptWith for a certain field (if any)
|
static Optional<AdaptWith> |
getAdaptWith(Direction direction,
ReferenceCreator referenceCreator,
Reference r,
Annotations annotations)
Get the adapt with for a certain reference.
|
static Optional<AdaptWith> |
getAdaptWith(Direction direction,
ReferenceCreator referenceCreator,
Reference r,
Annotations annotations,
io.smallrye.graphql.schema.helper.AdaptWithHelper.AdapterType adapterType)
Get the adapt with for a certain reference.
|
static boolean |
shouldCreateTypeInSchema(Annotations annotations) |
public static boolean shouldCreateTypeInSchema(Annotations annotations)
public static Optional<AdaptWith> getAdaptWith(Direction direction, ReferenceCreator referenceCreator, Field field, Annotations annotations)
direction - referenceCreator - field - annotations - the annotationspublic static Optional<AdaptWith> getAdaptWith(Direction direction, ReferenceCreator referenceCreator, Reference r, Annotations annotations, io.smallrye.graphql.schema.helper.AdaptWithHelper.AdapterType adapterType)
direction - referenceCreator - r - annotations - the annotationspublic static Optional<AdaptWith> getAdaptWith(Direction direction, ReferenceCreator referenceCreator, Reference r, Annotations annotations)
direction - referenceCreator - r - annotations - the annotationsCopyright © 2018–2021. All rights reserved.