Home
last modified time | relevance | path

Searched refs:bindInterceptor (Results 1 – 19 of 19) sorted by relevance

/external/guice/core/test/com/google/inject/
DMethodInterceptionTest.java70 bindInterceptor(Matchers.any(), Matchers.returns(only(Foo.class)), in testSharedProxyClasses()
99 bindInterceptor(Matchers.any(), Matchers.returns(only(Foo.class)), in testSharedProxyClasses()
114 bindInterceptor(Matchers.any(), Matchers.any(), new MethodInterceptor() { in testGetThis()
131 bindInterceptor(Matchers.any(), Matchers.any(), new MethodInterceptor() { in testInterceptingFinalClass()
154 bindInterceptor(Matchers.any(),Matchers.returns(only(Foo.class)), in testSpiAccessToInterceptors()
156 bindInterceptor(Matchers.any(), Matchers.returns(only(Foo.class).or(only(Bar.class))), in testSpiAccessToInterceptors()
182 bindInterceptor(Matchers.any(), Matchers.any(), new CountingInterceptor()); in testInterceptedMethodThrows()
183 bindInterceptor(Matchers.any(), Matchers.any(), new CountingInterceptor()); in testInterceptedMethodThrows()
206 bindInterceptor(Matchers.any(), Matchers.returns(only(Foo.class)), in testNotInterceptedMethodsInInterceptedClassDontAddFrames()
261 bindInterceptor(Matchers.any(), new AbstractMatcher<Method>() { in testInterceptingNonBridgeWorks()
[all …]
DTypeListenerTest.java160 bindInterceptor(any(), buzz, prefixInterceptor("ka"));
161 bindInterceptor(any(), any(), prefixInterceptor("fe"));
165 encounter.bindInterceptor(any(), prefixInterceptor("li"));
166 encounter.bindInterceptor(buzz, prefixInterceptor("no"));
577 encounter.bindInterceptor(any(), new org.aopalliance.intercept.MethodInterceptor() {
DIntegrationTest.java37 bindInterceptor(any(), any(), counter); in testIntegration()
DParentInjectorTest.java143 super.bindInterceptor(Matchers.any(), Matchers.returns(Matchers.identicalTo(A.class)), in testInterceptorsInherited()
DBindingTest.java296 bindInterceptor(Matchers.any(), Matchers.any(), countingInterceptor); in testToConstructorAndMethodInterceptors()
/external/guice/jdk8-tests/test/com/google/inject/jdk8/
DDefaultMethodInterceptionTest.java82 bindInterceptor(Matchers.any(), Matchers.annotatedWith(InterceptMe.class), in testInterceptedDefaultMethod()
98 bindInterceptor(Matchers.any(), Matchers.annotatedWith(InterceptMe.class), in testInterceptedDefaultMethod_calledByAnotherMethod()
126 bindInterceptor(Matchers.any(), Matchers.annotatedWith(InterceptMe.class), in testInterceptedDefaultMethod_whenParentClassDefinesNonInterceptedMethod()
161 bindInterceptor(Matchers.any(), Matchers.annotatedWith(InterceptMe.class), in testInterceptedDefaultMethod_whenParentClassDefinesInterceptedMethod()
194 bindInterceptor(Matchers.subclassesOf(Baz.class), Matchers.any(), interceptor); in testInterception_ofAllMethodsOnType()
211 bindInterceptor(Matchers.subclassesOf(BazImpl.class), Matchers.any(), interceptor); in testInterception_ofAllMethodsOnType_interceptsInheritedDefaultMethod()
/external/guice/extensions/persist/src/com/google/inject/persist/
DPersistModule.java44 bindInterceptor(annotatedWith(Transactional.class), any(), getTransactionInterceptor()); in configure()
46 bindInterceptor(any(), annotatedWith(Transactional.class), getTransactionInterceptor()); in configure()
/external/guice/core/src/com/google/inject/
DAbstractModule.java168 protected void bindInterceptor(Matcher<? super Class<?>> classMatcher, in bindInterceptor() method in AbstractModule
171 binder().bindInterceptor(classMatcher, methodMatcher, interceptors); in bindInterceptor()
DPrivateModule.java226 protected final void bindInterceptor(Matcher<? super Class<?>> classMatcher, in bindInterceptor() method in PrivateModule
229 binder().bindInterceptor(classMatcher, methodMatcher, interceptors); in bindInterceptor()
DBinder.java226 void bindInterceptor(Matcher<? super Class<?>> classMatcher, in bindInterceptor() method
/external/guice/core/src/com/google/inject/spi/
DTypeEncounter.java119 void bindInterceptor(Matcher<? super Method> methodMatcher, in bindInterceptor() method
DInterceptorBinding.java83 binder.withSource(getSource()).bindInterceptor(classMatcher, methodMatcher, in applyTo()
DElements.java224 public void bindInterceptor( in bindInterceptor() method in Elements.RecordingBinder
/external/guice/core/test/com/googlecode/guice/
DBytecodeGenTest.java55 bindInterceptor(any(), any(), new MethodInterceptor() {
66 bindInterceptor(any(), any(), new MethodInterceptor() {
/external/guice/core/src/com/google/inject/internal/
DEncounterImpl.java67 public void bindInterceptor(Matcher<? super Method> methodMatcher, in bindInterceptor() method in EncounterImpl
/external/guice/core/test/com/google/inject/internal/util/
DLineNumbersTest.java65 bindInterceptor(Matchers.only(A.class), Matchers.any(), in testCanHandleLineNumbersForGuiceGeneratedClasses()
/external/guice/core/test/com/googlecode/guice/bundle/
DOSGiTestActivator.java448 bindInterceptor(new AbstractMatcher<Class<?>>() { in configure()
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DFactoryProvider2Test.java768 bindInterceptor(Matchers.any(), Matchers.any(), interceptor); in testMethodInterceptorsOnAssistedTypes()
/external/guice/core/test/com/google/inject/spi/
DElementsTest.java703 bindInterceptor(classMatcher, methodMatcher, methodInterceptor); in testBindIntercepor()