You used an array type here because you tried to reference the MouseUpHandler object being instantiated - how about using the keyword this instead ? 

In that case you'd be able to define the first MouseMoveHandler as final, then refer to both without using the array.