Class ReflectionUtils


  • public class ReflectionUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> boolean setAttribute​(java.lang.Class<? extends T> clazz, T object, java.lang.String memberName, java.lang.Object value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setAttribute

        public static <T> boolean setAttribute​(java.lang.Class<? extends T> clazz,
                                               T object,
                                               java.lang.String memberName,
                                               java.lang.Object value)
                                        throws java.lang.IllegalArgumentException,
                                               java.lang.IllegalAccessException,
                                               java.lang.reflect.InvocationTargetException
        Throws:
        java.lang.IllegalArgumentException
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException