摘要: public class Car { private String brand; private String color; private int maxSpeed; public Car() { } public Car(String brand, String color, int maxSp 阅读全文
posted @ 2017-06-25 19:48 inspiresn 阅读(302) 评论(0) 推荐(0)
摘要: @Target: @Target说明了Annotation所修饰的对象范围:Annotation可被用于 packages、types(类、接口、枚举、Annotation类型)、类型成员(方法、构造方法、成员变量、枚举值)、方法参数和本地变量(如循环变量、catch参数)。在Annotation类 阅读全文
posted @ 2017-06-25 15:22 inspiresn 阅读(2709) 评论(0) 推荐(0)