摘要: 元注解:负责注解其他注解,java5提供的4个meta-annotation元注解 @Target 规定注解修饰的范围 @Retention 对Annotation的“生命周期”限制:某些Annotation仅出现在源代码中,而被编译器丢弃;而另一些却被编译在class文件中;编译在class文件中 阅读全文
posted @ 2016-10-09 15:53 向着大牛奋斗 阅读(160) 评论(0) 推荐(0) 编辑