Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newConstructorForSerialization (0.36 sec)

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

                // Run the `GroovyObjectSupport` constructor, to initialize the metadata field
                return newConstructorForSerialization(beanType, GroovyObjectSupport::class.java.getConstructor())
            } else {
                return newConstructorForSerialization(beanType, Object::class.java.getConstructor())
            }
        }
    
        private
        fun maybeInit(beanType: Class<*>) {
    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/internal/instantiation/generator/AsmBackedClassGenerator.java

        protected InstantiationStrategy createForSerialization(Class<?> generatedType, Class<?> baseClass) {
            Constructor<?> constructor;
            try {
                constructor = getReflectionFactory().newConstructorForSerialization(generatedType, baseClass.getDeclaredConstructor());
            } catch (NoSuchMethodException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
Back to top