- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for resolveType (0.11 sec)
-
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals(Long.class, f.resolveType(Iterable.class.getTypeParameters()[0]).getType()); } public <E extends Comparable<Iterable<String>> & Iterable<Integer>> void testResolveType_fromTypeVariable_onlyDirectBoundsAreUsed() { TypeToken<?> e = TypeToken.of(new TypeCapture<E>() {}.capture());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/DummyProxy.java
for (int i = 0; i < args.length; i++) { Parameter param = params.get(i); if (!isNullable(param)) { checkNotNull(args[i]); } } return dummyReturnValue(interfaceType.resolveType(method.getGenericReturnType())); } @Override public int hashCode() { return identity().hashCode(); } @Override public boolean equals(@Nullable Object obj) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 08 17:31:55 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals(Long.class, f.resolveType(Iterable.class.getTypeParameters()[0]).getType()); } public <E extends Comparable<Iterable<String>> & Iterable<Integer>> void testResolveType_fromTypeVariable_onlyDirectBoundsAreUsed() { TypeToken<?> e = TypeToken.of(new TypeCapture<E>() {}.capture());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
return defaultType; } if (type.getRawType() == Converter.class) { TypeToken<?> convertFromType = type.resolveType(Converter.class.getTypeParameters()[0]); TypeToken<?> convertToType = type.resolveType(Converter.class.getTypeParameters()[1]); @SuppressWarnings("unchecked") // returns default for both F and T
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 22.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
return defaultType; } if (type.getRawType() == Converter.class) { TypeToken<?> convertFromType = type.resolveType(Converter.class.getTypeParameters()[0]); TypeToken<?> convertToType = type.resolveType(Converter.class.getTypeParameters()[1]); @SuppressWarnings("unchecked") // returns default for both F and T
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 23.2K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
* UnsupportedOperationException}; this should only apply to {@code getAnnotatedBounds()}. This * does mean that users on Java 8 who obtain an instance of {@code TypeVariable} from {@link * TypeResolver#resolveType} will not be able to call {@code getAnnotatedBounds()} on it, but that * should hopefully be rare. * * <p>TODO(b/147144588): We are currently also missing the methods inherited from {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 23K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
List<Object> args = Lists.newArrayListWithCapacity(params.size()); TypeVariable<?>[] typeVars = rawType.getTypeParameters(); for (int i = 0; i < params.size(); i++) { TypeToken<?> paramType = type.resolveType(typeVars[i]); // We require all @Generates methods to either be parameter-less or accept non-null // values for their generic parameter types. Object argValue = generate(paramType);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
List<Object> args = Lists.newArrayListWithCapacity(params.size()); TypeVariable<?>[] typeVars = rawType.getTypeParameters(); for (int i = 0; i < params.size(); i++) { TypeToken<?> paramType = type.resolveType(typeVars[i]); // We require all @Generates methods to either be parameter-less or accept non-null // values for their generic parameter types. Object argValue = generate(paramType);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy
} } def fullyQualifyAllTypeNames(gradlebuild.docs.dsl.source.model.ClassMetaData classMetaData, TypeNameResolver resolver) { try { classMetaData.resolveTypes(new Transformer<String, String>(){ String transform(String i) { return resolver.resolve(i, classMetaData) } })
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Jan 08 12:45:57 UTC 2024 - 4.4K bytes - Viewed (0)