this a bit sketchy since it public and therefore mutable. my rec: make this.params a List and then wrap the argument params in Collections.unmodifiableList