Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for CONSTRUCTOR (0.43 sec)

  1. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanConstructors.kt

        private
        fun newConstructorForSerialization(beanType: Class<*>, constructor: Constructor<*>): Constructor<out Any> =
            ReflectionFactory.getReflectionFactory().newConstructorForSerialization(beanType, constructor)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/instance/ManagedProxyFactory.java

                Constructor<? extends T> constructor = generatedClass.getConstructor(GeneratedViewState.class, TypeConverter.class);
                return constructor.newInstance(state, null);
            } catch (InvocationTargetException e) {
                throw UncheckedException.throwAsUncheckedException(e.getTargetException());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ResolveException.java

        }
    
        /**
         * The actual constructor called by concrete resolve exception implementations. Should not be
         * called except from Gradle internal code.
         *
         * <p>This constructor accepts a dummy parameter since we cannot call the constructor without it,
         * as that emits a deprecation warning. In 9.0, we can change the above constructor to protected
         * and remove this constructor.</p>
         *
         * @since 8.9
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:56:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/Jsr330ConstructorSelector.java

        }
    
        public static class CachedConstructor {
            private final ClassGenerator.GeneratedConstructor<?> constructor;
            private final RuntimeException error;
    
            private CachedConstructor(ClassGenerator.GeneratedConstructor<?> constructor, RuntimeException error) {
                this.constructor = constructor;
                this.error = error;
            }
    
            public ClassGenerator.GeneratedConstructor<?> getConstructor() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 07:52:37 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheException.kt

    
    /**
     * State might be corrupted and should be discarded.
     */
    @Contextual
    class ConfigurationCacheError internal constructor(
        error: String,
        cause: Throwable? = null
    ) : ConfigurationCacheThrowable, Exception(error, cause)
    
    
    @Contextual
    sealed class ConfigurationCacheException protected constructor(
        message: () -> String,
        causes: Iterable<Throwable>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/InstantiatorFactory.java

         * The returned {@link Instantiator} is lenient when there is a missing {@link javax.inject.Inject} annotation or null constructor parameters,
         * for backwards compatibility.
         *
         * <p>Use for any model types for which no user provided constructor values or services need to be injected. This is a convenience for {@link #decorateLenientScheme()} and will also be retired.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/service-provider/src/main/java/org/gradle/internal/service/ServiceRegistration.java

         *
         * @param serviceType The service implementation to make visible.
         */
        void add(Class<?> serviceType);
    
        /**
         * Adds a service to this registry. The implementation class should have a single public constructor, and this constructor can take services to be injected as parameters.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/compilerPluginUsage.ir.txt

          $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.CodeFragment
          CONSTRUCTOR visibility:public <> () returnType:<root>.CodeFragment [primary]
            BLOCK_BODY
              DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
          FUN name:run visibility:public modality:FINAL <> () returnType:kotlin.Unit
            EXPRESSION_BODY
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Apr 16 19:18:28 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/providers/services/kotlin/build.gradle.kts

            myProperty.set("Hello, Gradle!")
            println(myProperty.get())
        }
    }
    // end::object-factory[]
    
    // tag::object-factory-inject[]
    abstract class MyObjectFactoryTask
    @Inject constructor(private var objectFactory: ObjectFactory) : DefaultTask() {
    
        @TaskAction
        fun doTaskAction() {
            val outputDirectory = objectFactory.directoryProperty()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/providers/propertyConventionCallsites/groovy/build.gradle

    abstract class GreetingTask extends DefaultTask {
        // tag::convention-callsites-from-constructor[]
        // setting convention from constructor
        @Input
        abstract Property<String> getGuest()
    
        GreetingTask() {
            guest.convention("person2")
        }
        // end::convention-callsites-from-constructor[]
    
        // tag::convention-callsites-from-declaration[]
        // setting convention from declaration
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 16:56:11 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top