Class WrapperCreator


  • public class WrapperCreator
    extends Object
    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 Detail

      • createWrapper

        public static Optional<Wrapper> createWrapper​(org.jboss.jandex.Type type)
      • 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 type
        methodType - the java method type
        Returns:
        optional array