![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java-reflect
王新春
这个作者很懒,什么都没留下…
展开
-
lang.reflect->java.lang.reflect.Field
原创 2013-04-19 14:43:06 · 59 阅读 · 0 评论 -
lang.reflect->java.lang.Array
2013-04-19 15:10:12 · 79 阅读 · 0 评论 -
lang.reflect->java.lang.reflect.Method
claredAnnotations)2、获取方式上的某个注解信息Annotation。(getAnnotation(Type.class))3、获取方法上的类型参数Type。(getTypeParameters)4、获取方式声明的异常类型Class[]。(getExceptionTypes)5、获取方式上的参数注解。(getParameterAnnotations)6、获取方法返回的数据类型Class。(getReturnType)7、获取方法方法的参数类型Class[](getPa原创 2013-04-19 16:46:38 · 66 阅读 · 0 评论 -
lang.reflect->java.lang.Class
原创 2013-04-20 13:31:55 · 80 阅读 · 0 评论 -
java reflect 接口概述
原创 2013-04-20 14:01:48 · 58 阅读 · 0 评论 -
lang.reflect ->java.lang.reflect.Proxy
2013-04-20 18:46:28 · 73 阅读 · 0 评论 -
java.lang.annotation
原创 2013-04-22 10:28:25 · 79 阅读 · 0 评论 -
java-InvocationHandler 动态代理
public void a(int a);}interface B { public void b(int b);}class BImpl implements InvocationHandler { private A a = new A() { public void a(int a) { System.out.println("-----a------" + a); } public String toStrin2016-07-28 16:15:18 · 62 阅读 · 0 评论 -
java-Annotation 反射
eedingJoinPoint pjp) throws Throwable{ System.out.println("BEGIN-------------------" +pjp+"-------------------"); Object obj = pjp.proceed(); System.out.println("END-------------------" +pjp+"-------2016-08-23 15:33:55 · 50 阅读 · 0 评论