Class ModelCreator
java.lang.Object
io.smallrye.graphql.schema.creator.ModelCreator
- Direct Known Subclasses:
ArgumentCreator,CustomScalarCreator,DirectiveTypeCreator,FieldCreator,OperationCreator
Abstract creator
- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Stringprotected static org.jboss.jandex.TypegetReturnType(org.jboss.jandex.FieldInfo fieldInfo) The return type.protected static org.jboss.jandex.TypegetReturnType(org.jboss.jandex.MethodInfo methodInfo) The return type.This is usually the method return type, but can also be adapted to something elseprotected voidpopulateField(Direction direction, Field field, org.jboss.jandex.Type type, Annotations annotations) protected voidpopulateField(Direction direction, Field field, org.jboss.jandex.Type fieldType, org.jboss.jandex.Type methodType, Annotations annotations) voidsetDirectives(Directives directives)
-
Field Details
-
directives
-
referenceCreator
-
-
Constructor Details
-
ModelCreator
-
-
Method Details
-
setDirectives
-
getReferenceCreator
-
getTypeAutoNameStrategy
-
getReturnType
protected static org.jboss.jandex.Type getReturnType(org.jboss.jandex.MethodInfo methodInfo) The return type.This is usually the method return type, but can also be adapted to something else- Parameters:
methodInfo- method- Returns:
- the return type
-
getReturnType
protected static org.jboss.jandex.Type getReturnType(org.jboss.jandex.FieldInfo fieldInfo) The return type. This is usually the method return type, but can also be adapted to something else -
getDirectiveLocation
-
populateField
protected void populateField(Direction direction, Field field, org.jboss.jandex.Type type, Annotations annotations) -
populateField
protected void populateField(Direction direction, Field field, org.jboss.jandex.Type fieldType, org.jboss.jandex.Type methodType, Annotations annotations)
-