1、注释方法 利用 interface 和 implement 文字 注释的方式 显示的表现出来 2、属性检验法 转载于:https://www.cnblogs.com/suanmei/p/11194803.html