Class TypeCreator
java.lang.Object
io.smallrye.graphql.schema.creator.type.TypeCreator
This creates a type object.
The type object has fields that might reference other types that should still be created. It might also implement some interfaces that should be created. It might also have some operations that reference other types that should still be created.
- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
-
Constructor Summary
ConstructorsConstructorDescriptionTypeCreator(ReferenceCreator referenceCreator, FieldCreator fieldCreator, OperationCreator operationCreator) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidaddOperations(Type type, org.jboss.jandex.ClassInfo classInfo) protected ReferenceTypevoidsetDirectives(Directives directives) toOperations(Map<org.jboss.jandex.DotName, List<org.jboss.jandex.MethodParameterInfo>> sourceFields, Type type, org.jboss.jandex.ClassInfo classInfo)
-
Constructor Details
-
TypeCreator
public TypeCreator(ReferenceCreator referenceCreator, FieldCreator fieldCreator, OperationCreator operationCreator)
-
-
Method Details