1.
<col>
package getpackage()
获取所在的包信息
class<? super t>getsuperclass()
获取继承的父类信息
class<?>[] getinterfaces()
获取实现的所有接口
annotation[] getannotations()
获取注解信息
type[] getgenericinterface()
获取泛型信息
2. 代码示例
运行效果
3. 反射机制 - 小结
4.反射机制 - 练习