Class TypeData.Builder<T>

  • Type Parameters:
    T - the main type
    Enclosing class:
    TypeData<T>

    public static final class TypeData.Builder<T>
    extends Object
    A builder for TypeData
    • Method Detail

      • addTypeParameter

        public <S> TypeData.Builder<T> addTypeParameter​(TypeData<S> typeParameter)
        Adds a type parameter
        Type Parameters:
        S - the type of the type parameter
        Parameters:
        typeParameter - the type parameter
        Returns:
        this
      • build

        public TypeData<T> build()
        Returns:
        the class type data