Class MethodReplaceStrategyImpl.MethodInvocationHandler

  • All Implemented Interfaces:
    java.lang.reflect.InvocationHandler
    Enclosing class:
    MethodReplaceStrategyImpl

    private final class MethodReplaceStrategyImpl.MethodInvocationHandler
    extends java.lang.Object
    implements java.lang.reflect.InvocationHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.reflect.Method methodDelegator  
    • Constructor Summary

      Constructors 
      Constructor Description
      MethodInvocationHandler​(java.lang.reflect.Method methodDelegator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object invoke​(java.lang.Object object, java.lang.reflect.Method invokingMethod, java.lang.Object[] arguments)  
      • Methods inherited from class java.lang.Object

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

      • methodDelegator

        private final java.lang.reflect.Method methodDelegator
    • Constructor Detail

      • MethodInvocationHandler

        public MethodInvocationHandler​(java.lang.reflect.Method methodDelegator)
    • Method Detail

      • invoke

        public java.lang.Object invoke​(java.lang.Object object,
                                       java.lang.reflect.Method invokingMethod,
                                       java.lang.Object[] arguments)
                                throws java.lang.Throwable
        Specified by:
        invoke in interface java.lang.reflect.InvocationHandler
        Throws:
        java.lang.Throwable