注解概念、用法及JDK元注解.pdfVIP

  • 0
  • 0
  • 约2.13千字
  • 约 9页
  • 2025-10-23 发布于北京
  • 举报

本章要点

•Annotation的概念和作用。

•5个基本Annotation

•自定义Annotation及其用法

•JDK的元Annotation

•开发APT工具

5个基本的Annotation

•@Override

•@Deprecated

•@SuppressWarnings

•@SafeVarargs

•@FunctionalInterface

使用自定义Annotation

•使用@interface定义Annotation

•使用Annotation修饰程序中的类、方法、变

量、接口

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档