Enhance java doc

Great that you followed the convention. What would you propose? Type or type?