摘要: 原文地址:https://blog.csdn.net/weixin_43888891/article/details/126981711 @Documented和@Deprecated注解长得有点像,@Deprecated是用来标注某个类或者方法不建议再继续使用,@Documented只能用在注解上 阅读全文
posted @ 2025-01-13 15:26 Angel挤一挤 阅读(834) 评论(0) 推荐(0)
摘要: 原文:https://blog.csdn.net/weixin_43888891/article/details/126963074 一、概念 1.1. 什么是注解? Java注解(Annotation),也叫元数据。一种代码级别的说明。它是JDK1.5及以后版本引入的一个特性,与类、接口、枚举是在 阅读全文
posted @ 2025-01-13 15:21 Angel挤一挤 阅读(3655) 评论(0) 推荐(1)