Class TypeUtils.WildcardTypeBuilder

    • Method Detail

      • build

        public WildcardType build()
        Returns a reference to the object being constructed or result being calculated by the builder.
        Specified by:
        build in interface Builder<WildcardType>
        Returns:
        the object constructed or result calculated by the builder.
      • withLowerBounds

        public TypeUtils.WildcardTypeBuilder withLowerBounds​(Type... bounds)
        Specify lower bounds of the wildcard type to build.
        Parameters:
        bounds - to set
        Returns:
        this
      • withUpperBounds

        public TypeUtils.WildcardTypeBuilder withUpperBounds​(Type... bounds)
        Specify upper bounds of the wildcard type to build.
        Parameters:
        bounds - to set
        Returns:
        this