Interface SimpleGenericParameters.Builder

All Known Implementing Classes:
SimpleGenericParametersImpl
Enclosing interface:
SimpleGenericParameters

public static interface SimpleGenericParameters.Builder
Interface for SimpleGenericParameters builders.
Since:
SimpleGenericParameters 1.0
Version:
1.0, 2022-12
Author:
(w) Iker Hernaez
  • Method Details

    • withElementsType

      @NotNull @NotNull SimpleGenericParameters withElementsType(@NotNull @NotNull Class<?> type)
      Creates a new instance of generation parameters with the specified class as list components type.
      Parameters:
      type - The list components type.
      Returns:
      The resulting generation parameters.
    • withElementsType

      @NotNull @NotNull SimpleGenericParameters withElementsType(@NotNull @NotNull ParameterizedType type)
      Creates a new instance of generation parameters with the specified parameterized type as list components type.
      Parameters:
      type - The list components type.
      Returns:
      The resulting generation parameters.
    • withElementsType

      @NotNull @NotNull SimpleGenericParameters withElementsType(@NotNull @NotNull GenericArrayType type)
      Creates a new instance of generation parameters with the specified generic array type as list components type.
      Parameters:
      type - The list components type.
      Returns:
      The resulting generation parameters.