support for java.util.List in constructor