- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for interfaceTypes (0.07 sec)
-
src/main/java/org/codelibs/core/lang/GenericsUtil.java
} final Class<?>[] interfaces = clazz.getInterfaces(); final Type[] interfaceTypes = clazz.getGenericInterfaces(); for (int i = 0; i < interfaces.length; ++i) { gatherTypeVariables(interfaces[i], interfaceTypes[i], map); } return map; } /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 23.4K 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: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K 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: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:10:29 UTC 2025 - 4.5K 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: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K 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 protected @Nullable Object handleInvocation( Object proxy, Method method, @Nullable Object[] args) { return interfaceMethodCalled(interfaceType, method); } @Override public int hashCode() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.1K bytes - Viewed (0) -
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 protected @Nullable Object handleInvocation( Object proxy, Method method, @Nullable Object[] args) { return interfaceMethodCalled(interfaceType, method); } @Override public int hashCode() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
interfaces.remove(AutoCloseable.class); @SuppressWarnings("unchecked") // super interface type of T Class<? super T> interfaceType = (Class<? super T>) Iterables.getOnlyElement(interfaces); new ForwardingWrapperTester() .testForwarding( interfaceType, new Function<Object, T>() { @Override public T apply(Object delegate) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java
public FakeTimeLimiter() {} @CanIgnoreReturnValue // TODO(kak): consider removing this @Override public <T> T newProxy( T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit) { checkNotNull(target); checkNotNull(interfaceType); checkNotNull(timeoutUnit); return target; // ha ha } @CanIgnoreReturnValue // TODO(kak): consider removing this @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
.testAllPublicInstanceMethods(new ForwardingWrapperTester()); } private <T> void assertFailure( Class<T> interfaceType, Function<T, ? extends T> wrapperFunction, String... expectedMessages) { try { tester.testForwarding(interfaceType, wrapperFunction); } catch (AssertionFailedError expected) { for (String message : expectedMessages) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java
public FakeTimeLimiter() {} @CanIgnoreReturnValue // TODO(kak): consider removing this @Override public <T> T newProxy( T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit) { checkNotNull(target); checkNotNull(interfaceType); checkNotNull(timeoutUnit); return target; // ha ha } @CanIgnoreReturnValue // TODO(kak): consider removing this @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.6K bytes - Viewed (0)