- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 165 for rawType (0.34 sec)
-
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) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28.6K bytes - Viewed (0) -
android/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;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K 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) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
final Field field = getClass().getField("intField"); FieldUtil.set(field, this, "abc"); } /** * @throws Exception */ @Test public void testGetElementType_Rawtype() throws Exception { assertThat(FieldUtil.getElementTypeOfCollection(Baz.class.getField("collectionOfRawtype")), is(nullValue())); } /** * @throws Exception */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.1K 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; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 33K bytes - Viewed (0) -
android/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) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 27 09:26:07 GMT 2024 - 5.2K 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) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 27 09:26:07 GMT 2024 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
ParameterizedType type) { Class<?> rawType = (Class<?>) type.getRawType(); TypeVariable<?>[] typeVars = rawType.getTypeParameters(); Type[] typeArgs = type.getActualTypeArguments(); for (int i = 0; i < typeArgs.length; i++) { typeArgs[i] = canonicalizeTypeArg(typeVars[i], typeArgs[i]); } return Types.newParameterizedTypeWithOwner(type.getOwnerType(), rawType, typeArgs); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 53.6K bytes - Viewed (0) -
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; }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 33K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
* This is usually {@link #PATCH_MODULE}. * * @return type of path without indication about the target module */ @Nonnull public JavaPathType rawType() { return JavaPathType.this; } /** * Returns the name of the tool option for this path, not including the module name. *
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 11.6K bytes - Viewed (0)