Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 260 for interfaces (0.96 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/model-core/src/main/java/org/gradle/api/internal/model/NamedObjectInstantiator.java

            Type publicType = getType(publicClass);
            Type superClass;
            String[] interfaces;
            if (publicClass.isInterface()) {
                superClass = OBJECT;
                interfaces = new String[]{publicType.getInternalName(), MANAGED.getInternalName()};
            } else {
                superClass = publicType;
                interfaces = INTERFACES_FOR_ABSTRACT_CLASS;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

                <p>
                We check the binary compatibility by comparing the current code’s binary interfaces
                against THE LATEST VERSION WHICH IS RELEASED FROM RELEASE BRANCH (from `released-version.json` on this branch)
                AND LOWER THAN CURRENT BASE VERSION (from `version.txt` on this branch).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. 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)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStoreTest.groovy

            ]
        }
    
        @SuppressWarnings("unused")
        interface FirstInterfaceWithInheritedProperty {
            @Color(declaredBy = "first-interface")
            String getOverriddenProperty()
        }
    
        @SuppressWarnings("unused")
        interface SecondInterfaceWithInheritedProperty {
            @Color(declaredBy = "second-interface")
            String getOverriddenProperty()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Feb 11 15:31:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  9. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/suppressions.xml

                  files=".*[/\\]platforms[/\\]ide[/\\]ide-plugins[/\\]src[/\\]main[/\\]java[/\\]org[/\\]gradle[/\\]plugins[/\\]ide[/\\]eclipse[/\\][^/\\]+"/>
    
        <!-- Protocol types may only define constants in interfaces -->
        <suppress checks="InterfaceIsTypeCheck"
                  files=".*[/\\]tooling-api[/\\]src[/\\]main[/\\]java[/\\]org[/\\]gradle[/\\]tooling[/\\]internal[/\\]protocol.+"/>
        <suppress checks="InterfaceIsTypeCheck"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. LICENSE

          represent, as a whole, an original work of authorship. For the purposes
          of this License, Derivative Works shall not include works that remain
          separable from, or merely link (or bind by name) to the interfaces of,
          the Work and Derivative Works thereof.
    
          "Contribution" shall mean any work of authorship, including
          the original version of the Work and any modifications or additions
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 11:07:23 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top