- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for walkTypeHierarchy (0.48 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/TypesTest.groovy
import javax.annotation.Nullable class TypesTest extends Specification { def "base object types are not visited"() { when: Types.walkTypeHierarchy(Object, Mock(Types.TypeVisitor)) then: 0 * _ when: Types.walkTypeHierarchy(GroovyObject, [Object, GroovyObject], Mock(Types.TypeVisitor)) then: 0 * _ } class Base { @Incubating Object doSomething() { null }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 06 15:03:49 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/Types.java
* * @param clazz the type of whose type hierarchy to visit. * @param visitor the visitor to call for each type in the hierarchy. */ public static <T> void walkTypeHierarchy(Class<T> clazz, TypeVisitor<? extends T> visitor) { walkTypeHierarchy(clazz, OBJECT_TYPE, visitor); } /** * Visits all types in a type hierarchy in breadth-first order, super-classes first and then implemented interfaces. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelSchemaUtils.java
import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.Map; import static org.gradle.internal.reflect.Methods.SIGNATURE_EQUIVALENCE; import static org.gradle.internal.reflect.Types.walkTypeHierarchy; public class ModelSchemaUtils { public static final List<Class<?>> IGNORED_OBJECT_TYPES = ImmutableList.of(Object.class, GroovyObject.class); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 06 15:03:49 UTC 2023 - 6.4K bytes - Viewed (0)