Enhance java doc