Class InputTypeCreator
- java.lang.Object
-
- io.smallrye.graphql.schema.creator.type.InputTypeCreator
-
-
Constructor Summary
Constructors Constructor Description InputTypeCreator(FieldCreator fieldCreator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputTypecreate(org.jboss.jandex.ClassInfo classInfo, Reference reference)org.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 Detail
-
InputTypeCreator
public InputTypeCreator(FieldCreator fieldCreator)
-
-
Method Detail
-
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
public void setDirectives(Directives directives)
-
-