Home
last modified time | relevance | path

Searched refs:MethodInterceptor (Results 1 – 25 of 44) sorted by relevance

12

/external/guice/core/src/com/google/inject/internal/
DProxyFactory.java35 import org.aopalliance.intercept.MethodInterceptor;
56 private final ImmutableMap<Method, List<MethodInterceptor>> interceptors;
124 ImmutableMap.Builder<Method, List<MethodInterceptor>> interceptorsMapBuilder = null; // lazy in ProxyFactory()
139 ImmutableList<MethodInterceptor> deDuplicated = in ProxyFactory()
147 : ImmutableMap.<Method, List<MethodInterceptor>>of(); in ProxyFactory()
153 public ImmutableMap<Method, List<MethodInterceptor>> getInterceptors() { in getInterceptors()
168 callbackTypes[i] = net.sf.cglib.proxy.MethodInterceptor.class; in create()
186 List<MethodInterceptor> interceptors; // lazy
192 void addAll(List<MethodInterceptor> interceptors) { in addAll()
247 final ImmutableMap<Method, List<MethodInterceptor>> methodInterceptors;
[all …]
DMethodAspect.java23 import org.aopalliance.intercept.MethodInterceptor;
38 private final List<MethodInterceptor> interceptors;
48 Matcher<? super Method> methodMatcher, List<MethodInterceptor> interceptors) { in MethodAspect()
55 Matcher<? super Method> methodMatcher, MethodInterceptor... interceptors) { in MethodAspect()
67 List<MethodInterceptor> interceptors() { in interceptors()
DInterceptorStackCallback.java23 import org.aopalliance.intercept.MethodInterceptor;
38 final class InterceptorStackCallback implements net.sf.cglib.proxy.MethodInterceptor {
44 final MethodInterceptor[] interceptors;
48 List<MethodInterceptor> interceptors) { in InterceptorStackCallback()
50 this.interceptors = interceptors.toArray(new MethodInterceptor[interceptors.size()]); in InterceptorStackCallback()
DDefaultConstructionProxyFactory.java69 public ImmutableMap<Method, List<org.aopalliance.intercept.MethodInterceptor>> in create()
100 public ImmutableMap<Method, List<org.aopalliance.intercept.MethodInterceptor>> in create()
DConstructionProxy.java55 ImmutableMap<Method, List<org.aopalliance.intercept.MethodInterceptor>> getMethodInterceptors(); in getMethodInterceptors()
/external/guice/core/src/com/google/inject/spi/
DInterceptorBinding.java25 import org.aopalliance.intercept.MethodInterceptor;
49 private final ImmutableList<MethodInterceptor> interceptors;
55 MethodInterceptor[] interceptors) { in InterceptorBinding()
74 public List<MethodInterceptor> getInterceptors() { in getInterceptors()
84 interceptors.toArray(new MethodInterceptor[interceptors.size()])); in applyTo()
DConstructorBinding.java55 Map<Method, List<org.aopalliance.intercept.MethodInterceptor>> getMethodInterceptors(); in getMethodInterceptors()
DTypeEncounter.java120 org.aopalliance.intercept.MethodInterceptor... interceptors); in bindInterceptor()
/external/guice/core/test/com/google/inject/
DMethodInterceptionTest.java31 import org.aopalliance.intercept.MethodInterceptor;
48 private final class CountingInterceptor implements MethodInterceptor {
55 private final class ReturnNullInterceptor implements MethodInterceptor {
61 private final class NoOpInterceptor implements MethodInterceptor {
114 bindInterceptor(Matchers.any(), Matchers.any(), new MethodInterceptor() { in testGetThis()
131 bindInterceptor(Matchers.any(), Matchers.any(), new MethodInterceptor() { in testInterceptingFinalClass()
150 final MethodInterceptor countingInterceptor = new CountingInterceptor(); in testSpiAccessToInterceptors()
151 final MethodInterceptor returnNullInterceptor = new ReturnNullInterceptor(); in testSpiAccessToInterceptors()
165 assertEquals(ImmutableMap.<Method, List<MethodInterceptor>>of( in testSpiAccessToInterceptors()
172 assertEquals(ImmutableMap.<Method, List<MethodInterceptor>>of(), in testSpiAccessToInterceptors()
[all …]
DIntegrationTest.java23 import org.aopalliance.intercept.MethodInterceptor;
59 static class CountingInterceptor implements MethodInterceptor {
DBindingTest.java33 import org.aopalliance.intercept.MethodInterceptor;
286 final MethodInterceptor countingInterceptor = new MethodInterceptor() { in testToConstructorAndMethodInterceptors()
DParentInjectorTest.java133 private final org.aopalliance.intercept.MethodInterceptor returnNullInterceptor
134 = new org.aopalliance.intercept.MethodInterceptor() {
/external/mockito/src/org/mockito/internal/creation/jmock/
DClassImposterizer.java51 …public <T> T imposterise(final MethodInterceptor interceptor, Class<T> mockedType, Collection<Clas… in imposterise()
55 …public <T> T imposterise(final MethodInterceptor interceptor, Class<T> mockedType, Class<?>... anc… in imposterise()
105 enhancer.setCallbackTypes(new Class[]{MethodInterceptor.class, NoOp.class}); in createProxyClass()
133 private Object createProxy(Class<?> proxyClass, final MethodInterceptor interceptor) { in createProxy()
/external/guice/core/test/com/google/inject/internal/
DProxyFactoryTest.java30 import org.aopalliance.intercept.MethodInterceptor;
68 static class SimpleInterceptor implements MethodInterceptor {
185 static class CountingInterceptor implements MethodInterceptor {
195 static class DoubleInterceptor implements MethodInterceptor {
/external/guice/extensions/persist/src/com/google/inject/persist/
DPersistModule.java24 import org.aopalliance.intercept.MethodInterceptor;
52 protected abstract MethodInterceptor getTransactionInterceptor(); in getTransactionInterceptor()
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/
DJpaPersistModule.java32 import org.aopalliance.intercept.MethodInterceptor;
60 private MethodInterceptor transactionInterceptor;
82 @Override protected MethodInterceptor getTransactionInterceptor() { in getTransactionInterceptor()
DJpaLocalTxnInterceptor.java23 import org.aopalliance.intercept.MethodInterceptor;
34 class JpaLocalTxnInterceptor implements MethodInterceptor {
DJpaFinderProxy.java28 import org.aopalliance.intercept.MethodInterceptor;
48 class JpaFinderProxy implements MethodInterceptor {
/external/guice/extensions/persist/lib/
Daopalliance.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/aopalliance/ org/ ...
/external/guice/lib/
Daopalliance.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/aopalliance/ org/ ...
/external/mockito/src/org/mockito/internal/creation/
DMethodInterceptorFilter.java8 import org.mockito.cglib.proxy.MethodInterceptor;
30 public class MethodInterceptorFilter implements MethodInterceptor, Serializable {
/external/guice/core/test/com/googlecode/guice/
DBytecodeGenTest.java30 import org.aopalliance.intercept.MethodInterceptor;
55 bindInterceptor(any(), any(), new MethodInterceptor() {
66 bindInterceptor(any(), any(), new MethodInterceptor() {
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
DMethodInterceptor.java23 public interface MethodInterceptor interface
DCallbackInfo.java54 new CallbackInfo(MethodInterceptor.class, MethodInterceptorGenerator.INSTANCE),
/external/guice/jdk8-tests/test/com/google/inject/jdk8/
DDefaultMethodInterceptionTest.java30 import org.aopalliance.intercept.MethodInterceptor;
47 private final MethodInterceptor interceptor = invocation -> {

12