Searched defs:interfaceType (Results 1 - 25 of 27) sorted by relevance

12

/external/guava/guava/src/com/google/common/reflect/
H A DReflection.java77 * Returns a proxy instance that implements {@code interfaceType} by
79 * {@code interfaceType} will be used to define the proxy class. To implement
83 * @throws IllegalArgumentException if {@code interfaceType} does not specify
87 Class<T> interfaceType, InvocationHandler handler) {
89 checkArgument(interfaceType.isInterface(), "%s is not an interface", interfaceType);
91 interfaceType.getClassLoader(),
92 new Class<?>[] { interfaceType },
94 return interfaceType.cast(object);
86 newProxy( Class<T> interfaceType, InvocationHandler handler) argument
/external/guava/guava/src/com/google/common/util/concurrent/
H A DFakeTimeLimiter.java39 public <T> T newProxy(T target, Class<T> interfaceType, long timeoutDuration, argument
42 checkNotNull(interfaceType);
H A DTimeLimiter.java48 * Returns an instance of {@code interfaceType} that delegates all method
68 * @param interfaceType the interface you wish the returned proxy to
75 * @throws IllegalArgumentException if {@code interfaceType} is a regular
78 <T> T newProxy(T target, Class<T> interfaceType, argument
H A DSimpleTimeLimiter.java84 public <T> T newProxy(final T target, Class<T> interfaceType, argument
87 checkNotNull(interfaceType);
90 checkArgument(interfaceType.isInterface(),
91 "interfaceType must be an interface type");
94 = findInterruptibleMethods(interfaceType);
115 return newProxy(interfaceType, handler);
168 private static Set<Method> findInterruptibleMethods(Class<?> interfaceType) { argument
170 for (Method m : interfaceType.getMethods()) {
190 Class<T> interfaceType, InvocationHandler handler) {
191 Object object = Proxy.newProxyInstance(interfaceType
189 newProxy( Class<T> interfaceType, InvocationHandler handler) argument
[all...]
/external/guava/guava-testlib/src/com/google/common/testing/
H A DDummyProxy.java43 * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to each
46 final <T> T newProxy(TypeToken<T> interfaceType) { argument
48 interfaceClasses.addAll(interfaceType.getTypes().interfaces().rawTypes());
54 new DummyHandler(interfaceType));
55 @SuppressWarnings("unchecked") // interfaceType is T
64 private final TypeToken<?> interfaceType; field in class:DummyProxy.DummyHandler
66 DummyHandler(TypeToken<?> interfaceType) { argument
67 this.interfaceType = interfaceType;
72 Invokable<?, ?> invokable = interfaceType
[all...]
H A DForwardingWrapperTester.java72 Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
74 checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType);
75 Method[] methods = getMostConcreteMethods(interfaceType);
99 testSuccessfulForwarding(interfaceType, method, wrapperFunction);
100 testExceptionPropagation(interfaceType, method, wrapperFunction);
103 testEquals(interfaceType, wrapperFunction);
105 testToString(interfaceType, wrapperFunction);
122 Class<T> interfaceType, Method method, Function<? super T, ? extends T> wrapperFunction) {
123 new InteractionTester<T>(interfaceType, metho
71 testForwarding( Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) argument
121 testSuccessfulForwarding( Class<T> interfaceType, Method method, Function<? super T, ? extends T> wrapperFunction) argument
126 testExceptionPropagation( Class<T> interfaceType, Method method, Function<? super T, ? extends T> wrapperFunction) argument
148 testEquals( Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) argument
159 testToString( Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) argument
178 private final Class<T> interfaceType; field in class:ForwardingWrapperTester.InteractionTester
184 InteractionTester(Class<T> interfaceType, Method method) argument
[all...]
H A DFreshValueGenerator.java224 final <T> T newProxy(final Class<T> interfaceType) { argument
225 return Reflection.newProxy(interfaceType, new FreshInvocationHandler(interfaceType));
230 private final Class<?> interfaceType; field in class:FreshValueGenerator.FreshInvocationHandler
232 FreshInvocationHandler(Class<?> interfaceType) { argument
233 this.interfaceType = interfaceType;
237 return interfaceMethodCalled(interfaceType, method);
253 return paramString(interfaceType, identity);
259 @SuppressWarnings("unused") Class<?> interfaceType,
258 interfaceMethodCalled( @uppressWarnings�) Class<?> interfaceType, @SuppressWarnings(�) Method method) argument
[all...]
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
H A DThrowingProviderBinder.java120 bind(Class<P> interfaceType, Type clazz) { argument
121 return new SecondaryBinder<P, Object>(interfaceType, clazz);
128 bind(Class<P> interfaceType, Class<T> clazz) { argument
129 return new SecondaryBinder<P, T>(interfaceType, clazz);
136 bind(Class<P> interfaceType, TypeLiteral<T> typeLiteral) { argument
137 return new SecondaryBinder<P, T>(interfaceType, typeLiteral.getType());
141 private final Class<P> interfaceType; field in class:ThrowingProviderBinder.SecondaryBinder
151 public SecondaryBinder(Class<P> interfaceType, Type valueType) { argument
152 this.interfaceType = checkNotNull(interfaceType, "interfaceTyp
382 getExceptionType(Class<P> interfaceType) argument
[all...]
/external/mockito/src/test/java/org/mockito/internal/util/reflection/
H A DFieldInitializerTest.java32 private Interface interfaceType; field in class:FieldInitializerTest
110 new FieldInitializer(this, field("interfaceType"));
/external/guava/guava-testlib/test/com/google/common/testing/anotherpackage/
H A DForwardingWrapperTesterTest.java219 Class<T> interfaceType, Function<T, ? extends T> wrapperFunction,
222 tester.testForwarding(interfaceType, wrapperFunction);
218 assertFailure( Class<T> interfaceType, Function<T, ? extends T> wrapperFunction, String... expectedMessages) argument
/external/libpcap/
H A Dpcap-sita.c569 bpf_u_int32 interfaceType; local
609 interfaceType = ntohl(*(bpf_u_int32 *)ptr);
684 newname = translate_IOP_to_pcap_name(u, iff->name, interfaceType); /* add a translation entry and get a point to the mangled name */
/external/guice/lib/build/
H A Dguava-testlib-16.0.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
H A Dspring-beans.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/springframework/ org/springframework/beans/ org/springframework/beans/annotation/ ...
/external/mockito/lib/
H A Dbyte-buddy-1.6.9.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/net. ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.jdt.debug_3.6.1.v20100715_r361/
H A Djdimodel.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/v8/src/inspector/build/closure-compiler/
H A Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...
/external/guice/lib/
H A Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.jdt.apt.core_3.3.401.R36_v20100727-0110.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.apache.jasper_5.5.17.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/testng/ant/3rdparty/
H A Ddoclava-1.0.3.jarMETA-INF/MANIFEST.MF assets/html/index.html assets/templates/data.hdf assets/templates/assets/ ...
/external/dagger2/lib/
H A Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ...
/external/guice/extensions/struts2/lib/
H A Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse/jdt/core/ org/eclipse/jdt/core/compiler/ org/ ...

Completed in 724 milliseconds

12