com.google.inject.spi.ProvidesMethodTargetVisitor Maven / Gradle / Ivy
package com.google.inject.spi;
import com.google.inject.Provides;
/**
* A visitor for the {@literal @}{@link Provides} bindings.
*
* If your {@link BindingTargetVisitor} implements this interface, bindings created by using
* {@code @Provides} will be visited through this interface.
*/
public interface ProvidesMethodTargetVisitor extends BindingTargetVisitor {
/**
* Visits an {@link ProvidesMethodBinding} created with an {@literal @}{@link Provides} method.
*/
V visit(ProvidesMethodBinding extends T> providesMethodBinding);
}