List<DirectiveInstance> |
Directives.buildDirectiveInstances(Annotations annotations,
String directiveLocation,
String referenceName) |
|
static Optional<AdaptTo> |
AdaptToHelper.getAdaptTo(Field field,
Annotations annotations) |
Get the adaptTo for a certain field (if any)
|
static Optional<AdaptTo> |
AdaptToHelper.getAdaptTo(Reference r,
Annotations annotations) |
Get the adapt to for a certain reference.
|
static Optional<AdaptWith> |
AdaptWithHelper.getAdaptWith(Direction direction,
ReferenceCreator referenceCreator,
Field field,
Annotations annotations) |
Get the adaptWith for a certain field (if any)
|
static Optional<AdaptWith> |
AdaptWithHelper.getAdaptWith(Direction direction,
ReferenceCreator referenceCreator,
Reference r,
Annotations annotations) |
Get the adapt with for a certain reference.
|
static Optional<AdaptWith> |
AdaptWithHelper.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 String |
TypeNameHelper.getAnyTypeName(org.jboss.jandex.ClassInfo classInfo,
Annotations annotationsForThisClass,
TypeAutoNameStrategy autoNameStrategy) |
|
static String |
TypeNameHelper.getAnyTypeName(org.jboss.jandex.ClassInfo classInfo,
Annotations annotationsForThisClass,
TypeAutoNameStrategy autoNameStrategy,
ReferenceType referenceType) |
|
static String |
TypeNameHelper.getAnyTypeName(org.jboss.jandex.ClassInfo classInfo,
Annotations annotationsForThisClass,
TypeAutoNameStrategy autoNameStrategy,
ReferenceType referenceType,
Map<String,Reference> classParametrizedTypes) |
|
static String |
FormatHelper.getDateFormatString(Annotations annotations,
org.jboss.jandex.Type type) |
The the date format as a String
This is used to add to the description in the schema
|
static Optional<String> |
DefaultValueHelper.getDefaultValue(Annotations... annotations) |
Find a default object in the annotation, or empty if nothing
|
static Optional<String> |
DescriptionHelper.getDescriptionForField(Annotations annotations,
org.jboss.jandex.Type type) |
Get the Description on a field or argument
|
static Optional<String> |
DescriptionHelper.getDescriptionForType(Annotations annotations) |
Get the description on a class type
|
static Optional<Transformation> |
FormatHelper.getFormat(org.jboss.jandex.Type type,
Annotations annotations) |
Get the format model object for a certain type.
|
static String |
TypeNameHelper.getMethodName(org.jboss.jandex.MethodInfo methodInfo,
Annotations annotations) |
|
static Optional<String> |
FormatHelper.getNumberFormatString(Annotations annotations) |
The the number format (if any) as a String
This is used to add to the description in the schema
|
static boolean |
FormatHelper.hasAnyFormatting(Annotations annotations) |
Test if any formatting is present.
|
static boolean |
NonNullHelper.markAsNonNull(org.jboss.jandex.Type type,
Annotations annotations) |
Check if we should mark a certain type as non null.
|
static boolean |
NonNullHelper.markAsNonNull(org.jboss.jandex.Type type,
Annotations annotations,
boolean ignorePrimitiveCheck) |
Check if we should mark a certain type as non null.
|
static boolean |
AdaptToHelper.shouldCreateTypeInSchema(Annotations annotations) |
|
static boolean |
AdaptWithHelper.shouldCreateTypeInSchema(Annotations annotations) |
|
static boolean |
IgnoreHelper.shouldIgnore(Annotations annotations) |
See if we should ignore this.
|
static boolean |
IgnoreHelper.shouldIgnore(Annotations annotations,
org.jboss.jandex.FieldInfo fieldInfo) |
See if we should ignore this.
|
List<DirectiveInstance> |
BeanValidationDirectivesHelper.transformBeanValidationConstraintsToDirectives(Annotations annotations) |
Finds supported bean validation annotations within the `annotations` list and for each of them, generates
a `DirectiveInstance` containing a corresponding `@constraint` GraphQL directive.
|
Optional<DirectiveInstance> |
DeprecatedDirectivesHelper.transformDeprecatedToDirective(Annotations annotations,
DirectiveType directiveType) |
|
Optional<DirectiveInstance> |
RolesAllowedDirectivesHelper.transformRolesAllowedToDirectives(Annotations methodAnnotations,
Annotations classAnnotations) |
|