- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for getSupertype (0.1 sec)
-
guava-tests/test/com/google/common/reflect/SubtypeTester.java
return method.getGenericParameterTypes()[0]; } @SuppressWarnings({"rawtypes", "unchecked"}) private static Type getSupertype(Type type, Class<?> superclass) { Class rawType = superclass; return TypeToken.of(type).getSupertype(rawType).getType(); } private static Type getSubtype(Type type, Class<?> subclass) { return TypeToken.of(type).getSubtype(subclass).getType(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
return method.getGenericParameterTypes()[0]; } @SuppressWarnings({"rawtypes", "unchecked"}) private static Type getSupertype(Type type, Class<?> superclass) { Class rawType = superclass; return TypeToken.of(type).getSupertype(rawType).getType(); } private static Type getSubtype(Type type, Class<?> subclass) { return TypeToken.of(type).getSubtype(subclass).getType(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 6.1K bytes - Viewed (0) -
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) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
TypeToken.of(StringListIterable[].class).getSupertype(Iterable[].class)); assertEquals(int[].class, TypeToken.of(int[].class).getSupertype(int[].class).getType()); assertEquals(Object.class, TypeToken.of(int[].class).getSupertype(Object.class).getType()); assertEquals(int[][].class, TypeToken.of(int[][].class).getSupertype(int[][].class).getType()); assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
TypeToken.of(StringListIterable[].class).getSupertype(Iterable[].class)); assertEquals(int[].class, TypeToken.of(int[].class).getSupertype(int[].class).getType()); assertEquals(Object.class, TypeToken.of(int[].class).getSupertype(Object.class).getType()); assertEquals(int[][].class, TypeToken.of(int[][].class).getSupertype(int[][].class).getType()); assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K 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) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy
Collection<ClassExtensionDoc> getClassExtensions() { return classExtensions } void addClassExtension(ClassExtensionDoc extensionDoc) { classExtensions.add(extensionDoc) } List<ClassDoc> getSuperTypes() { return superClass == null ? interfaces : [superClass] + interfaces } Element getClassSection() { return classSection } Element getPropertiesTable() { return propertiesTable }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java
classDoc.addClassMethod(methodDoc); signatures.add(method.getOverrideSignature()); } } } for (ClassDoc supertype : classDoc.getSuperTypes()) { for (MethodDoc method: supertype.getClassMethods()){ if (signatures.add(method.getMetaData().getOverrideSignature())) { classDoc.addClassMethod(method); }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java
} //adding the properties from the super class onto the inheriting class Map<String, PropertyDoc> props = new TreeMap<String, PropertyDoc>(); List<ClassDoc> superTypes = classDoc.getSuperTypes(); for (ClassDoc superType : superTypes) { LOG.info("Getting properties for {}", superType.getName()); for (PropertyDoc propertyDoc : superType.getClassProperties()) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6.2K bytes - Viewed (0)