Class UberspectImpl.VelSetterImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMethodName()
      returns the method name used to set this 'property'
      java.lang.Object invoke​(java.lang.Object o, java.lang.Object value)
      Invoke the found Set Executor.
      boolean isCacheable()
      specifies if this VelPropertySet is cacheable and able to be reused for this class of object it was returned for
      • Methods inherited from class java.lang.Object

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

    • Constructor Detail

      • VelSetterImpl

        public VelSetterImpl​(SetExecutor setExecutor)
        Parameters:
        setExecutor -
      • VelSetterImpl

        private VelSetterImpl()
    • Method Detail

      • invoke

        public java.lang.Object invoke​(java.lang.Object o,
                                       java.lang.Object value)
                                throws java.lang.Exception
        Invoke the found Set Executor.
        Specified by:
        invoke in interface VelPropertySet
        Parameters:
        o - is the Object to invoke it on.
        value - in the Value to set.
        Returns:
        The resulting Object.
        Throws:
        java.lang.Exception
      • isCacheable

        public boolean isCacheable()
        Description copied from interface: VelPropertySet
        specifies if this VelPropertySet is cacheable and able to be reused for this class of object it was returned for
        Specified by:
        isCacheable in interface VelPropertySet
        Returns:
        true if can be reused for this class, false if not
        See Also:
        VelPropertySet.isCacheable()