Class SetWithField


  • public class SetWithField
    extends java.lang.Object
    Sets value with field.
    Author:
    Roman Grigoriadi
    • Constructor Summary

      Constructors 
      Constructor Description
      SetWithField​(java.lang.reflect.Field field)
      Create instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void internalSetValue​(java.lang.Object object, java.lang.Object value)  
      • Methods inherited from class java.lang.Object

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

      • SetWithField

        public SetWithField​(java.lang.reflect.Field field)
        Create instance.
        Parameters:
        field - not null
    • Method Detail

      • internalSetValue

        public void internalSetValue​(java.lang.Object object,
                                     java.lang.Object value)
                              throws java.lang.IllegalAccessException,
                                     java.lang.reflect.InvocationTargetException
        Throws:
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException