第14章 Annotation(注释)

第14章 Annotation(注释)

         14.1基本Annotation

                   14.1.1 限定重写父类方法:@Override

                   14.1.2 标示已过时:@Deprecated

                   14.1.3 抑制编译器警告:@SuppressWarnings

                   14.1.4 java 7的“堆污染”警告语@SafeVarargs

                   14.1.5 java 8的函数式接口与@FuncationInterface

         14.2 JDK的元Annotation

                   14.2.1 使用@Retention

                   14.2.2 使用@Target

                   14.2.3 使用@Document

                   14.2.4 使用@Inherited

         14.3自定义Annotation

                   14.3.1 定义Annotation

                   14.3.2 提取Annotation信息

                   14.3.3 使用Annotation的示例

                   14.3.4 java 8新增的重复注解

                   14.3.5 java 8新增的Type Annotation

         14.4 编译时处理Annotation

         14.5 本章小结

posted on 2019-03-20 11:37  arrows  阅读(98)  评论(0编辑  收藏  举报

导航