Interface StringListTrait.StringListTraitConstructor<T extends StringListTrait>

Type Parameters:
T - Type of StringList trait to create.
Enclosing class:
StringListTrait
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface StringListTrait.StringListTraitConstructor<T extends StringListTrait>
Factory method to create a StringList provider.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(List<String> values, FromSourceLocation sourceLocation)
    Wraps the constructor of a StringList trait.
  • Method Details

    • create

      T create(List<String> values, FromSourceLocation sourceLocation)
      Wraps the constructor of a StringList trait.
      Parameters:
      values - Values to pass to the trait.
      sourceLocation - The location in which the trait was defined.
      Returns:
      Returns the created StringList trait.