随笔分类 -  反射

摘要:import java.lang.reflect.Method; @SuppressWarnings("rawtypes") public class ReflectionUtil { @SuppressWarnings("unchecked") public static Object invokeStaticMethod(String className, String ... 阅读全文
posted @ 2017-09-05 10:16 tonggc1668 阅读(157) 评论(0) 推荐(0)
摘要:import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import org.apache.log4j.Logger; public class ReflectionUtils { private ... 阅读全文
posted @ 2017-06-15 15:28 tonggc1668 阅读(307) 评论(0) 推荐(0)
摘要:package com.yd.wmsc.util; import java.beans.BeanInfo; import java.beans.Introspector; import java.beans.PropertyDescriptor; import java.lang.reflect.F 阅读全文
posted @ 2017-03-24 12:06 tonggc1668 阅读(141) 评论(0) 推荐(0)