java注释心得

    /** 状态类型
     *  @see StateTypeEnum 
     */
    private String                 stateType;


这种在注释中标明这个字符串对应的枚举类,是很负责任的一种注释,看似小小的举动,却极大的方便了后人阅读代码。

猜你喜欢

转载自bingyingao.iteye.com/blog/2121714