Interface TypeVariableBuilder<A>

Type Parameters:
A - the type of the parent builder
All Known Implementing Classes:
GenericTypeVariableBuilder

public interface TypeVariableBuilder<A>

A wildcard type argument builder is used to specify the bounds of a parameterized type variable.

Author:
Jeremy Kuhn
  • Method Details

    • boundType

      Specifies the bound type of the type variable.

      Parameters:
      rawType - an erased type
      Returns:
      a type argument builder with this builder as parent
    • and

      A and()

      Finalizes this builder and returns the parent builder.

      Returns:
      the parent builder
      Throws:
      IllegalStateException - if the builder is not in a proper state to be finalized