- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 104 for rawType (0.05 sec)
-
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
final Class<?> rawType = toType.getRawType(); if (XmlNode.class.isAssignableFrom(rawType)) { return XmlNodeBuilder.build(parser); } if (Xpp3Dom.class.isAssignableFrom(rawType)) { return new Xpp3Dom(XmlNodeBuilder.build(parser)); } if (Properties.class.isAssignableFrom(rawType)) { return parseProperties(parser); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 15.3K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
private final Class<?> rawType; ParameterizedTypeImpl(@CheckForNull Type ownerType, Class<?> rawType, Type[] typeArguments) { checkNotNull(rawType); checkArgument(typeArguments.length == rawType.getTypeParameters().length); disallowPrimitiveType(typeArguments, "type parameter"); this.ownerType = ownerType; this.rawType = rawType;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 23K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
} return invokeGeneratorMethod(generate, args.toArray()); } return defaultGenerate(rawType); } private <T> @Nullable T defaultGenerate(Class<T> rawType) { if (rawType.isInterface()) { // always create a new proxy return newProxy(rawType); } return ArbitraryInstances.get(rawType); } private <T> T newProxy(final Class<T> interfaceType) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
} return invokeGeneratorMethod(generate, args.toArray()); } return defaultGenerate(rawType); } private <T> @Nullable T defaultGenerate(Class<T> rawType) { if (rawType.isInterface()) { // always create a new proxy return newProxy(rawType); } return ArbitraryInstances.get(rawType); } private <T> T newProxy(final Class<T> interfaceType) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapBuilderTest.java
assertTrue(multimap.asMap() instanceof SortedMap); } // J2kt cannot translate the Comparable rawtype in a usable way (it becomes Comparable<Object> // but types are typically only Comparable to themselves). @SuppressWarnings({"rawtypes", "unchecked"}) private static MultimapBuilderWithKeys<Comparable<?>> rawtypeToWildcard( MultimapBuilderWithKeys<Comparable> treeKeys) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 5.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java
@Override public <Q> Supplier<Q> getCompiledBinding(Dependency<Q> dep) { Key<Q> key = dep.key(); Class<Q> rawType = key.getRawType(); if (rawType == List.class) { return getListSupplier(key); } else if (rawType == Map.class) { return getMapSupplier(key); } else { return getBeanSupplier(dep, key); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
} return args; } @CheckForNull private <T> T getDummyValue(TypeToken<T> type) { Class<? super T> rawType = type.getRawType(); @SuppressWarnings("unchecked") // Assume all default values are generics safe. T defaultValue = (T) defaultValues.getInstance(rawType); if (defaultValue != null) { return defaultValue; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:18:12 UTC 2024 - 32.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
assertEquals("Started with " + startedWith, expected, actual); } } // J2kt cannot translate the Comparable rawtype in a usable way (it becomes Comparable<Object> // but types are typically only Comparable to themselves). @SuppressWarnings({"rawtypes", "unchecked"}) private static MinMaxPriorityQueue.Builder<Comparable<?>> rawtypeToWildcard( MinMaxPriorityQueue.Builder<Comparable> builder) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
assertEquals("Started with " + startedWith, expected, actual); } } // J2kt cannot translate the Comparable rawtype in a usable way (it becomes Comparable<Object> // but types are typically only Comparable to themselves). @SuppressWarnings({"rawtypes", "unchecked"}) private static MinMaxPriorityQueue.Builder<Comparable<?>> rawtypeToWildcard( MinMaxPriorityQueue.Builder<Comparable> builder) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertThat(types).contains(TypeToken.of(Object.class)); assertThat(types.rawTypes()).contains(Object.class); assertThat(types.interfaces()).isEmpty(); assertThat(types.interfaces().rawTypes()).isEmpty(); assertThat(types.classes()).contains(TypeToken.of(Object.class)); assertThat(types.classes().rawTypes()).contains(Object.class); } public void testGetTypes_fromInterface() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0)