摘要:
1.简单理解 给数据或者代码加上属性 2.简单使用 定义注解 最常用的方式 @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface CommonAnnotation { /** * 名字 * @r 阅读全文
posted @ 2020-11-26 21:41
躲在墙角的
阅读(85)
评论(0)
推荐(0)
摘要:
两种可行的方法 方法1. 设置属性,指定编译的版本 在pom文件的根节点加上 <properties> <maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.source>1.8</maven.compiler.sour 阅读全文
posted @ 2020-11-26 13:49
躲在墙角的
阅读(1016)
评论(0)
推荐(0)

浙公网安备 33010602011771号