Class WrapperCreator
java.lang.Object
io.smallrye.graphql.schema.creator.WrapperCreator
Helper with detecting if this field is in a wrapper
If it is we create an WrapperInfo model that contains the relevant information
- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
-
Method Summary
Modifier and TypeMethodDescriptioncreateWrapper(org.jboss.jandex.Type type) createWrapper(org.jboss.jandex.Type fieldType, org.jboss.jandex.Type methodType) Create a Wrapper for a Field (that has properties and methods)
-
Method Details
-
createWrapper
-
createWrapper
public static Optional<Wrapper> createWrapper(org.jboss.jandex.Type fieldType, org.jboss.jandex.Type methodType) Create a Wrapper for a Field (that has properties and methods)- Parameters:
fieldType- the java field typemethodType- the java method type- Returns:
- optional array
-