标签:getname public super nbsp 私有 generic 访问权限 就是 sim
1. Annotation[] annotations = (Annotation[]) class1.getAnnotations();//获取class对象的所有注解
2. Annotation annotation = (Annotation) class1.getAnnotation(Deprecated.class);//获取class对象指定注解
3. Type genericSuperclass = class1.getGenericSuperclass();//获取class对象的直接超类的
4. Type Type[] interfaceTypes = class1.getGenericInterfaces();//获取class对象的所有接口的type集合
WildcardType:代表一种通配符类型表达式,比如?、? extends Number、? super Integer。(wildcard是一个单词:就是”通配符“)
标签:getname public super nbsp 私有 generic 访问权限 就是 sim
原文地址:https://www.cnblogs.com/dgwblog/p/11701256.html