Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for ImplClass (0.19 sec)

  1. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/ProblemReportAdapterFactory.java

                this.implClass = implClass;
                this.label = baseClass.getSimpleName();
                this.jsonElementAdapter = jsonElementAdapter;
                this.implClassAdapter = implClassAdapter;
                if (!baseClass.isAssignableFrom(implClass)) {
                    throw new JsonParseException(implClass + " is not a subclass of " + baseClass);
                }
            }
    
            @Override
            @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/LambdaImplementationSnapshot.java

            String functionalInterfaceClass,
            String implClass,
            String implMethodName,
            String implMethodSignature,
            int implMethodKind
        ) {
            super(capturingClass);
            this.classLoaderHash = classLoaderHash;
            this.functionalInterfaceClass = functionalInterfaceClass;
            this.implClass = implClass;
            this.implMethodName = implMethodName;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ManagedCollectionProxyClassGenerator.java

            generateConstructors(visitor, implClass, superclassType);
            visitor.visitEnd();
    
            return classGenerator.define();
        }
    
        private <T> void generateConstructors(ClassWriter visitor, Class<? extends T> implClass, Type superclassType) {
            for (Constructor<?> constructor : implClass.getConstructors()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/ServiceLocatorTest.groovy

            def serviceFile = stream('org.gradle.ImplClass')
    
            when:
            def result = serviceLocator.findFactory(String.class).create()
    
            then:
            result instanceof String
            1 * classLoader.getResources("META-INF/services/java.lang.String") >> Collections.enumeration([serviceFile])
            1 * classLoader.loadClass('org.gradle.ImplClass') >> String
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/plugins.kt

     * limitations under the License.
     */
    
    package org.gradle.kotlin.dsl.fixtures
    
    
    fun pluginDescriptorEntryFor(id: String, implClass: String) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 816 bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/plugins/DefaultPluginRegistry.java

                    }
    
                    final Class<?> implClass;
                    try {
                        implClass = classLoader.loadClass(implClassName);
                    } catch (ClassNotFoundException e) {
                        throw new InvalidPluginException(String.format(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:06 UTC 2021
    - 10.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/precompiled/PrecompiledScriptPluginAccessorsTest.kt

        private
        fun jarWithInvalidPlugin(id: String, implClass: String): File =
            pluginJarWith(
                pluginDescriptorEntryFor(id, implClass),
                "$implClass.class" to publicClass(InternalName(implClass))
            )
    
        private
        fun jarForPlugin(id: String, implClass: String): File =
            pluginJarWith(
                pluginDescriptorEntryFor(id, implClass),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 11:39:02 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/Jsr330ConstructorSelector.java

                try {
                    validateType(type);
                    ClassGenerator.GeneratedClass<?> implClass = classGenerator.generate(type);
                    ClassGenerator.GeneratedConstructor<?> generatedConstructor = InjectUtil.selectConstructor(implClass, type);
                    return CachedConstructor.of(generatedConstructor);
                } catch (RuntimeException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 07:52:37 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ImplementationSnapshotSerializer.java

                    HashCode classLoaderHash = hashCodeSerializer.read(decoder);
                    String functionalInterfaceClass = decoder.readString();
                    String implClass = decoder.readString();
                    String implMethodName = decoder.readString();
                    String implMethodSignature = decoder.readString();
                    int implMethodKind = decoder.readSmallInt();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:33:49 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/PluginSpecBuilderAccessorsClassPathTest.kt

            file.also {
                zipTo(
                    it,
                    pluginIdsToImplClasses.asSequence().map { (id, implClass) ->
                        pluginDescriptorEntryFor(id, implClass)
                    }
                )
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:27 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top