Class SurefireReflector.ClassLoaderProxy

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

    class SurefireReflector.ClassLoaderProxy
    extends java.lang.Object
    implements java.lang.reflect.InvocationHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Object target  
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassLoaderProxy​(java.lang.Object delegate)  
    • Method Summary

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

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

      • target

        private final java.lang.Object target
    • Constructor Detail

      • ClassLoaderProxy

        ClassLoaderProxy​(java.lang.Object delegate)
        Parameters:
        delegate - a target
    • Method Detail

      • invoke

        public java.lang.Object invoke​(java.lang.Object proxy,
                                       java.lang.reflect.Method method,
                                       java.lang.Object[] args)
                                throws java.lang.Throwable
        Specified by:
        invoke in interface java.lang.reflect.InvocationHandler
        Throws:
        java.lang.Throwable