- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getSuperType (0.13 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java
if (!wildcardType.getExtendedType().isPresent() && !wildcardType.getSuperType().isPresent()) { typeMetaData.setWildcard(); } else { wildcardType.getExtendedType().ifPresent(referenceType -> typeMetaData.setUpperBounds(extractTypeName(referenceType))); wildcardType.getSuperType().ifPresent(referenceType -> typeMetaData.setLowerBounds(extractTypeName(referenceType)));
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 11.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
public <T> Iterable<? super CharSequence> wildCardsDoNotMatchByLowerBound( List<? super String> list) { return notSubtype(list); } // Can't test getSupertype() or getSubtype() because JDK reflection doesn't consider // Foo<?> and Foo<? extends Bar> equal for class Foo<T extends Bar> @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 20.3K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
} if (Map.class.isAssignableFrom(rawType)) { return parseMap(parser, TypeArguments.get(toType.getSupertype(Map.class), 1)); } if (Collection.class.isAssignableFrom(rawType)) { return parseCollection(parser, TypeArguments.get(toType.getSupertype(Collection.class), 0)); } if (rawType.isArray()) { return parseArray(parser, TypeArguments.get(toType, 0));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 15.3K bytes - Viewed (0)