You just need a non-static final variable.