Class ReflectionLocalUtil


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void explore​(java.lang.String className)  
      static java.lang.Object getFieldValue​(java.lang.Object source, java.lang.String field)  
      static java.lang.Boolean setFieldValue​(java.lang.Object source, java.lang.String field, java.lang.Object value)  
      • Methods inherited from class java.lang.Object

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

      • ReflectionLocalUtil

        public ReflectionLocalUtil()
    • Method Detail

      • setFieldValue

        public static java.lang.Boolean setFieldValue​(java.lang.Object source,
                                                      java.lang.String field,
                                                      java.lang.Object value)
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getFieldValue

        public static java.lang.Object getFieldValue​(java.lang.Object source,
                                                     java.lang.String field)
                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • explore

        public static void explore​(java.lang.String className)
                            throws java.lang.ClassNotFoundException
        Throws:
        java.lang.ClassNotFoundException