MCPcopy Create free account
hub / github.com/google/guice / bindInterceptor

Method bindInterceptor

core/src/com/google/inject/Binder.java:209–209  ·  view source on GitHub ↗

Binds method interceptor[s] to methods matched by class and method matchers. A method is eligible for interception if: Guice created the instance the method is on Neither the enclosing type nor the method is final And the method is package-private, protected, or public

(
      Matcher<? super Class<?>> classMatcher,
      Matcher<? super Method> methodMatcher,
      MethodInterceptor... interceptors)

Source from the content-addressed store, hash-verified

207 * @param interceptors to bind. The interceptors are called in the order they are given.
208 */
209 void bindInterceptor(
210 Matcher<? super Class<?>> classMatcher,
211 Matcher<? super Method> methodMatcher,
212 MethodInterceptor... interceptors);

Callers 15

configureMethod · 0.65
configureMethod · 0.65
configureMethod · 0.65
configureMethod · 0.65
hearMethod · 0.65
configureMethod · 0.65
configureMethod · 0.65
configureMethod · 0.65
configureMethod · 0.65
configureMethod · 0.65
configureMethod · 0.65

Implementers 1

RecordingBindercore/src/com/google/inject/spi/Element

Calls

no outgoing calls

Tested by 14

configureMethod · 0.52
configureMethod · 0.52
configureMethod · 0.52
configureMethod · 0.52
hearMethod · 0.52
configureMethod · 0.52
configureMethod · 0.52
configureMethod · 0.52
configureMethod · 0.52
configureMethod · 0.52
configureMethod · 0.52