/** * Construct a new immutable {@code PropertyRelation} instance. * @param action The value for the {@code action} attribute * @param when The value for the {@code when} attribute * @return An immutable PropertyRelation instance */ public static PropertyRelation of(String action, List<PropertyRelation.When> when) { return of(action, (Iterable<? extends PropertyRelation.When>) when); }