Class InputTypeCreator

  • All Implemented Interfaces:
    Creator<InputType>

    public class InputTypeCreator
    extends Object
    implements Creator<InputType>
    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 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)