refine java doc