Sanne what I did was make an ImmutableLockOptions class that extends and overrides the setters. This is OK, but IntelliJ complains that:
Referencing subclass ImmutableLockOptions from superclass LockOptions initializer might lead to class loading deadlock
Not sure if that’s a real problem I should be worried about. |