T
- Type of StringList trait to create.@FunctionalInterface
public static interface StringListTrait.StringListTraitConstructor<T extends StringListTrait>
Modifier and Type | Method and Description |
---|---|
T |
create(java.util.List<java.lang.String> values,
FromSourceLocation sourceLocation)
Wraps the constructor of a StringList trait.
|
T create(java.util.List<java.lang.String> values, FromSourceLocation sourceLocation)
values
- Values to pass to the trait.sourceLocation
- The location in which the trait was defined.