Uses of Class
io.smallrye.graphql.schema.Annotations
-
Packages that use Annotations Package Description io.smallrye.graphql.schema io.smallrye.graphql.schema.creator io.smallrye.graphql.schema.helper -
-
Uses of Annotations in io.smallrye.graphql.schema
Methods in io.smallrye.graphql.schema that return Annotations Modifier and Type Method Description static AnnotationsAnnotations. getAnnotationsForArgument(org.jboss.jandex.MethodInfo methodInfo, short pos)Used when we are creating operation and arguments for these operationsstatic AnnotationsAnnotations. getAnnotationsForArray(org.jboss.jandex.Type typeInCollection, org.jboss.jandex.Type methodTypeInCollection)Get used when creating arrays.static AnnotationsAnnotations. getAnnotationsForClass(org.jboss.jandex.ClassInfo classInfo)Get used when we create types and references to themstatic AnnotationsAnnotations. getAnnotationsForInputCreator(org.jboss.jandex.MethodInfo method, short position, org.jboss.jandex.FieldInfo fieldInfo)static AnnotationsAnnotations. getAnnotationsForInterfaceField(org.jboss.jandex.MethodInfo methodInfo)Get used when creating fields on interfaces.static AnnotationsAnnotations. getAnnotationsForMethod(org.jboss.jandex.MethodInfo methodInfo)Get used when creating operations.static AnnotationsAnnotations. getAnnotationsForPojo(Direction direction, org.jboss.jandex.FieldInfo fieldInfo)Get used when creating fields on inputs and types.static AnnotationsAnnotations. getAnnotationsForPojo(Direction direction, org.jboss.jandex.FieldInfo fieldInfo, org.jboss.jandex.MethodInfo methodInfo)Get used when creating fields on inputs and types.AnnotationsAnnotations. removeAnnotations(org.jboss.jandex.DotName... annotations) -
Uses of Annotations in io.smallrye.graphql.schema.creator
Methods in io.smallrye.graphql.schema.creator with parameters of type Annotations Modifier and Type Method Description ReferenceReferenceCreator. createReferenceForAdapter(org.jboss.jandex.Type fieldType, Annotations annotations, Direction direction)Get a reference to a field type for an adapter on a fieldReferenceReferenceCreator. createReferenceForInterfaceField(org.jboss.jandex.Type methodType, Annotations annotationsForThisMethod, Reference parentObjectReference)Get a reference to a field (method response) on an interface Interfaces is only usable on Type, so the direction in OUT.ReferenceReferenceCreator. createReferenceForOperationArgument(org.jboss.jandex.Type argumentType, Annotations annotationsForThisArgument)Get a reference to a argument type for an operation Direction is IN on an argument (and OUT on a field) In the case of operation, there is no field (only methods)ReferenceReferenceCreator. createReferenceForOperationField(org.jboss.jandex.Type fieldType, Annotations annotationsForMethod)Get a reference to a field type for an operation Direction is OUT on a field (and IN on an argument) In the case of operations, there is no fields (only methods)ReferenceReferenceCreator. createReferenceForPojoField(org.jboss.jandex.Type fieldType, org.jboss.jandex.Type methodType, Annotations annotations, Direction direction, Reference parentObjectReference)Get a reference to a Field Type for a InputType or Type.ReferenceReferenceCreator. createReferenceForSourceArgument(org.jboss.jandex.Type argumentType, Annotations annotationsForThisArgument)Get a reference to a source argument type for an operation Direction is OUT on an argument.protected voidModelCreator. populateField(Direction direction, Field field, org.jboss.jandex.Type type, Annotations annotations)protected voidModelCreator. populateField(Direction direction, Field field, org.jboss.jandex.Type fieldType, org.jboss.jandex.Type methodType, Annotations annotations) -
Uses of Annotations in io.smallrye.graphql.schema.helper
Methods in io.smallrye.graphql.schema.helper with parameters of type Annotations Modifier and Type Method Description 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 StringTypeNameHelper. getAnyTypeName(org.jboss.jandex.ClassInfo classInfo, Annotations annotationsForThisClass, TypeAutoNameStrategy autoNameStrategy)static StringTypeNameHelper. getAnyTypeName(org.jboss.jandex.ClassInfo classInfo, Annotations annotationsForThisClass, TypeAutoNameStrategy autoNameStrategy, ReferenceType referenceType)static StringTypeNameHelper. getAnyTypeName(org.jboss.jandex.ClassInfo classInfo, Annotations annotationsForThisClass, TypeAutoNameStrategy autoNameStrategy, ReferenceType referenceType, Map<String,Reference> classParametrizedTypes)static StringFormatHelper. 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 schemastatic Optional<String>DefaultValueHelper. getDefaultValue(Annotations... annotations)Find a default object in the annotation, or empty if nothingstatic Optional<String>DescriptionHelper. getDescriptionForField(Annotations annotations, org.jboss.jandex.Type type)Get the Description on a field or argumentstatic Optional<String>DescriptionHelper. getDescriptionForType(Annotations annotations)Get the description on a class typestatic Optional<Transformation>FormatHelper. getFormat(org.jboss.jandex.Type type, Annotations annotations)Get the format model object for a certain type.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 schemastatic booleanFormatHelper. hasAnyFormatting(Annotations annotations)Test if any formatting is present.static booleanNonNullHelper. markAsNonNull(org.jboss.jandex.Type type, Annotations annotations)Check if we should mark a certain type as non null.static booleanNonNullHelper. markAsNonNull(org.jboss.jandex.Type type, Annotations annotations, boolean ignorePrimitiveCheck)Check if we should mark a certain type as non null.static booleanAdaptToHelper. shouldCreateTypeInSchema(Annotations annotations)static booleanAdaptWithHelper. shouldCreateTypeInSchema(Annotations annotations)static booleanIgnoreHelper. shouldIgnore(Annotations annotations)See if we should ignore this.static booleanIgnoreHelper. 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.
-