adding java docs to event class