Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 241 for interfaces (1.37 sec)

  1. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/DefaultProjectSchemaProvider.kt

        yieldAll(classes)
    
        // Then all supported interfaces sorted by subtyping (subtypes before supertypes)
        val interfaces = mutableListOf<Class<*>>()
        classes.forEach { `class` ->
            `class`.interfaces.forEach { `interface` ->
                when (val indexOfSupertype = interfaces.indexOfFirst { it.isAssignableFrom(`interface`) }) {
                    -1 -> interfaces.add(`interface`)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/MinimalFileCollection.java

    package org.gradle.api.internal.file.collections;
    
    /**
     * A minimal file collection. An implementation can optionally also implement the following interfaces:
     *
     * <ul>
     * <li>{@link org.gradle.api.Buildable}</li>
     * <li>{@link RandomAccessFileCollection}</li>
     * </ul>
     */
    public interface MinimalFileCollection {
        String getDisplayName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 963 bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-provider-plugins/src/test/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/AccessorTypePrecedenceTest.kt

        }
    
        abstract class ChooseA : Base(), ExtensionAware, A
    
        abstract class ChooseB : Base(), ExtensionAware
    
        abstract class Base : Core(), B
    
        open class Core
    
        interface A : ExtensionAware
    
        interface B : ExtensionAware
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/MinimalFileTree.java

    import java.io.File;
    
    /**
     * A minimal file tree implementation. An implementation can optionally also implement the following interfaces:
     *
     * <ul>
     *  <li>{@link FileSystemMirroringFileTree}</li>
     *  <li>{@link LocalFileTree}</li>
     *  <li>{@link PatternFilterableFileTree}</li>
     * </ul>
     */
    public interface MinimalFileTree extends MinimalFileCollection {
        /**
         * Visits the elements of this tree, in depth-first prefix order.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/codecs/ServicesCodec.kt

        }
    
        private
        fun serviceType(type: Class<*>): Class<*>? {
            if (type.getAnnotation(ServiceScope::class.java) != null) {
                return type
            }
            for (superInterface in type.interfaces) {
                val serviceType = serviceType(superInterface)
                if (serviceType != null) {
                    return serviceType
                }
            }
            if (type.superclass != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/package-info.java

     *  Deserialization, on the other hand, is performed by a {@link org.gradle.internal.serialize.graph.DecodingProvider}.
     *  </p>
     *  <p>Both protocols are highly specialized and, as such, they are specified as Single Abstract Method interfaces.</p>
     *
     *  <h3>Codecs</h3>
     *  <p>A {@link org.gradle.internal.serialize.graph.Codec Codec} is an object that is both an <code>EncodingProvider</code> and a <code>DecodingProvider</code>.</p>
     *  <p>Codecs may be implemented:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

        if (!path.endsWith(".class")) {
            throw IllegalArgumentException("Not a class file: $path")
        }
        inputStream().use {
            val reader = ClassReader(it)
            return setOf(reader.superName) + reader.interfaces
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/DependencyCollectorFunctionExtractorAndRuntimeResolver.kt

         */
        private
        fun typeHierarchyViaJavaReflection(kClass: KClass<*>): Iterable<KClass<*>> =
            Traverser.forGraph<Class<*>> { listOfNotNull(it.superclass) + it.interfaces }
                .breadthFirst(kClass.java).map { it.kotlin }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

                parse(f, repository)
                counter++
            }
    
            //updating/modifying the metadata and making sure every type reference across the metadata is fully qualified
            //so, the superClassName, interfaces and types needed by declared properties and declared methods will have fully qualified name
            TypeNameResolver resolver = new TypeNameResolver(repository)
            repository.each { name, metaData ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

            if (methodNode.access.isSynthetic) return false
    
            if (!hasSuperType) return true
    
            fun ArrayDeque<String>.addSuperTypesOf(classNode: ClassNode) {
                classNode.interfaces.forEach { push(it) }
                if (classNode.superName != null) push(classNode.superName)
            }
    
            val superTypeStack = ArrayDeque<String>().apply {
                addSuperTypesOf(delegate)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 19:56:10 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top