Class ProviderMethod.FastClassProviderMethod<T>

    • Field Detail

      • fastClass

        final net.sf.cglib.reflect.FastClass fastClass
      • methodIndex

        final int methodIndex
    • Constructor Detail

      • FastClassProviderMethod

        FastClassProviderMethod​(Key<T> key,
                                net.sf.cglib.reflect.FastClass fc,
                                java.lang.reflect.Method method,
                                java.lang.Object instance,
                                com.google.common.collect.ImmutableSet<Dependency<?>> dependencies,
                                java.lang.Class<? extends java.lang.annotation.Annotation> scopeAnnotation,
                                java.lang.annotation.Annotation annotation)
    • Method Detail

      • doProvision

        public T doProvision​(java.lang.Object[] parameters)
                      throws java.lang.IllegalAccessException,
                             java.lang.reflect.InvocationTargetException
        Description copied from class: ProviderMethod
        Extension point for our subclasses to implement the provisioning strategy.
        Specified by:
        doProvision in class ProviderMethod<T>
        Throws:
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException