Class SetFieldInvoker

  • All Implemented Interfaces:
    Invoker

    public class SetFieldInvoker
    extends java.lang.Object
    implements Invoker
    Author:
    Clinton Begin
    • Constructor Summary

      Constructors 
      Constructor Description
      SetFieldInvoker​(java.lang.reflect.Field field)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.Class<?> getType()  
      java.lang.Object invoke​(java.lang.Object target, java.lang.Object[] args)  
      • Methods inherited from class java.lang.Object

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

      • SetFieldInvoker

        public SetFieldInvoker​(java.lang.reflect.Field field)
    • Method Detail

      • invoke

        public java.lang.Object invoke​(java.lang.Object target,
                                       java.lang.Object[] args)
                                throws java.lang.IllegalAccessException
        Specified by:
        invoke in interface Invoker
        Throws:
        java.lang.IllegalAccessException
      • getType

        public java.lang.Class<?> getType()
        Specified by:
        getType in interface Invoker