- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 91 for interfaceType (0.34 sec)
-
guava-testlib/src/com/google/common/testing/DummyProxy.java
private final TypeToken<?> interfaceType; DummyHandler(TypeToken<?> interfaceType) { this.interfaceType = interfaceType; } @Override protected @Nullable Object handleInvocation( Object proxy, Method method, @Nullable Object[] args) { Invokable<?, ?> invokable = interfaceType.method(method); ImmutableList<Parameter> params = invokable.getParameters();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 08 17:31:55 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
* is. */ public <T> void testForwarding( Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) { checkNotNull(wrapperFunction); checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType); Method[] methods = getMostConcreteMethods(interfaceType); AccessibleObject.setAccessible(methods, true); for (Method method : methods) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 08 17:31:55 UTC 2024 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
* is. */ public <T> void testForwarding( Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) { checkNotNull(wrapperFunction); checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType); Method[] methods = getMostConcreteMethods(interfaceType); AccessibleObject.setAccessible(methods, true); for (Method method : methods) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 08 17:31:55 UTC 2024 - 9.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/isolated/IsolationScheme.java
public class IsolationScheme<IMPLEMENTATION, PARAMS> { private final Class<IMPLEMENTATION> interfaceType; private final Class<PARAMS> paramsType; private final Class<? extends PARAMS> noParamsType; public IsolationScheme(Class<IMPLEMENTATION> interfaceType, Class<PARAMS> paramsType, Class<? extends PARAMS> noParamsType) { this.interfaceType = interfaceType; this.paramsType = paramsType; this.noParamsType = noParamsType;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:37 UTC 2024 - 12.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/DummyProxy.java
private final TypeToken<?> interfaceType; DummyHandler(TypeToken<?> interfaceType) { this.interfaceType = interfaceType; } @Override protected @Nullable Object handleInvocation( Object proxy, Method method, @Nullable Object[] args) { Invokable<?, ?> invokable = interfaceType.method(method); ImmutableList<Parameter> params = invokable.getParameters();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 08 17:31:55 UTC 2024 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
public <T> T newProxy( T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit) { checkNotNull(target); checkNotNull(interfaceType); checkNotNull(timeoutUnit); checkPositiveTimeout(timeoutDuration); checkArgument(interfaceType.isInterface(), "interfaceType must be an interface type"); Set<Method> interruptibleMethods = findInterruptibleMethods(interfaceType); InvocationHandler handler =
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 27 14:21:11 UTC 2023 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Reflection.java
checkNotNull(handler); checkArgument(interfaceType.isInterface(), "%s is not an interface", interfaceType); Object object = Proxy.newProxyInstance( interfaceType.getClassLoader(), new Class<?>[] {interfaceType}, handler); return interfaceType.cast(object); } private Reflection() {}
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Reflection.java
checkNotNull(handler); checkArgument(interfaceType.isInterface(), "%s is not an interface", interfaceType); Object object = Proxy.newProxyInstance( interfaceType.getClassLoader(), new Class<?>[] {interfaceType}, handler); return interfaceType.cast(object); } private Reflection() {}
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
public <T> T newProxy( T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit) { checkNotNull(target); checkNotNull(interfaceType); checkNotNull(timeoutUnit); checkPositiveTimeout(timeoutDuration); checkArgument(interfaceType.isInterface(), "interfaceType must be an interface type"); Set<Method> interruptibleMethods = findInterruptibleMethods(interfaceType); InvocationHandler handler =
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 27 14:21:11 UTC 2023 - 9.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
private final int identity = generateInt(); private final Class<?> interfaceType; FreshInvocationHandler(Class<?> interfaceType) { this.interfaceType = interfaceType; } @Override @CheckForNull protected Object handleInvocation(Object proxy, Method method, @Nullable Object[] args) { return interfaceMethodCalled(interfaceType, method); } @Override public int hashCode() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 28K bytes - Viewed (0)