Class InputTypeCreator
java.lang.Object
io.smallrye.graphql.schema.creator.type.InputTypeCreator
This creates an input type object.
The input object has fields that might reference other types
that should still be created.
- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.jandex.MethodInfofindCreator(org.jboss.jandex.ClassInfo classInfo) Returns a constructor or factory method to create instances of this class.booleanhasUseableConstructor(org.jboss.jandex.ClassInfo classInfo) voidsetDirectives(Directives directives)
-
Constructor Details
-
InputTypeCreator
-
-
Method Details
-
create
-
getDirectiveLocation
- Specified by:
getDirectiveLocationin interfaceCreator<InputType>
-
hasUseableConstructor
public boolean hasUseableConstructor(org.jboss.jandex.ClassInfo classInfo) -
findCreator
public org.jboss.jandex.MethodInfo findCreator(org.jboss.jandex.ClassInfo classInfo) Returns a constructor or factory method to create instances of this class. Could either be the default constructor or any constructor or static method annotated with@JsonbCreator- Parameters:
classInfo- the class whose creator is to be found- Returns:
- the creator, null, if no public constructor or factory method is found
-
setDirectives
-