Interface ProvidesMethodBinding<T>

    • Method Detail

      • getMethod

        Method getMethod()
        Returns the method this binding uses.
      • getEnclosingInstance

        Object getEnclosingInstance()
        Returns the instance of the object the method is defined in.
      • getKey

        Key<T> getKey()
        Returns the key of the binding.
      • getAnnotation

        Annotation getAnnotation()
        Returns the annotation that caused this binding to be created. For @Provides methods, this is an instance of the @Provides annotation. For bindings from ModuleAnnotatedMethodScanner, this is the annotation that caused the scanner to produce the binding.